lynx-low: Add debug trace when new thread is discovered.
gdb/gdbserver/ChangeLog: * lynx-low.c (lynx_wait_1): Add debug trace before adding new thread.
This commit is contained in:
parent
037335a7a8
commit
8b93d60f22
|
@ -1,3 +1,8 @@
|
|||
2012-12-17 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* lynx-low.c (lynx_wait_1): Add debug trace before adding
|
||||
new thread.
|
||||
|
||||
2012-12-17 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* lynx-low.c (ptrace_request_to_str): Add handling for
|
||||
|
|
|
@ -448,7 +448,11 @@ retry:
|
|||
for non-threaded applications where the new-thread events are not
|
||||
generated. */
|
||||
if (!find_thread_ptid (new_ptid))
|
||||
add_thread (new_ptid, NULL);
|
||||
{
|
||||
lynx_debug ("New thread: (pid = %d, tid = %d)",
|
||||
lynx_ptid_get_pid (new_ptid), lynx_ptid_get_tid (new_ptid));
|
||||
add_thread (new_ptid, NULL);
|
||||
}
|
||||
|
||||
if (WIFSTOPPED (wstat))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue