Re: How to specify a new but non-default path of gdb in gcc?



Hi Paul,

Many thanks for clarifying!

Best Regards,
LaBird (Benny).
[Email: Remove all numerals to get the correct address.]


"Paul Pluzhnikov" <ppluzhnikov-nsp@xxxxxxxxxxx> wrote:
You are confused: the way your program is compiled, and which
debugger you use to debug it, are completely independent [1].

The "debug info of the new gdb" (or any gdb) is certainly *not*
added to your executable.

You do not need to recompile your program to debug it with your
new debugger. Just do

~/gdb/gdb /path/to/executable

Cheers,

[1] Except older debugger may not understand debug format of the
newer gcc version.
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


.



Relevant Pages

  • Re: How to connect to children process
    ... Main problem is amount of manual operations required per debug cycle. ... connection to DLL with debugger takes sensible amount of time and manual ... Is the main problem that the debugger keeps symbols file loaded ... AFAIK that's how VS2003 debugger works, but WinDbg should usually ...
    (microsoft.public.vsnet.debugging)
  • Re: Need Help Debugging
    ... you should use straight and plain ADPlus.VBS from the debugger package. ... debug info loaded, etc... ... does that avoid using the stack ?!? ... which is our custom CRITICAL_SECTION class. ...
    (microsoft.public.win32.programmer.kernel)
  • gnome-settings-daemon crashed twice
    ... To debug your program, run it with the --sync command line ... backtrace from your debugger if you break on the gdk_x_errorfunction.) ...
    (GNOME)
  • Re: DesignBAIS/Dave Bryant
    ... As Tony says you can also "debug" your code in the DB app (browser ... form of tcl access and are able to enter the native debugger anyway. ... i could enter the debugger on their public internet site they would ... Not all Visage applications are deployed to Public internet sites. ...
    (comp.databases.pick)
  • Re: SUnit disappointment
    ... I always press the 'Debug' button in the SUnitBrowser when I'm ... For example when examining a failure in the debugger rather ... I'll often be able to fix the failure in my second ... > Equals verify: object printString with: 'test' ...
    (comp.lang.smalltalk.dolphin)