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:46:25
The error I get is "No source file named <<fullpath>/<mydriver.c>
Thanks for the help
On 4/17/07, Srinivasa R Kanduru <skanduru@gmail.com> wrote:
> 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
>
--
Regards,
Srinivasa Kanduru