aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-04-01 19:26:52 +0000
committerAndrew Cagney <cagney@redhat.com>2003-04-01 19:26:52 +0000
commit6bfb3e36dfaaff137a4b46335e2dd1f382356214 (patch)
treea08c5be48870da6be594f91f54ab60d96481054f
parentc46ac7116d97216ffc9e4a1f221214b4b4716591 (diff)
downloadgdb-6bfb3e36dfaaff137a4b46335e2dd1f382356214.zip
gdb-6bfb3e36dfaaff137a4b46335e2dd1f382356214.tar.gz
gdb-6bfb3e36dfaaff137a4b46335e2dd1f382356214.tar.bz2
2003-04-01 Andrew Cagney <cagney@redhat.com>
* frame.h (get_frame_locals_address, get_frame_args_address): Refer to the base address, instead of the address of the first local or parameter.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/frame.h12
2 files changed, 12 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 46955bb..d512403 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2003-04-01 Andrew Cagney <cagney@redhat.com>
+ * frame.h (get_frame_locals_address, get_frame_args_address):
+ Refer to the base address, instead of the address of the first
+ local or parameter.
+
+2003-04-01 Andrew Cagney <cagney@redhat.com>
+
Add frame debug info addresses:
* frame-base.c: New file.
* frame-base.h: New file.
diff --git a/gdb/frame.h b/gdb/frame.h
index d13e25b..231aaad 100644
--- a/gdb/frame.h
+++ b/gdb/frame.h
@@ -202,17 +202,17 @@ extern struct frame_id get_frame_id (struct frame_info *fi);
meaningful to the frame's high-level debug info. */
extern CORE_ADDR get_frame_base_address (struct frame_info *);
-/* Assuming that a frame is `normal', return the address of the first
- local variable, or 0 if the information isn't available. NOTE:
+/* Assuming that a frame is `normal', return the base-address of the
+ local variables, or 0 if the information isn't available. NOTE:
This address is really only meaningful to the frame's high-level
debug info. Typically, the argument and locals share a single
base-address. */
extern CORE_ADDR get_frame_locals_address (struct frame_info *);
-/* Assuming that a frame is `normal', return the address of the first
- parameter, or 0 if that information isn't available. NOTE: This
- address is really only meaningful to the frame's high-level debug
- info. Typically, the argument and locals share a single
+/* Assuming that a frame is `normal', return the base-address of the
+ parameter list, or 0 if that information isn't available. NOTE:
+ This address is really only meaningful to the frame's high-level
+ debug info. Typically, the argument and locals share a single
base-address. */
extern CORE_ADDR get_frame_args_address (struct frame_info *);