This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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
 {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]