* sparc-tdep.c: Make some comments catch up with reality.
authorMark Kettenis <kettenis@gnu.org>
Wed, 20 Aug 2008 09:43:16 +0000 (09:43 +0000)
committerMark Kettenis <kettenis@gnu.org>
Wed, 20 Aug 2008 09:43:16 +0000 (09:43 +0000)
gdb/ChangeLog
gdb/sparc-tdep.c

index 3ebcaae..22e5275 100644 (file)
@@ -1,3 +1,7 @@
+2008-08-20  Mark Kettenis  <kettenis@gnu.org>
+
+       * sparc-tdep.c: Make some comments catch up with reality.
+
 2008-08-20  Vladimir Prus  <vladimir@codesourcery.com>
 
        * NEWS: Mention 'set target-async'
index 898e96f..ff2feec 100644 (file)
@@ -1028,8 +1028,8 @@ sparc_dummy_id (struct gdbarch *gdbarch, struct frame_info *this_frame)
 }
 \f
 
-/* Extract from an array REGBUF containing the (raw) register state, a
-   function return value of TYPE, and copy that into VALBUF.  */
+/* Extract a function return value of TYPE from REGCACHE, and copy
+   that into VALBUF.  */
 
 static void
 sparc32_extract_return_value (struct type *type, struct regcache *regcache,
@@ -1070,8 +1070,8 @@ sparc32_extract_return_value (struct type *type, struct regcache *regcache,
     }
 }
 
-/* Write into the appropriate registers a function return value stored
-   in VALBUF of type TYPE.  */
+/* Store the function return value of type TYPE from VALBUF into
+   REGCACHE.  */
 
 static void
 sparc32_store_return_value (struct type *type, struct regcache *regcache,