This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: finding source location
Thanks. That works :)
On Sun, Mar 30, 2008 at 5:36 PM, Daniel Jacobowitz <drow@false.org> wrote:
>
> On Sun, Mar 30, 2008 at 05:26:04PM -0400, M K wrote:
> > Hello,
> >
> > When I am debugging a binary which was compiled with debug info, I can
> > set a breakpoint and jump to the source location by using the TUI mode
> > (hitting Cx-Ca). But how do I find out the location of the .C file? I
> > did read the manual and it mentions the show directories command but
> > that is not useful here.
>
> Try info source.
>
> --
> Daniel Jacobowitz
> CodeSourcery
>