Use gdb to debug gdb on Solaris 10(X86) failed
Nan Xiao
xiaonan19830818@qq.com
Tue Dec 16 06:21:00 GMT 2014
Hi all,
I am trying to use gdb to debug gdb on Solaris 10(X86). when the debugee gdb ran to bindtextdomain, the error occured:
(gdb) b main.c:470
Breakpoint 1 at 0x8202d28: file ../../gdb-7.8.1/gdb/main.c, line 470.
(gdb) r
Starting program: /data/local/bin/gdb
[Thread debugging using libthread_db enabled]
[New Thread 1 (LWP 1)]
[Switching to Thread 1 (LWP 1)]
Breakpoint 1, captured_main (data=0x8047704) at ../../gdb-7.8.1/gdb/main.c:470
470 bindtextdomain (PACKAGE, LOCALEDIR);
(gdb) n
[New LWP 2 ]
[LWP 2 exited]
[New Thread 2 ]
thread_to_lwp: td_ta_map_id2thr Debugger service failed
After checking the bindtextdomain code, it seems just "while (0)" and does nothing. Could anyone give some clues about this issue? Thanks very much in advance!
Best Regards
Nan Xiao
More information about the Gdb
mailing list