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

"Nan Xiao" <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.