forked from Imagelibrary/binutils-gdb
gdb/
* corelow.c (core_open): Use target_signal_from_host if CORE_GDBARCH is NULL. * fork-child.c (startup_inferior) <resume_signal>: Use enum target_signal type. * linux-nat.c (linux_nat_resume): Use target_signal_to_host before calling strsignal. Use enum target_signal type for saved_signo. (linux_handle_extended_wait) <signo>: Use enum target_signal type. (linux_nat_wait_1): Use enum target_signal type for signo. Use target_signal_to_host before calling strsignal. * remote-m32r-sdi.c (m32r_wait, m32r_detach): Replace 0 by TARGET_SIGNAL_0. gdb/gdbserver/ * target.c (mywait) <TARGET_WAITKIND_EXITED>: Fix to use INTEGER.
This commit is contained in:
@@ -715,7 +715,7 @@ m32r_wait (struct target_ops *ops,
|
||||
fprintf_unfiltered (gdb_stdlog, "m32r_wait()\n");
|
||||
|
||||
status->kind = TARGET_WAITKIND_EXITED;
|
||||
status->value.sig = 0;
|
||||
status->value.sig = TARGET_SIGNAL_0;
|
||||
|
||||
interrupted = 0;
|
||||
prev_sigint = signal (SIGINT, gdb_cntrl_c);
|
||||
@@ -886,7 +886,7 @@ m32r_detach (struct target_ops *ops, char *args, int from_tty)
|
||||
if (remote_debug)
|
||||
fprintf_unfiltered (gdb_stdlog, "m32r_detach(%d)\n", from_tty);
|
||||
|
||||
m32r_resume (ops, inferior_ptid, 0, 0);
|
||||
m32r_resume (ops, inferior_ptid, 0, TARGET_SIGNAL_0);
|
||||
|
||||
/* calls m32r_close to do the real work */
|
||||
pop_target ();
|
||||
|
||||
Reference in New Issue
Block a user