This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Use gdb to debug gdb on Solaris 10(X86) failed


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]