* interp.c (sim_resume): Fix argument to poll_quit.

This commit is contained in:
David Edelsohn 1997-04-18 20:33:27 +00:00
parent 4a6163dbc5
commit d90eb3ff6b
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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);
}