mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
* h8300-tdep.c (sim_load, sim_kill, sim_open, sim_set_args):
New functions. * infrun.c (normal_stop): Don't try and set the pc in the current frame coredump if there isn't one. * remote-sim.c (gdbsim_store_register): Don't SWAP_TARGET_AND_HOST, sim_store_register takes bytes in raw order. (gdbsim_wait): Set status with WSETSTOP. * config/h8300/tm-h8300.h (sr_get_debug): Define
This commit is contained in:
@ -1308,7 +1308,7 @@ normal_stop ()
|
||||
/* Make sure that the current_frame's pc is correct. This
|
||||
is a correction for setting up the frame info before doing
|
||||
DECR_PC_AFTER_BREAK */
|
||||
if (target_has_execution)
|
||||
if (target_has_execution && get_current_frame())
|
||||
(get_current_frame ())->pc = read_pc ();
|
||||
|
||||
if (breakpoints_failed)
|
||||
|
Reference in New Issue
Block a user