From 45dc9be38877cbb8218182b5c5ebd6e82e5ccd47 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Thu, 6 Jan 1994 16:34:51 +0000 Subject: * 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 . * 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. --- gdb/remote-mon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gdb/remote-mon.c') diff --git a/gdb/remote-mon.c b/gdb/remote-mon.c index 0cb5dd7..115822b 100644 --- a/gdb/remote-mon.c +++ b/gdb/remote-mon.c @@ -309,7 +309,9 @@ monitor_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. -- cgit v1.1