From 3923a2b2ac386c97467add7353e39c7f1030f34d Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Wed, 20 Aug 2008 09:43:16 +0000 Subject: [PATCH] * sparc-tdep.c: Make some comments catch up with reality. --- gdb/ChangeLog | 4 ++++ gdb/sparc-tdep.c | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3ebcaaee9fb..22e5275b325 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-08-20 Mark Kettenis + + * sparc-tdep.c: Make some comments catch up with reality. + 2008-08-20 Vladimir Prus * NEWS: Mention 'set target-async' diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index 898e96f835e..ff2feecb86f 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, -- 2.30.2