OSDN Git Service

* amd64-tdep.c (amd64_frame_cache): Fix comment.
authorkettenis <kettenis>
Sat, 28 Feb 2004 18:07:57 +0000 (18:07 +0000)
committerkettenis <kettenis>
Sat, 28 Feb 2004 18:07:57 +0000 (18:07 +0000)
gdb/ChangeLog
gdb/amd64-tdep.c

index 7a09b8c..749bec1 100644 (file)
@@ -1,3 +1,7 @@
+2004-02-28  Mark Kettenis  <kettenis@gnu.org>
+
+       * amd64-tdep.c (amd64_frame_cache): Fix comment.
+
 2004-02-28  Andrew Cagney  <cagney@redhat.com>
 
        * utils.c: Use "", instead of <>, to include readline.
index 46ee806..0e44668 100644 (file)
@@ -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;