Use external debug symbols

Markus Deuling deuling@de.ibm.com
Wed Jan 16 11:15:00 GMT 2008


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



More information about the Gdb mailing list