aboutsummaryrefslogtreecommitdiff
path: root/sim/sh/interp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/sh/interp.c')
-rw-r--r--sim/sh/interp.c2
1 files changed, 1 insertions, 1 deletions
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);
}