This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Unconsitify collect_regset_ftype argument
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 30 May 2004 00:29:10 +0200 (CEST)
- Subject: [PATCH] Unconsitify collect_regset_ftype argument
We're supposed to store something in there, so this can't be const.
Committed as obvious.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* regset.h (collect_regset_ftype): Unconstify fourth argument.
Index: regset.h
===================================================================
RCS file: /cvs/src/src/gdb/regset.h,v
retrieving revision 1.6
diff -u -p -r1.6 regset.h
--- regset.h 23 May 2004 22:42:59 -0000 1.6
+++ regset.h 29 May 2004 22:27:16 -0000
@@ -31,7 +31,7 @@ typedef void (supply_regset_ftype) (cons
int, const void *, size_t);
typedef void (collect_regset_ftype) (const struct regset *,
const struct regcache *,
- int, const void *, size_t);
+ int, void *, size_t);
struct regset
{