diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/sparc64-tdep.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 21bc6b7..f68cc6d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2005-03-05 Mark Kettenis <kettenis@janacek.sibelius.xs4all.nl> + + * sparc64-tdep.c (sparc64_store_floating_fields): Constify third + argument. + (sparc64_store_arguments): Constify. + 2005-03-05 Mark Kettenis <kettenis@gnu.org> * alphabsd-nat.c: Update copyright year. Include "inf-ptrace.h". diff --git a/gdb/sparc64-tdep.c b/gdb/sparc64-tdep.c index 079022d..fbef9a9 100644 --- a/gdb/sparc64-tdep.c +++ b/gdb/sparc64-tdep.c @@ -615,7 +615,7 @@ sparc64_16_byte_align_p (struct type *type) static void sparc64_store_floating_fields (struct regcache *regcache, struct type *type, - char *valbuf, int element, int bitpos) + const char *valbuf, int element, int bitpos) { gdb_assert (element < 16); @@ -853,7 +853,7 @@ sparc64_store_arguments (struct regcache *regcache, int nargs, for (i = 0; i < nargs; i++) { - char *valbuf = value_contents (args[i]); + const char *valbuf = value_contents (args[i]); struct type *type = value_type (args[i]); int len = TYPE_LENGTH (type); int regnum = -1; |