Date: Tue, 03 Feb 2009 13:35:45 -0800 From: Julian Elischer <julian@elischer.org> To: shilp.kamal@yahoo.com Cc: Hackers freeBSD <freebsd-hackers@freebsd.org> Subject: Re: pmap.h: No such file or directory---- Debugging error Message-ID: <4988B8B1.6040007@elischer.org> In-Reply-To: <12567.73601.qm@web45406.mail.sp1.yahoo.com> References: <12567.73601.qm@web45406.mail.sp1.yahoo.com>
index | next in thread | previous in thread | raw e-mail
Kamlesh Patel wrote:
> Hi All,
>
> I have two system one is Debug and another is Target machine. I am debugging using kgdb from Debug machine.
>
> Line no: 272 into the function vm_page_startup( vaddr ) of vm_page.c - Freebsd 7.0,
> mapped=pmap() is there. when i press "S" (step by step debug) then
>
> (kgdb)s
> pmap_map( , , , ,) at /usr/src/sys/i386/i386/pmap.c:1089
> 1089 va=sva=*virt
> (kgdb)s
> 1090 while(start < end){
> (kgdb)s
> 310 pmap.h: No such file or directory
>
>
>
> Same thing happens with pmap_invalidate_range()
> pcpu.h: No such file or directory
>
> Could anyone help me?
have you tried:
(gdb) help directory
Add directory DIR to beginning of search path for source files.
Forget cached info on source file locations and line positions.
DIR can also be $cwd for the current working directory, or $cdir for the
directory in which the source file was compiled into object code.
With no argument, reset the search path to $cdir:$cwd, the default.
>
> Thanks
> Kamlesh
> MS CS CSUS
>
>
>
>
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4988B8B1.6040007>
