aboutsummaryrefslogtreecommitdiff
path: root/gdb/monitor.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2014-07-25 17:34:05 +0100
committerPedro Alves <palves@redhat.com>2014-07-25 17:34:05 +0100
commit88056fbbf4fc603517ce2e09c0ee4398ab354836 (patch)
treeafbb6b33136057328a301953a4b98c9365aac5b7 /gdb/monitor.c
parent705096250d59d9aaf3855a350edd2f3946777dd4 (diff)
downloadgdb-88056fbbf4fc603517ce2e09c0ee4398ab354836.zip
gdb-88056fbbf4fc603517ce2e09c0ee4398ab354836.tar.gz
gdb-88056fbbf4fc603517ce2e09c0ee4398ab354836.tar.bz2
fix build: update clear_proceed_status callers
A previous patch added a new parameter to clear_proceed_status, but forgot to update a few callers. Tested by building on x86_64 Fedora 20, with --enable-targets=all. gdb/ 2014-07-25 Pedro Alves <palves@redhat.com> * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status. * monitor.c (monitor_create_inferior): Likewise. * remote-m32r-sdi.c (m32r_create_inferior): Likewise. * remote-sim.c (gdbsim_create_inferior): Likewise. * solib-irix.c (irix_solib_create_inferior_hook): Likewise. * solib-osf.c (osf_solib_create_inferior_hook): Likewise. * windows-nat.c (do_initial_windows_stuff): Likewise.
Diffstat (limited to 'gdb/monitor.c')
-rw-r--r--gdb/monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/monitor.c b/gdb/monitor.c
index 6767197..94b85d3 100644
--- a/gdb/monitor.c
+++ b/gdb/monitor.c
@@ -2080,7 +2080,7 @@ monitor_create_inferior (struct target_ops *ops, char *exec_file,
error (_("Args are not supported by the monitor."));
first_time = 1;
- clear_proceed_status ();
+ clear_proceed_status (0);
regcache_write_pc (get_current_regcache (),
bfd_get_start_address (exec_bfd));
}