summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-06-12 12:53:55 +0000
committerMark Kettenis <kettenis@gnu.org>2005-06-12 12:53:55 +0000
commit5b81956883339ad43e09d3e3a4a6f9bc54f4727c (patch)
tree7170c5136febf9901adbea0c507d2718b131d87e
parent9af75ef6c314d3582eec8586b47ed68173813e1c (diff)
downloadbinutils-gdb-5b81956883339ad43e09d3e3a4a6f9bc54f4727c.tar.gz
* 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.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/alpha-mdebug-tdep.c2
-rw-r--r--gdb/alpha-tdep.c12
3 files changed, 14 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 80c56790f2f..15ee8aceb8e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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 *'.
diff --git a/gdb/alpha-mdebug-tdep.c b/gdb/alpha-mdebug-tdep.c
index 3e0066693b5..2ec8b21f6fa 100644
--- a/gdb/alpha-mdebug-tdep.c
+++ b/gdb/alpha-mdebug-tdep.c
@@ -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);
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index e7d965b4407..141f57651a1 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -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);