aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2008-08-20 09:43:16 +0000
committerMark Kettenis <kettenis@gnu.org>2008-08-20 09:43:16 +0000
commit3923a2b2ac386c97467add7353e39c7f1030f34d (patch)
treef8a9ac5ee51c1c7f4c8dc1786f950d6eb7431722
parentb3eb342c7cf0c39453ce006808818edff921489a (diff)
downloadfsf-binutils-gdb-3923a2b2ac386c97467add7353e39c7f1030f34d.zip
fsf-binutils-gdb-3923a2b2ac386c97467add7353e39c7f1030f34d.tar.gz
fsf-binutils-gdb-3923a2b2ac386c97467add7353e39c7f1030f34d.tar.bz2
* sparc-tdep.c: Make some comments catch up with reality.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/sparc-tdep.c8
2 files changed, 8 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3ebcaae..22e5275 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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'
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index 898e96f..ff2feec 100644
--- a/gdb/sparc-tdep.c
+++ b/gdb/sparc-tdep.c
@@ -1028,8 +1028,8 @@ sparc_dummy_id (struct gdbarch *gdbarch, struct frame_info *this_frame)
}
-/* 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,