thanks for answering so quickly. i set these attributes and it seem to launch the version i wanted, but about the rest of the org.eclipse.cdt.debug.mi.core attribues like:
org.eclipse.cdt.debug.mi.core.AUTO_SOLIB = true
org.eclipse.cdt.debug.mi.core.AUTO_SOLIB_LIST = []
org.eclipse.cdt.debug.mi.core.SOLIB_PATH = []
org.eclipse.cdt.debug.mi.core.STOP_ON_SOLIB_EVENTS = false
org.eclipse.cdt.debug.mi.core.breakpointsFullPath = false
org.eclipse.cdt.debug.mi.core.commandFactory = org.eclipse.cdt.debug.mi.core.standardLinuxCommandFactory
org.eclipse.cdt.debug.mi.core.protocol = mi
org.eclipse.cdt.debug.mi.core.verboseMode = false
and what should i set the following DEBUG_NAME and GDB_INIT if they are not used?
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 Thanks,
Shai
On Thu, Sep 22, 2011 at 4:16 PM, Marc Khouzam
<marc.khouzam@xxxxxxxxxxxx> wrote:
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
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev