* sparc64-tdep.c (sparc64_store_floating_fields): Constify third
authorMark Kettenis <kettenis@gnu.org>
Sat, 5 Mar 2005 20:58:14 +0000 (20:58 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sat, 5 Mar 2005 20:58:14 +0000 (20:58 +0000)
argument.
(sparc64_store_arguments): Constify.

gdb/ChangeLog
gdb/sparc64-tdep.c

index 21bc6b7fc12638d0829d32881d7f19e893b3f9d5..f68cc6d6f8e72bdbafb07c72d80c879d3e36e336 100644 (file)
@@ -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".
index 079022de1ac35d721f1e39f42167301fdbae7ee0..fbef9a9707c608db03daa81a663f065bf1359406 100644 (file)
@@ -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;
This page took 0.026227 seconds and 4 git commands to generate.