2003-04-01 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Tue, 1 Apr 2003 19:26:52 +0000 (19:26 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 1 Apr 2003 19:26:52 +0000 (19:26 +0000)
* 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.

gdb/ChangeLog
gdb/frame.h

index 46955bb..d512403 100644 (file)
@@ -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.
index d13e25b..231aaad 100644 (file)
@@ -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 *);