summaryrefslogtreecommitdiff
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
commitdce37d77c15d44553daf9e0d41bc5961cc80e1e2 (patch)
tree49aeaec09f7f3e5bfd95e03ad8bb73a9066cad1f
parent01f936ba458cf7a8324278db0b40588e7a0ea63a (diff)
downloadgdb-dce37d77c15d44553daf9e0d41bc5961cc80e1e2.tar.gz
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 46955bbdc0f..d512403e0d8 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 d13e25b91c1..231aaadbd0f 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 *);