[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] how to launch a specific gdb
|
For DSF-GDB, you have to use
IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME which
is org.eclipse.cdt.dsf.gdb.DEBUG_NAME
IGDBLaunchConfigurationConstants.ATTR_GDB_INIT which is
org.eclipse.cdt.dsf.gdb.GDB_INIT
My apologies for this confusion but it dates back to
when DSF-GDB was not part of CDT.
You can write a but about aligning the CDI and DSF
launch constants so we can eventually fix
this.
Marc
Hello,
I added some functionality to the gdb (version 7.0) and
i would like to use it when i launch the debugger. The problem is that it
doesn't work.
I created a launch configuration and set the DEBUG_NAME and
GDB_INIT attributes:
org.eclipse.cdt.debug.mi.core.DEBUG_NAME =
/home/shai/Desktop/gdb/gdb
org.eclipse.cdt.debug.mi.core.GDB_INIT
= /home/shai/Desktop/gdb/
gdbinit.in now i launch
it:
DebugUITools.launch(configuration, mode);
but it launches the
wrong gdb (i know because it is gdb version 7.2).
could anyone tell what I
missed??
note: my debug configuration has no preferred delegate, but i
think it not necessary to run my extended
gdb.
Thanks,
Shai