diff options
author | Stan Shebs <shebs@codesourcery.com> | 1994-10-14 22:05:54 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1994-10-14 22:05:54 +0000 |
commit | f4eb99683b50979d6753ca795016230ce6f3a5e3 (patch) | |
tree | c74393521a7877062eec7cbdf4194bc01d919c78 /gdb/h8500-tdep.c | |
parent | 54d64846919fc834da8f22b455af561bc7147e59 (diff) | |
download | gdb-f4eb99683b50979d6753ca795016230ce6f3a5e3.zip gdb-f4eb99683b50979d6753ca795016230ce6f3a5e3.tar.gz gdb-f4eb99683b50979d6753ca795016230ce6f3a5e3.tar.bz2 |
* h8500-tdep.c (target_read_sp, target_write_sp, target_read_pc,
target_write_pc, target_read_fp, target_write_fp): Rename to
h8500_read_sp, etc.
(h8500_read_pc, h8500_write_pc): Add pid argument.
* config/h8500/tm-h8500.h (TARGET_READ_SP, TARGET_WRITE_SP,
TARGET_READ_PC, TARGET_WRITE_PC, TARGET_READ_FP, TARGET_WRITE_FP):
Change to match functions above.
Diffstat (limited to 'gdb/h8500-tdep.c')
-rw-r--r-- | gdb/h8500-tdep.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gdb/h8500-tdep.c b/gdb/h8500-tdep.c index 8a32d98..2f5fe6f 100644 --- a/gdb/h8500-tdep.c +++ b/gdb/h8500-tdep.c @@ -645,39 +645,41 @@ _initialize_h8500_tdep () } CORE_ADDR -target_read_sp () +h8500_read_sp () { return read_register (PR7_REGNUM); } void -target_write_sp (v) +h8500_write_sp (v) CORE_ADDR v; { write_register (PR7_REGNUM, v); } CORE_ADDR -target_read_pc () +h8500_read_pc (pid) + int pid; { return read_register (PC_REGNUM); } void -target_write_pc (v) +h8500_write_pc (v, pid) CORE_ADDR v; + int pid; { write_register (PC_REGNUM, v); } CORE_ADDR -target_read_fp () +h8500_read_fp () { return read_register (PR6_REGNUM); } void -target_write_fp (v) +h8500_write_fp (v) CORE_ADDR v; { write_register (PR6_REGNUM, v); |