mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
gdbserver: Fix exec stop reply reporting conditions
gdb/gdbserver/ChangeLog: 2015-09-15 Pedro Alves <palves@redhat.com> * remote-utils.c (prepare_resume_reply) <TARGET_WAITKIND_EXECD>: Check whether to report exec events instead of checking whether multiprocess is enabled.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2015-09-15 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* remote-utils.c (prepare_resume_reply) <TARGET_WAITKIND_EXECD>:
|
||||
Check whether to report exec events instead of checking whether
|
||||
multiprocess is enabled.
|
||||
|
||||
2015-09-15 Pedro Alves <palves@redhat.com>
|
||||
|
||||
PR remote/18965
|
||||
|
@ -1142,7 +1142,7 @@ prepare_resume_reply (char *buf, ptid_t ptid,
|
||||
|
||||
sprintf (buf, "T%02xvforkdone:;", signal);
|
||||
}
|
||||
else if (status->kind == TARGET_WAITKIND_EXECD && multi_process)
|
||||
else if (status->kind == TARGET_WAITKIND_EXECD && report_exec_events)
|
||||
{
|
||||
enum gdb_signal signal = GDB_SIGNAL_TRAP;
|
||||
const char *event = "exec";
|
||||
|
Reference in New Issue
Block a user