mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 00:32:30 +08:00
2003-07-22 Michael Snyder <msnyder@redhat.com>
* compile.c (sim_resume): Revert 6-24 change, it does not work with gdb breakpoints.
This commit is contained in:
@ -1,9 +1,13 @@
|
|||||||
|
2003-07-22 Michael Snyder <msnyder@redhat.com>
|
||||||
|
|
||||||
|
* compile.c (sim_resume): Revert 6-24 change, it does not
|
||||||
|
work with gdb breakpoints.
|
||||||
|
|
||||||
2003-07-17 Michael Snyder <msnyder@redhat.com>
|
2003-07-17 Michael Snyder <msnyder@redhat.com>
|
||||||
|
|
||||||
* compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg.
|
* compile.c (sim_resume): Handle shll reg, reg and shlr reg, reg.
|
||||||
(decode): IMM16 is always zero-extended.
|
(decode): IMM16 is always zero-extended.
|
||||||
|
|
||||||
|
|
||||||
2003-06-24 Michael Snyder <msnyder@redhat.com>
|
2003-06-24 Michael Snyder <msnyder@redhat.com>
|
||||||
|
|
||||||
* sim-main.h (SIM_WIFSTOPPED, SIM_WSTOPSIG): Define.
|
* sim-main.h (SIM_WIFSTOPPED, SIM_WSTOPSIG): Define.
|
||||||
|
@ -3577,12 +3577,14 @@ sim_resume (SIM_DESC sd, int step, int siggnal)
|
|||||||
sim_engine_set_run_state (sd, sim_exited,
|
sim_engine_set_run_state (sd, sim_exited,
|
||||||
SIM_WEXITSTATUS (h8_get_reg (sd, 0)));
|
SIM_WEXITSTATUS (h8_get_reg (sd, 0)));
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
else if (SIM_WIFSTOPPED (h8_get_reg (sd, 0)))
|
else if (SIM_WIFSTOPPED (h8_get_reg (sd, 0)))
|
||||||
{
|
{
|
||||||
/* Pass the stop signal up to gdb. */
|
/* Pass the stop signal up to gdb. */
|
||||||
sim_engine_set_run_state (sd, sim_stopped,
|
sim_engine_set_run_state (sd, sim_stopped,
|
||||||
SIM_WSTOPSIG (h8_get_reg (sd, 0)));
|
SIM_WSTOPSIG (h8_get_reg (sd, 0)));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Treat it as a sigtrap. */
|
/* Treat it as a sigtrap. */
|
||||||
|
Reference in New Issue
Block a user