mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
* monitor.c (monitor_load): Set PC to start address when done
loading. * array-rom.c monitor.h rom68k-rom.c: Clean up target_ops. Remove ref to monitor_create_inferior.
This commit is contained in:
@@ -1083,6 +1083,10 @@ monitor_load_srec (args, protocol)
|
||||
putchar_unfiltered ('\n');
|
||||
|
||||
expect_prompt (NULL, 0);
|
||||
|
||||
/* Finally, make the PC point at the start address */
|
||||
|
||||
write_register (PC_REGNUM, bfd_get_start_address (abfd));
|
||||
}
|
||||
|
||||
/* Get an ACK or a NAK from the target. returns 1 (true) or 0 (false)
|
||||
|
||||
Reference in New Issue
Block a user