[PATCH] Fix comment in amd64-tdep.c
Mark Kettenis
kettenis@chello.nl
Sat Feb 28 18:06:00 GMT 2004
Now reflects reality again.
Committed,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* amd64-tdep.c (amd64_frame_cache): Fix comment.
Index: amd64-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/amd64-tdep.c,v
retrieving revision 1.1
diff -u -p -r1.1 amd64-tdep.c
--- amd64-tdep.c 25 Feb 2004 20:45:30 -0000 1.1
+++ amd64-tdep.c 28 Feb 2004 18:05:18 -0000
@@ -790,13 +790,12 @@ amd64_frame_cache (struct frame_info *ne
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;
More information about the Gdb-patches
mailing list