aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-st.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-01-06 16:34:51 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-01-06 16:34:51 +0000
commit45dc9be38877cbb8218182b5c5ebd6e82e5ccd47 (patch)
tree82ad3d6e6f401a050d61bf80e7fc4e49a6c46c8d /gdb/remote-st.c
parent588d1d685c66966dfdc5c57964e245424060a076 (diff)
downloadbinutils-45dc9be38877cbb8218182b5c5ebd6e82e5ccd47.zip
binutils-45dc9be38877cbb8218182b5c5ebd6e82e5ccd47.tar.gz
binutils-45dc9be38877cbb8218182b5c5ebd6e82e5ccd47.tar.bz2
* procfs.c (procfs_wait): Fix argument name to match 4 Jan changes.
* Move target_signal_from_host, target_signal_to_host, and store_waitstatus from inftarg.c to target.c. procfs needs them. * target.c: Include "wait.h" and <signal.h>. * target.h, infrun.c (proceed), proceed callers: Pass new code TARGET_SIGNAL_DEFAULT instead of -1. This avoids problems with enums being treated as unsigned and is cleaner. * infrun.c (signals_info): Don't print TARGET_SIGNAL_DEFAULT or TARGET_SIGNAL_0. * infcmd.c (signal_command), infrun.c (signals_info): Don't allow user to specify numeric equivalent of TARGET_SIGNAL_DEFAULT.
Diffstat (limited to 'gdb/remote-st.c')
-rw-r--r--gdb/remote-st.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote-st.c b/gdb/remote-st.c
index 7ea3d15..402a4ab 100644
--- a/gdb/remote-st.c
+++ b/gdb/remote-st.c
@@ -267,7 +267,8 @@ st2000_create_inferior (execfile, args, env)
target_terminal_inferior ();
/* insert_step_breakpoint (); FIXME, do we need this? */
- proceed ((CORE_ADDR)entry_pt, -1, 0); /* Let 'er rip... */
+ /* Let 'er rip... */
+ proceed ((CORE_ADDR)entry_pt, TARGET_SIGNAL_DEFAULT, 0);
}
/* Open a connection to a remote debugger.