2003-03-01 Andrew Cagney <cagney@redhat.com>
* sim-engine.c (sim_engine_halt): If jmpbuf is invalid, abort. (sim_engine_vabort): Ditto.
This commit is contained in:
parent
35cac7cfea
commit
876fec0252
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2003-03-01 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
|
* sim-engine.c (sim_engine_halt): If jmpbuf is invalid, abort.
|
||||||
|
(sim_engine_vabort): Ditto.
|
||||||
|
|
||||||
2003-02-27 Andrew Cagney <cagney@redhat.com>
|
2003-02-27 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
* sim-utils.h (sim_analyze_program, sim_load_file): Rename _bfd to bfd.
|
* sim-utils.h (sim_analyze_program, sim_load_file): Rename _bfd to bfd.
|
||||||
|
|
|
@ -79,7 +79,10 @@ sim_engine_halt (SIM_DESC sd,
|
||||||
longjmp (*halt_buf, sim_engine_halt_jmpval);
|
longjmp (*halt_buf, sim_engine_halt_jmpval);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
sim_io_error (sd, "sim_halt - bad long jump");
|
{
|
||||||
|
sim_io_error (sd, "sim_halt - bad long jump");
|
||||||
|
abort ();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -127,6 +130,7 @@ sim_engine_vabort (SIM_DESC sd,
|
||||||
sim_io_evprintf (sd, fmt, ap);
|
sim_io_evprintf (sd, fmt, ap);
|
||||||
sim_io_eprintf (sd, "\n");
|
sim_io_eprintf (sd, "\n");
|
||||||
sim_io_error (sd, "Quit Simulator");
|
sim_io_error (sd, "Quit Simulator");
|
||||||
|
abort ();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue