You are not logged in.

#1 2006-02-14 21:13:26

tom8658
Member
Registered: 2006-01-27
Posts: 18

Eclipse-cdt debugger not working properly

I have the latest versions of eclipse, eclipse-cdt, and gdb via pacman, and when I go to debug a simple program in Eclipse, I get the following errors:

Stopped due to shared library event
Stopped due to shared library event
Single stepping until exit from function __libc_start_main, 
which has no line number information.
mi_cmd_stack_list_frames: No stack.

The debugging functions properly (for the most part, I noticed that I can't step into the standard C++ headers, though), but after the debug ends it displays the above error. Any idea what's wrong? The relevant part of the gdb trace is:

[1,139,908,307,875] 5-gdb-show prompt
[1,139,908,307,876] (gdb)
[1,139,908,307,877] 5^done,value="(gdb) "
[1,139,908,307,883] 6-stack-list-frames
[1,139,908,307,883] (gdb)
[1,139,908,307,884] &"mi_cmd_stack_list_frames: No stack.n"
[1,139,908,307,886] 6^error,msg="mi_cmd_stack_list_frames: No stack."
[1,139,908,308,072] 7-gdb-set auto-solib-add on
[1,139,908,308,073] (gdb)
[1,139,908,308,074] 7^done

...

[1,139,908,328,397] ~"Single stepping until exit from function __libc_start_main, nwhich has no lin
e number information.n"
[1,139,908,328,437] 112*stopped,reason="exited-normally"
[1,139,908,328,582] 113-gdb-exit
[1,139,908,328,608] (gdb)

Offline

Board footer

Powered by FluxBB