]>
Commit | Line | Data |
---|---|---|
ab050a48 BZ |
1 | https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=182116 |
2 | ||
3 | ||
4 | Index: gdb-6.5/gdb/linux-thread-db.c | |
5 | =================================================================== | |
6 | --- gdb-6.5.orig/gdb/linux-thread-db.c 2006-08-24 02:55:24.000000000 -0300 | |
7 | +++ gdb-6.5/gdb/linux-thread-db.c 2006-08-24 02:56:16.000000000 -0300 | |
8 | @@ -939,6 +939,15 @@ thread_db_wait (ptid_t ptid, struct targ | |
9 | || ourstatus->kind == TARGET_WAITKIND_SIGNALLED) | |
10 | return pid_to_ptid (-1); | |
11 | ||
12 | + if (ourstatus->kind == TARGET_WAITKIND_EXECD) | |
13 | + { | |
14 | + remove_thread_event_breakpoints (); | |
15 | + unpush_target (&thread_db_ops); | |
16 | + using_thread_db = 0; | |
17 | + | |
18 | + return pid_to_ptid (GET_PID (ptid)); | |
19 | + } | |
20 | + | |
21 | if (ourstatus->kind == TARGET_WAITKIND_STOPPED | |
22 | && (ourstatus->value.sig == TARGET_SIGNAL_TRAP | |
23 | || ourstatus->value.sig == TARGET_SIGNAL_ILL)) |