* alpha-tdep.c (alpha_sigtramp_frame_prev_register)
authorMark Kettenis <kettenis@gnu.org>
Sun, 12 Jun 2005 12:53:55 +0000 (12:53 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 12 Jun 2005 12:53:55 +0000 (12:53 +0000)
(alpha_heuristic_frame_prev_register): Change type of last
argument to `gdb_byte *'.
(alpha_register_to_value, alpha_value_to_register)
(alpha_extract_return_value, alpha_store_return_value): Likewise.
* alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise.

gdb/ChangeLog
gdb/alpha-mdebug-tdep.c
gdb/alpha-tdep.c

index 80c56790f2f1bbbbc2c920c3e8ece52190934fca..15ee8aceb8e812e241184dcc6ab1fc85b0a439de 100644 (file)
@@ -1,5 +1,12 @@
 2005-06-12  Mark Kettenis  <kettenis@gnu.org>
 
+       * alpha-tdep.c (alpha_sigtramp_frame_prev_register)
+       (alpha_heuristic_frame_prev_register): Change type of last
+       argument to `gdb_byte *'.
+       (alpha_register_to_value, alpha_value_to_register) 
+       (alpha_extract_return_value, alpha_store_return_value): Likewise.
+       * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise.
+
        * arm-tdep.c (arm_prologue_prev_register)
        (arm_sigtramp_prev_register): Change type of last argument to
        `gdb_byte *'.
index 3e0066693b544842a5fefd16e4db31301787ebf4..2ec8b21f6fa7670f35c0ebbec50b9aa4c33e504a 100644 (file)
@@ -256,7 +256,7 @@ alpha_mdebug_frame_prev_register (struct frame_info *next_frame,
                                  void **this_prologue_cache,
                                  int regnum, int *optimizedp,
                                  enum lval_type *lvalp, CORE_ADDR *addrp,
-                                 int *realnump, void *bufferp)
+                                 int *realnump, gdb_byte *bufferp)
 {
   struct alpha_mdebug_unwind_cache *info
     = alpha_mdebug_frame_unwind_cache (next_frame, this_prologue_cache);
index e7d965b440719c6c213f8134c75c395792c83a40..141f57651a1f98320ef653ca4644698780117e96 100644 (file)
@@ -212,7 +212,7 @@ alpha_convert_register_p (int regno, struct type *type)
 
 static void
 alpha_register_to_value (struct frame_info *frame, int regnum,
-                        struct type *valtype, void *out)
+                        struct type *valtype, gdb_byte *out)
 {
   char in[MAX_REGISTER_SIZE];
   frame_register_read (frame, regnum, in);
@@ -231,7 +231,7 @@ alpha_register_to_value (struct frame_info *frame, int regnum,
 
 static void
 alpha_value_to_register (struct frame_info *frame, int regnum,
-                        struct type *valtype, const void *in)
+                        struct type *valtype, const gdb_byte *in)
 {
   char out[MAX_REGISTER_SIZE];
   switch (TYPE_LENGTH (valtype))
@@ -439,7 +439,7 @@ alpha_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
 
 static void
 alpha_extract_return_value (struct type *valtype, struct regcache *regcache,
-                           void *valbuf)
+                           gdb_byte *valbuf)
 {
   int length = TYPE_LENGTH (valtype);
   char raw_buffer[ALPHA_REGISTER_SIZE];
@@ -517,7 +517,7 @@ alpha_extract_struct_value_address (struct regcache *regcache)
 
 static void
 alpha_store_return_value (struct type *valtype, struct regcache *regcache,
-                         const void *valbuf)
+                         const gdb_byte *valbuf)
 {
   int length = TYPE_LENGTH (valtype);
   char raw_buffer[ALPHA_REGISTER_SIZE];
@@ -821,7 +821,7 @@ alpha_sigtramp_frame_prev_register (struct frame_info *next_frame,
                                    void **this_prologue_cache,
                                    int regnum, int *optimizedp,
                                    enum lval_type *lvalp, CORE_ADDR *addrp,
-                                   int *realnump, void *bufferp)
+                                   int *realnump, gdb_byte *bufferp)
 {
   struct alpha_sigtramp_unwind_cache *info
     = alpha_sigtramp_frame_unwind_cache (next_frame, this_prologue_cache);
@@ -1163,7 +1163,7 @@ alpha_heuristic_frame_prev_register (struct frame_info *next_frame,
                                     void **this_prologue_cache,
                                     int regnum, int *optimizedp,
                                     enum lval_type *lvalp, CORE_ADDR *addrp,
-                                    int *realnump, void *bufferp)
+                                    int *realnump, gdb_byte *bufferp)
 {
   struct alpha_heuristic_unwind_cache *info
     = alpha_heuristic_frame_unwind_cache (next_frame, this_prologue_cache, 0);