aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-05-15 14:28:34 +0000
committerJeff Law <law@redhat.com>1996-05-15 14:28:34 +0000
commit6bafbdfbf6fc1e8f64b10d6b4d340401001d00c8 (patch)
tree6e0a31f1b930ba7959bb320f9a2dbb6f8142969e /gdb/remote-sim.c
parent9b33e492d6327edb62715d91c9ed22e6d5347ab8 (diff)
downloadgdb-6bafbdfbf6fc1e8f64b10d6b4d340401001d00c8.zip
gdb-6bafbdfbf6fc1e8f64b10d6b4d340401001d00c8.tar.gz
gdb-6bafbdfbf6fc1e8f64b10d6b4d340401001d00c8.tar.bz2
* coffread.c (coff_symtab_read): Handle C_LABEL symbols like
C_STAT symbols. * h8300-tdep.c (h8300_pop_frame): Reset $sp and $pc correctly. Flush cached frames just before exiting. * remote-sim.c (gdbsim_resume): Complain if the program isn't being run. * config/h8300/tm-h8300.h (BELIEVE_PCC_PROMOTION): Define. Fix some bugs exposed by the testsuite. HMSE.
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r--gdb/remote-sim.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index d0f0f50..124022a 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -280,6 +280,9 @@ gdbsim_resume (pid, step, siggnal)
int pid, step;
enum target_signal siggnal;
{
+ if (inferior_pid != 42)
+ error ("The program is not being run.");
+
if (sr_get_debug ())
printf_filtered ("gdbsim_resume: step %d, signal %d\n", step, siggnal);