diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-08 22:47:46 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-08 22:47:46 +0000 |
commit | 8d357ccaa7453f32482275a89577fe5d4445f383 (patch) | |
tree | d0e2aa0fc8fc7b628a3e8103ef948e9163c3808f /gdb/gcore.c | |
parent | bca02a8a3a0a380439e57cd57abba4a9228f029a (diff) | |
download | binutils-8d357ccaa7453f32482275a89577fe5d4445f383.zip binutils-8d357ccaa7453f32482275a89577fe5d4445f383.tar.gz binutils-8d357ccaa7453f32482275a89577fe5d4445f383.tar.bz2 |
2003-01-08 Andrew Cagney <cagney@redhat.com>
* gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
get_frame_base.
Diffstat (limited to 'gdb/gcore.c')
-rw-r--r-- | gdb/gcore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gcore.c b/gdb/gcore.c index 155ebe0..a2f10d7 100644 --- a/gdb/gcore.c +++ b/gdb/gcore.c @@ -179,7 +179,7 @@ derive_stack_segment (bfd_vma *bottom, bfd_vma *top) return 0; /* Can't succeed without current frame. */ /* Save frame pointer of TOS frame. */ - *top = fi->frame; + *top = get_frame_base (fi); /* If current stack pointer is more "inner", use that instead. */ if (INNER_THAN (read_sp (), *top)) *top = read_sp (); @@ -189,7 +189,7 @@ derive_stack_segment (bfd_vma *bottom, bfd_vma *top) fi = tmp_fi; /* Save frame pointer of prev-most frame. */ - *bottom = fi->frame; + *bottom = get_frame_base (fi); /* Now canonicalize their order, so that 'bottom' is a lower address (as opposed to a lower stack frame). */ |