aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-02-28 18:07:58 +0000
committerMark Kettenis <kettenis@gnu.org>2004-02-28 18:07:58 +0000
commit4a28816e798187ea25989e1bc16970684e711440 (patch)
tree82707ff370ea03e3110a616438f48daace783486 /gdb/amd64-tdep.c
parentdbda99720190c7dbd8ac8b2bcf2014b87ef4b628 (diff)
downloadgdb-4a28816e798187ea25989e1bc16970684e711440.zip
gdb-4a28816e798187ea25989e1bc16970684e711440.tar.gz
gdb-4a28816e798187ea25989e1bc16970684e711440.tar.bz2
* amd64-tdep.c (amd64_frame_cache): Fix comment.
Diffstat (limited to 'gdb/amd64-tdep.c')
-rw-r--r--gdb/amd64-tdep.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c
index 46ee806..0e44668 100644
--- a/gdb/amd64-tdep.c
+++ b/gdb/amd64-tdep.c
@@ -790,13 +790,12 @@ amd64_frame_cache (struct frame_info *next_frame, void **this_cache)
if (cache->frameless_p)
{
- /* We didn't find a valid frame, which means that CACHE->base
- currently holds the frame pointer for our calling frame. If
- we're at the start of a function, or somewhere half-way its
- prologue, the function's frame probably hasn't been fully
- setup yet. Try to reconstruct the base address for the stack
- frame by looking at the stack pointer. For truly "frameless"
- functions this might work too. */
+ /* We didn't find a valid frame. If we're at the start of a
+ function, or somewhere half-way its prologue, the function's
+ frame probably hasn't been fully setup yet. Try to
+ reconstruct the base address for the stack frame by looking
+ at the stack pointer. For truly "frameless" functions this
+ might work too. */
frame_unwind_register (next_frame, AMD64_RSP_REGNUM, buf);
cache->base = extract_unsigned_integer (buf, 8) + cache->sp_offset;