Hello,
Chris Liechti wrote:
Raúl Sánchez Siles schrieb:
With the help of a guy at #gdb I noticed that
msp430 simulator was not enabled in the gdb/configure.tgt file. I've
refreshed [2] so that it should work now.
yep, simulator is selectable again. thanks.
there are two other problems.
1)
and the call stack isn't showing a stack. it shows the correct function
and depth, but repeats the same name on every level instead of keeping
the correct name of the calling function.
Same here.
2)
running an app, it sometimes ask:
"make a breakpoint on future shared library load?"
--> Yes --> Segmentation fault
--> No --> debugging works
Also same here. Looks like a wrapper problem from insight.
(gdb) bt full
#0 0x08169ccb in gdb_get_breakpoint_info (clientData=0x8169c00,
interp=0x846fde8, objc=2, objv=0x8471aa8)
at ../../insight-6.8/gdb/gdbtk/generic/gdbtk-bp.c:314
sal = {symtab = 0x1, section = 0xb4, line = 32, pc = 3084419376, end =
138870248, explicit_pc = -1082060744,
explicit_line = -1082060808}
bpnum = 1
b = (struct breakpoint *) 0x895b168
funcname = <value optimized out>
filename = <value optimized out>
new_obj = <value optimized out>
#1 0x08089196 in wrapped_call (opaque_args=0xbf811064) at
../../insight-6.8/gdb/gdbtk/generic/gdbtk-cmds.c:423
No locals.
#2 0x080e716b in catch_errors (func=0x8089170 <wrapped_call>, func_args=0xbf811064,
errstring=0x833cce6 "", mask=6)
at ../../insight-6.8/gdb/exceptions.c:513
val = 0
exception = {reason = 0, error = GDB_NO_ERROR, message = 0x0}
#3 0x080893be in gdbtk_call_wrapper (clientData=0x8169c00, interp=0x846fde8,
objc=2, objv=0x8471aa8)
at ../../insight-6.8/gdb/gdbtk/generic/gdbtk-cmds.c:354
wrapped_args = {interp = 0x846fde8, func = 0x8169c00
<gdb_get_breakpoint_info>, objc = 2, objv = 0x8471aa8,
val = 0}
new_result = {obj_ptr = 0x8960778, flags = 1}
old_result_ptr = (gdbtk_result *) 0xbf8142b8
wrapped_returned_error = <value optimized out>
#4 0x082bd651 in TclEvalObjvInternal (interp=0x846fde8, objc=2,
objv=0x8471aa8, command=0x0, length=0, flags=0)
at ../../../insight-6.8/tcl/unix/../generic/tclBasic.c:3048
cmdEpoch = <value optimized out>
newObjv = <value optimized out>
savedVarFramePtr = (CallFrame *) 0xbf811408
code = 0
traceCode = 0
checkTraces = 1
...
Regards,
Mathias