* 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:
Stu Grossman
1995-03-08 01:18:08 +00:00
parent 8f07823450
commit f17aed8ba3
5 changed files with 87 additions and 81 deletions

View File

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