New target macros for getting at the pc, sp and fp.
authorSteve Chamberlain <sac@cygnus>
Fri, 2 Jul 1993 21:25:04 +0000 (21:25 +0000)
committerSteve Chamberlain <sac@cygnus>
Fri, 2 Jul 1993 21:25:04 +0000 (21:25 +0000)
commit85e07872b61df1351ceb99e5f32d2fbe022c9eb4
tree06db410ae871daad78056ae5186f368877b1f002
parentd8a80e6ddc7297d1fba25a25c35657822b161879
New target macros for getting at the pc, sp and fp.
* infcmd.c (read_pc, write_pc):  Modify to use new macros.
(read_sp, write_sp, read_fp, write_fp): New functions.
* blockframe.c (reinit_frame_cache, get_prev_frame_info):  Use new functions.
* breakpoint.c (bpstat_alloc): ditto.
* infrun.c (wait_for_inferior): ditto.
* stack.c (print_frame_info): ditto.
* valops (call_function_by_hand): ditto.
* corelow.c (core_open): ditto.
* h8500-tdep.c: (target_read_sp, target_write_sp, target_read_pc,
target_write_pc, target_read_fp, target_write_fp): New functions.
* inferior.h (read_sp, write_sp, read_fp, write_fp): Prototypes.
gdb/ChangeLog
gdb/corelow.c
gdb/h8500-tdep.c