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


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.


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