aboutsummaryrefslogtreecommitdiff
path: root/gdb/varobj.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2002-11-24 23:05:03 +0000
committerPierre Muller <muller@sourceware.org>2002-11-24 23:05:03 +0000
commit6abe1021c175b8dc8a1d5552a8b712aabccd52eb (patch)
tree4e9417af4983e30f6c01359c45779df9e201e385 /gdb/varobj.c
parent6902388cfe183a8828f2da277c31a713654583f0 (diff)
downloadgdb-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.
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r--gdb/varobj.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}