gdb/
* linux-thread-db.c (thread_db_wait): Don't trim event ptid. testsuite/ * gdb.threads/execl.c, gdb.threads/execl1.c, gdb.threads/execl.exp: New tests.
This commit is contained in:
parent
2e618c13af
commit
49fd4a422b
6 changed files with 169 additions and 1 deletions
|
@ -838,7 +838,7 @@ thread_db_wait (ptid_t ptid, struct target_waitstatus *ourstatus)
|
|||
unpush_target (&thread_db_ops);
|
||||
using_thread_db = 0;
|
||||
|
||||
return pid_to_ptid (GET_PID (ptid));
|
||||
return ptid;
|
||||
}
|
||||
|
||||
/* If we do not know about the main thread yet, this would be a good time to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue