diff options
author | Pierre Muller <muller@sourceware.org> | 2002-11-24 23:05:03 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2002-11-24 23:05:03 +0000 |
commit | 6abe1021c175b8dc8a1d5552a8b712aabccd52eb (patch) | |
tree | 4e9417af4983e30f6c01359c45779df9e201e385 | |
parent | 6902388cfe183a8828f2da277c31a713654583f0 (diff) | |
download | gdb-6abe1021c175b8dc8a1d5552a8b712aabccd52eb.zip gdb-6abe1021c175b8dc8a1d5552a8b712aabccd52eb.tar.gz gdb-6abe1021c175b8dc8a1d5552a8b712aabccd52eb.tar.bz2 |
2002-11-24 Pierre Muller <muller@ics.u-strasbg.fr>
* varobj.c (find_frame_addr_in_frame_chain):
Use get_frame_base instead of FRAME_FP,
obvious fix.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/varobj.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 09bd2df..01715a8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2002-11-24 Pierre Muller <muller@ics.u-strasbg.fr> + + * varobj.c (find_frame_addr_in_frame_chain): + Use get_frame_base instead of FRAME_FP, + obvious fix. + 2002-11-19 Andrew Cagney <ac131313@redhat.com> * frame.h (FRAME_FP): Delete macro. diff --git a/gdb/varobj.c b/gdb/varobj.c index 9b3e150..30f1c38 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -412,7 +412,7 @@ find_frame_addr_in_frame_chain (CORE_ADDR frame_addr) frame = get_prev_frame (frame); if (frame == NULL) return NULL; - if (FRAME_FP (frame) == frame_addr) + if (get_frame_base (frame) == frame_addr) return frame; } } |