daily update
[deliverable/binutils-gdb.git] / gdb / arm-tdep.c
index 44af314a7ede5f9e4ed30b219974749efcd992f8..69547898514adb4bc36bb3fb34f7af526a4db0b3 100644 (file)
@@ -953,7 +953,7 @@ arm_prologue_prev_register (struct frame_info *next_frame,
                            enum lval_type *lvalp,
                            CORE_ADDR *addrp,
                            int *realnump,
-                           void *valuep)
+                           gdb_byte *valuep)
 {
   struct arm_prologue_cache *cache;
 
@@ -1113,7 +1113,7 @@ arm_sigtramp_prev_register (struct frame_info *next_frame,
                            enum lval_type *lvalp,
                            CORE_ADDR *addrp,
                            int *realnump,
-                           void *valuep)
+                           gdb_byte *valuep)
 {
   struct arm_prologue_cache *cache;
 
@@ -2013,12 +2013,9 @@ arm_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr)
    format, into VALBUF.  */
 
 static void
-arm_extract_return_value (struct type *type,
-                         struct regcache *regs,
-                         void *dst)
+arm_extract_return_value (struct type *type, struct regcache *regs,
+                         gdb_byte *valbuf)
 {
-  bfd_byte *valbuf = dst;
-
   if (TYPE_CODE_FLT == TYPE_CODE (type))
     {
       switch (gdbarch_tdep (current_gdbarch)->fp_model)
@@ -2210,10 +2207,8 @@ arm_use_struct_convention (int gcc_p, struct type *type)
 
 static void
 arm_store_return_value (struct type *type, struct regcache *regs,
-                       const void *src)
+                       const gdb_byte *valbuf)
 {
-  const bfd_byte *valbuf = src;
-
   if (TYPE_CODE (type) == TYPE_CODE_FLT)
     {
       char buf[MAX_REGISTER_SIZE];
@@ -2486,7 +2481,7 @@ arm_register_name (int i)
 static void
 set_disassembly_style (void)
 {
-  const char *setname, *setdesc, **regnames;
+  const char *setname, *setdesc, *const *regnames;
   int numregs, j;
 
   /* Find the style that the user wants in the opcodes table.  */
@@ -2880,7 +2875,7 @@ _initialize_arm_tdep (void)
   struct cmd_list_element *new_set, *new_show;
   const char *setname;
   const char *setdesc;
-  const char **regnames;
+  const char *const *regnames;
   int numregs, i, j;
   static char *helptext;
   char regdesc[1024], *rdptr = regdesc;
This page took 0.029435 seconds and 4 git commands to generate.