diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-05-22 18:37:05 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-05-22 18:37:05 +0000 |
commit | 6079da416d27c64430b07b2dc3f90274fe19a3e9 (patch) | |
tree | ed95f72432f73fa8669d3ddbeae839575ada787c /gdb/dummy-frame.c | |
parent | 3dc5424f8a5c436e7afa635cf556618b904852f5 (diff) | |
download | gdb-6079da416d27c64430b07b2dc3f90274fe19a3e9.tar.gz |
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/dummy-frame.c')
-rw-r--r-- | gdb/dummy-frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dummy-frame.c b/gdb/dummy-frame.c index ca11bd675f0..94413f4baef 100644 --- a/gdb/dummy-frame.c +++ b/gdb/dummy-frame.c @@ -183,7 +183,7 @@ deprecated_read_register_dummy (CORE_ADDR pc, CORE_ADDR fp, int regno) /* NOTE: cagney/2002-08-12: Replaced a call to regcache_raw_read_as_address() with a call to regcache_cooked_read_unsigned(). The old, ...as_address - function was eventually calling extract_unsigned_integer (via + function was eventually calling extract_unsigned_integer (nee extract_address) to unpack the registers value. The below is doing an unsigned extract so that it is functionally equivalent. The read needs to be cooked as, otherwise, it |