From 1931ea8d43d508683992517e218dafc0cf5aeaf6 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 6 Feb 1998 03:09:59 +0000 Subject: [PATCH] When starting a new simulator run, ensure proceed status is cleared. --- gdb/ChangeLog | 5 +++++ gdb/remote-sim.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 52978fffc3a..d215f3df20e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Thu Feb 5 17:18:16 1998 Andrew Cagney + + * remote-sim.c (gdbsim_create_inferior): clear_proceed_status + before /re/starting the simulator. + Thu Feb 5 15:55:31 1998 C. M. Heard (heard@vvnet.com) * top.c (do_nothing): Remove signal handler after signal is caught. diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index a1a1e32bc2c..69c474aa41c 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -474,6 +474,8 @@ gdbsim_create_inferior (exec_file, args, env) inferior_pid = 42; insert_breakpoints (); /* Needed to get correct instruction in cache */ + clear_proceed_status (); + /* NB: Entry point already set by sim_create_inferior. */ proceed ((CORE_ADDR)-1, TARGET_SIGNAL_DEFAULT, 0); } -- 2.30.2