aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-05-22 18:37:05 +0000
committerAndrew Cagney <cagney@redhat.com>2003-05-22 18:37:05 +0000
commitaf1342ab7f8f2b535114eca37fb5d0adc6ced661 (patch)
tree6979582ea43a23e14138dbf7b523acf7a48da0b2 /gdb/frame.c
parent47e242eca46f01673f05ac0a6a6a8cf401e3b981 (diff)
downloadgdb-af1342ab7f8f2b535114eca37fb5d0adc6ced661.zip
gdb-af1342ab7f8f2b535114eca37fb5d0adc6ced661.tar.gz
gdb-af1342ab7f8f2b535114eca37fb5d0adc6ced661.tar.bz2
2003-05-22 Andrew Cagney <cagney@redhat.com>
* stack.c (frame_info): Inline extract_address, replacing it with extract_unsigned_integer. * findvar.c (unsigned_pointer_to_address): Ditto. * dwarf2loc.c (dwarf_expr_read_reg): Ditto. * dwarf2expr.c (dwarf2_read_address): Ditto. * frame.c (frame_pc_unwind): Update comment. * dummy-frame.c (deprecated_read_register_dummy): Update comment.
Diffstat (limited to 'gdb/frame.c')
-rw-r--r--gdb/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/frame.c b/gdb/frame.c
index fe863d6..07e0e5b 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -376,7 +376,7 @@ frame_pc_unwind (struct frame_info *this_frame)
implementation is no more than:
frame_unwind_register (this_frame, ISA_PC_REGNUM, buf);
- return extract_address (buf, size of ISA_PC_REGNUM);
+ return extract_unsigned_integer (buf, size of ISA_PC_REGNUM);
Note: this method is very heavily dependent on a correct
register-unwind implementation, it pays to fix that