zainka
Full Member level 2
Hi
I want to use DDD (data display debugger) together with jLink debugger from segger. DDD will act as a front end for gnu-dbg and others but I see no direct support for seggers variant.
The problem is that DDD seems to use a set of predefined command line options which will be sent as parameters when the debugger is invoked. These are not recognized by jLink and thus there will be no connection.
I start a session from commandline by this command:
ddd then starts and is finds the elf file and tries to invoke the gdb server. the debugger finds the device and determine it to be cortex-M4, which is correct and then waits for GDB connection.
And then nothging happens.
the jlink is invoked by passing arguments -q and -fullname but these arguments are not supported by the jLinkGDBServer or is named different.
Question is how may one change DDD setup to pass the correct arguments to the debugger, if possible., so that the segger jlink gdb debugger could be used to debug.
I am running ddd 3.3.12 which is latest but still pretty old (2009). I do not know if it is maintained still but it would be fun to have it up and running.
I am using Linux slitaz 3.2.71-slitaz #4 running on a t5545 thin client
Please also advice me about other tools that could replace DDD and which supports jLink debuggers.
I want to use DDD (data display debugger) together with jLink debugger from segger. DDD will act as a front end for gnu-dbg and others but I see no direct support for seggers variant.
The problem is that DDD seems to use a set of predefined command line options which will be sent as parameters when the debugger is invoked. These are not recognized by jLink and thus there will be no connection.
I start a session from commandline by this command:
Code:
ddd -debugger JLinkGDBServer debug.elf
ddd then starts and is finds the elf file and tries to invoke the gdb server. the debugger finds the device and determine it to be cortex-M4, which is correct and then waits for GDB connection.
And then nothging happens.
the jlink is invoked by passing arguments -q and -fullname but these arguments are not supported by the jLinkGDBServer or is named different.
Question is how may one change DDD setup to pass the correct arguments to the debugger, if possible., so that the segger jlink gdb debugger could be used to debug.
I am running ddd 3.3.12 which is latest but still pretty old (2009). I do not know if it is maintained still but it would be fun to have it up and running.
I am using Linux slitaz 3.2.71-slitaz #4 running on a t5545 thin client
Please also advice me about other tools that could replace DDD and which supports jLink debuggers.