Re: Use external debug symbols

Markus Deuling
2008-01-16T11:15:22Z

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
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com