aboutsummaryrefslogtreecommitdiff
path: root/sim/sh
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1997-04-18 20:33:27 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1997-04-18 20:33:27 +0000
commitd90eb3ff6b8386c46b41734f87f51fae63e1e5ab (patch)
tree24e14faec873dbf8dfafb4bb57194cf3452fee78 /sim/sh
parent4a6163dbc5cfe2e5062f1d4b974d86e66d3471f5 (diff)
downloadgdb-d90eb3ff6b8386c46b41734f87f51fae63e1e5ab.zip
gdb-d90eb3ff6b8386c46b41734f87f51fae63e1e5ab.tar.gz
gdb-d90eb3ff6b8386c46b41734f87f51fae63e1e5ab.tar.bz2
* interp.c (sim_resume): Fix argument to poll_quit.
Diffstat (limited to 'sim/sh')
-rw-r--r--sim/sh/ChangeLog4
-rw-r--r--sim/sh/interp.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog
index 91dfd34..0975e9e 100644
--- a/sim/sh/ChangeLog
+++ b/sim/sh/ChangeLog
@@ -1,3 +1,7 @@
+Fri Apr 18 13:33:09 1997 Doug Evans <dje@canuck.cygnus.com>
+
+ * interp.c (sim_resume): Fix argument to poll_quit.
+
Fri Apr 18 14:14:49 1997 Andrew Cagney <cagney@b1.cygnus.com>
* interp.c (sim_stop): New function.
diff --git a/sim/sh/interp.c b/sim/sh/interp.c
index 98f10e8..5a68dc9 100644
--- a/sim/sh/interp.c
+++ b/sim/sh/interp.c
@@ -970,7 +970,7 @@ sim_resume (sd, step, siggnal)
{
pollcount = 0;
if ((*callback->poll_quit) != NULL
- && (*callback->poll_quit) (sd))
+ && (*callback->poll_quit) (callback))
{
sim_stop (sd);
}