This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Use external debug symbols


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]