Fwd: R emove '-nx' option from gdb command in KDevelop?

Sandy Meier smeier at kdevelop.de
Sun Mar 5 15:45:42 GMT 2000










sorry this mail was bounced by majordomo, because the subject contained
the word "remove"

----------  forwarded message  ----------
From: Richard Dale <Richard_Dale at tipitina.demon.co.uk>

I've changed gdbcontroller.cpp in my copy of KDevelop, and removed the '-nx'
option from the gdb command, so KDevelop can pick up '.gdbinit' files,
either in the same directory as the executable or in $HOME.

-  *dbgProcess_<<config_gdbPath_+QString("gdb")<<"-fullname"<<"-nx"<<"-quiet";
+  *dbgProcess_<<config_gdbPath_+QString("gdb")<<"-fullname"<<"-quiet";

Then I've set up a '.gdbinit' file in my home directory containing gdb
commands like these:

set environment LD_LIBRARY_PATH
/home/duke/src/gnustep/core/Libraries/powerpc/linux-gnu/gnu-gnu-gnu-xgps 

set environment GNUSTEP_ROOT /home/duke/src/gnustep/core set environment
GNUSTEP_PATHPREFIX_LIST /home/duke/src/gnustep/core/Local 
...

-- Richard




More information about the KDevelop mailing list