diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-10-17 13:36:45 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-10-17 13:36:45 +0000 |
commit | 11411de309ed70574799872f9b3bec1b18bb66cf (patch) | |
tree | 0454672a22cabbe370c09842f81051c613229b6b /gdb/alpha-tdep.c | |
parent | fe9a4c1201a3e0867cbc0324c55cfe90dce9415b (diff) | |
download | fsf-binutils-gdb-11411de309ed70574799872f9b3bec1b18bb66cf.zip fsf-binutils-gdb-11411de309ed70574799872f9b3bec1b18bb66cf.tar.gz fsf-binutils-gdb-11411de309ed70574799872f9b3bec1b18bb66cf.tar.bz2 |
* frame.c (frame_unwind_unsigned_register): Delete.
(frame_sp_unwind): Use frame_unwind_register_unsigned instead.
* frame.h (frame_unwind_unsigned_register): Delete prototype.
* alpha-linux-tdep.c, alpha-mdebug-tdep.c, alpha-tdep.c,
avr-tdep.c, cris-tdep.c, frv-tdep.c, m68hc11-tdep.c, mn10300-tdep.c,
mt-tdep.c: Replace frame_unwind_unsigned_register with
frame_unwind_register_unsigned.
* gdbint.texinfo (Target Conditionals): Use
frame_unwind_register_unsigned in examples instead of
frame_unwind_unsigned_register.
Diffstat (limited to 'gdb/alpha-tdep.c')
-rw-r--r-- | gdb/alpha-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index 03fa331..623d1be 100644 --- a/gdb/alpha-tdep.c +++ b/gdb/alpha-tdep.c @@ -1151,7 +1151,7 @@ alpha_heuristic_frame_unwind_cache (struct frame_info *next_frame, return_reg = ALPHA_RA_REGNUM; info->return_reg = return_reg; - frame_unwind_unsigned_register (next_frame, frame_reg, &val); + val = frame_unwind_register_unsigned (next_frame, frame_reg); info->vfp = val + frame_size; /* Convert offsets to absolute addresses. See above about adding @@ -1278,7 +1278,7 @@ static struct frame_id alpha_unwind_dummy_id (struct gdbarch *gdbarch, struct frame_info *next_frame) { ULONGEST base; - frame_unwind_unsigned_register (next_frame, ALPHA_SP_REGNUM, &base); + base = frame_unwind_register_unsigned (next_frame, ALPHA_SP_REGNUM); return frame_id_build (base, frame_pc_unwind (next_frame)); } @@ -1286,7 +1286,7 @@ static CORE_ADDR alpha_unwind_pc (struct gdbarch *gdbarch, struct frame_info *next_frame) { ULONGEST pc; - frame_unwind_unsigned_register (next_frame, ALPHA_PC_REGNUM, &pc); + pc = frame_unwind_register_unsigned (next_frame, ALPHA_PC_REGNUM); return pc; } |