aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.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-sim.c
parent588d1d685c66966dfdc5c57964e245424060a076 (diff)
downloadgdb-45dc9be38877cbb8218182b5c5ebd6e82e5ccd47.zip
gdb-45dc9be38877cbb8218182b5c5ebd6e82e5ccd47.tar.gz
gdb-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-sim.c')
-rw-r--r--gdb/remote-sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index 1d35ddc..6d4333d 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -196,7 +196,7 @@ gdbsim_create_inferior (exec_file, args, env)
inferior_pid = 42;
insert_breakpoints (); /* Needed to get correct instruction in cache */
- proceed (entry_pt, -1, 0);
+ proceed (entry_pt, TARGET_SIGNAL_DEFAULT, 0);
}
/* The open routine takes the rest of the parameters from the command,