diff options
author | Pedro Alves <palves@redhat.com> | 2008-06-05 21:03:59 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2008-06-05 21:03:59 +0000 |
commit | 49fd4a422bb6152043b2b41a1f734694056dbf3b (patch) | |
tree | 7aeda0dba5001266ac739986588ebd777a522390 /gdb/linux-thread-db.c | |
parent | 2e618c13af17f36d0f0173786d49abea7308dc24 (diff) | |
download | gdb-49fd4a422bb6152043b2b41a1f734694056dbf3b.zip gdb-49fd4a422bb6152043b2b41a1f734694056dbf3b.tar.gz gdb-49fd4a422bb6152043b2b41a1f734694056dbf3b.tar.bz2 |
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.
Diffstat (limited to 'gdb/linux-thread-db.c')
-rw-r--r-- | gdb/linux-thread-db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c index 2ae2f5c..7e40e9f 100644 --- a/gdb/linux-thread-db.c +++ b/gdb/linux-thread-db.c @@ -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 |