Subject: Re: help to get gdb working ..
To: Martin Husemann <martin@duskware.de>
From: Srinivasa R Kanduru <skanduru@gmail.com>
List: tech-toolchain
Date: 04/17/2007 03:44:03
Thanks Martin ..
the strings output gives the full path of <mydriver.c>, but in gdb if
I do "b <fullpath>/<mydriver.c>, still it doesn't put the breakpoint
nor it shows the local variables
Regards,
On 4/17/07, Martin Husemann <martin@duskware.de> wrote:
> On Tue, Apr 17, 2007 at 12:31:16AM -0700, Srinivasa R Kanduru wrote:
> > I used the "directory" option to set the sources
>
> I would check the relative path recorded by the linker for the debug
> info - something like
>
> strings netbsd.gdb | fgrep mydriver.c
>
> and check the relative path. Normally there is nothing special you should
> need to do (i.e. no "directory" or anything).
>
> Martin
>
--
Regards,
Srinivasa Kanduru