Re: Use external debug symbols

Fabio Dell'Aria
2008-01-16T11:32:47Z

2008/1/16, Markus Deuling <deuling@de.ibm.com>:
> Fabio Dell'Aria schrieb:
> > Hi to all,
> >
> > exists a method to setup GDB to use an external file as debug symbols ?
> >
> > Example:
> > on WinXP I need GDB debug the Program.exe file using, as debug
> > symbols, the Program.dbg file.
> >
> > Is this possible?
> >
> > NOTE: the debug data format is "stabs".
> >
>
> Hi Fabio,
>
> I think the following two ways should work:
>
> 1. as command line
> gdb Program.exe -s Program.dbg
>
> or
>
> 2. from within a running GDB. Invoke
>
> (gdb) symbol /path/to/Program.dbg
>
> --
> Markus Deuling

Thank you very much Markus.

I'll try it and come back to you with my results! ;)

Bye.

--
Best regards...

Fabio Dell'Aria.