aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-tdep.c
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 /gdb/sparc-tdep.c
parentb3eb342c7cf0c39453ce006808818edff921489a (diff)
downloadgdb-3923a2b2ac386c97467add7353e39c7f1030f34d.zip
gdb-3923a2b2ac386c97467add7353e39c7f1030f34d.tar.gz
gdb-3923a2b2ac386c97467add7353e39c7f1030f34d.tar.bz2
* sparc-tdep.c: Make some comments catch up with reality.
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r--gdb/sparc-tdep.c8
1 files changed, 4 insertions, 4 deletions
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,