mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-03 04:01:22 +08:00
(thread_db_wait): Don't bother continuing if the wait result indicates the
program terminated with a signal (from gdb-6.3-ia64-sigill-20051115.patch, a patch for Fedora Core 5).
This commit is contained in:
@ -872,7 +872,8 @@ thread_db_wait (ptid_t ptid, struct target_waitstatus *ourstatus)
|
||||
post-processing and bail out early. */
|
||||
return ptid;
|
||||
|
||||
if (ourstatus->kind == TARGET_WAITKIND_EXITED)
|
||||
if (ourstatus->kind == TARGET_WAITKIND_EXITED
|
||||
|| ourstatus->kind == TARGET_WAITKIND_SIGNALLED)
|
||||
return pid_to_ptid (-1);
|
||||
|
||||
if (ourstatus->kind == TARGET_WAITKIND_EXECD)
|
||||
|
Reference in New Issue
Block a user