From: Andrew Cagney Date: Tue, 1 Apr 2003 19:26:52 +0000 (+0000) Subject: 2003-04-01 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6bfb3e36dfaaff137a4b46335e2dd1f382356214;p=binutils-gdb.git 2003-04-01 Andrew Cagney * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 46955bbdc0f..d512403e0d8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2003-04-01 Andrew Cagney + + * 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 Add frame debug info addresses: 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 *);