diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-09-28 22:32:20 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-09-28 22:32:20 +0000 |
commit | 7a1cb31ba477d636d06b55d9305640fef1209840 (patch) | |
tree | 34483c22b733c88e270e10dd58c212cb62177524 /gdb/m68hc11-tdep.c | |
parent | af6df0159e297e714f26a24815df7ab26ed5743d (diff) | |
download | gdb-7a1cb31ba477d636d06b55d9305640fef1209840.tar.gz |
2003-09-28 Andrew Cagney <cagney@redhat.com>
* frame.c (frame_read_unsigned_register): Delete function.
* frame.h (frame_read_unsigned_register): Delete declaration.
* sparc-tdep.c (sparc_init_extra_frame_info): Use
get_frame_register_unsigned.
(sparc_frame_saved_pc, sparc_pop_frame): Ditto.
* m68hc11-tdep.c (m68hc11_print_register): Ditto.
* d10v-tdep.c (d10v_print_registers_info): Ditto.
* frame.h (frame_read_register): Delete declaration.
* frame.c (frame_read_register): Delete function.
* arch-utils.c (legacy_register_to_value): Use get_frame_register.
* sparc-tdep.c (sparc_fetch_pointer_argument): Ditto.
* rs6000-tdep.c (rs6000_fetch_pointer_argument): Ditto.
* mips-tdep.c (mips_register_to_value): Ditto.
* hppa-tdep.c (hppa_fetch_pointer_argument): Ditto.
* d10v-tdep.c (d10v_print_registers_info): Ditto.
* frame.c (frame_read_signed_register): Delete function.
(frame_read_unsigned_register): Update comments.
* frame.h (frame_read_signed_register): Delete declaration.
* h8300-tdep.c (h8300_print_register): Use
get_frame_register_signed.
* m68hc11-tdep.c (m68hc11_print_register): Ditto.
Diffstat (limited to 'gdb/m68hc11-tdep.c')
-rw-r--r-- | gdb/m68hc11-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c index 0f3ed0e5e1d..ad68b6024f5 100644 --- a/gdb/m68hc11-tdep.c +++ b/gdb/m68hc11-tdep.c @@ -1032,9 +1032,9 @@ m68hc11_print_register (struct gdbarch *gdbarch, struct ui_file *file, if (regno == HARD_PC_REGNUM || regno == HARD_SP_REGNUM || regno == SOFT_FP_REGNUM || regno == M68HC12_HARD_PC_REGNUM) - frame_read_unsigned_register (frame, regno, &rval); + rval = get_frame_register_unsigned (frame, regno); else - frame_read_signed_register (frame, regno, &rval); + rval = get_frame_register_signed (frame, regno); if (regno == HARD_A_REGNUM || regno == HARD_B_REGNUM || regno == HARD_CCR_REGNUM || regno == HARD_PAGE_REGNUM) @@ -1049,7 +1049,7 @@ m68hc11_print_register (struct gdbarch *gdbarch, struct ui_file *file, { ULONGEST page; - frame_read_unsigned_register (frame, HARD_PAGE_REGNUM, &page); + page = get_frame_register_unsigned (frame, HARD_PAGE_REGNUM); fprintf_filtered (file, "0x%02x:%04x ", (unsigned) page, (unsigned) rval); } |