forked from Imagelibrary/binutils-gdb
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user