From: Mark Kettenis Date: Sat, 5 Mar 2005 20:58:14 +0000 (+0000) Subject: * sparc64-tdep.c (sparc64_store_floating_fields): Constify third X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e219d7ceb61e05f526b8f523e10d78731fae34e2;p=binutils-gdb.git * sparc64-tdep.c (sparc64_store_floating_fields): Constify third argument. (sparc64_store_arguments): Constify. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 21bc6b7fc12..f68cc6d6f8e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2005-03-05 Mark Kettenis + + * sparc64-tdep.c (sparc64_store_floating_fields): Constify third + argument. + (sparc64_store_arguments): Constify. + 2005-03-05 Mark Kettenis * alphabsd-nat.c: Update copyright year. Include "inf-ptrace.h". diff --git a/gdb/sparc64-tdep.c b/gdb/sparc64-tdep.c index 079022de1ac..fbef9a9707c 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;