aboutsummaryrefslogtreecommitdiff
path: root/gdb/avr-tdep.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-01-21 22:25:07 +0000
committerDaniel Jacobowitz <drow@false.org>2006-01-21 22:25:07 +0000
commit1f3a99d5577c094ca127a12a07978befebd2df1d (patch)
tree4040afb104438e42dff633e644605760fef868ed /gdb/avr-tdep.c
parent84eb3c4faebe0d2443ef27e5f20b6464b9441ca5 (diff)
downloadgdb-1f3a99d5577c094ca127a12a07978befebd2df1d.zip
gdb-1f3a99d5577c094ca127a12a07978befebd2df1d.tar.gz
gdb-1f3a99d5577c094ca127a12a07978befebd2df1d.tar.bz2
* avr-tdep.c (avr_address_to_pointer, avr_pointer_to_address)
(avr_extract_return_value, avr_frame_prev_register): Use gdb_byte.
Diffstat (limited to 'gdb/avr-tdep.c')
-rw-r--r--gdb/avr-tdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c
index 8ddc6a9..9c6566e 100644
--- a/gdb/avr-tdep.c
+++ b/gdb/avr-tdep.c
@@ -279,7 +279,7 @@ avr_convert_saddr_to_raw (CORE_ADDR x)
/* Convert from address to pointer and vice-versa. */
static void
-avr_address_to_pointer (struct type *type, void *buf, CORE_ADDR addr)
+avr_address_to_pointer (struct type *type, gdb_byte *buf, CORE_ADDR addr)
{
/* Is it a code address? */
if (TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_FUNC
@@ -297,7 +297,7 @@ avr_address_to_pointer (struct type *type, void *buf, CORE_ADDR addr)
}
static CORE_ADDR
-avr_pointer_to_address (struct type *type, const void *buf)
+avr_pointer_to_address (struct type *type, const gdb_byte *buf)
{
CORE_ADDR addr = extract_unsigned_integer (buf, TYPE_LENGTH (type));
@@ -823,7 +823,7 @@ avr_breakpoint_from_pc (CORE_ADDR * pcptr, int *lenptr)
static void
avr_extract_return_value (struct type *type, struct regcache *regcache,
- void *valbuf)
+ gdb_byte *valbuf)
{
ULONGEST r24, r25;
ULONGEST c;
@@ -975,7 +975,7 @@ avr_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 avr_unwind_cache *info
= avr_frame_unwind_cache (next_frame, this_prologue_cache);