aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh64-tdep.c
diff options
context:
space:
mode:
authorAndrew Stubbs <andrew.stubbs@st.com>2005-11-02 15:22:24 +0000
committerAndrew Stubbs <andrew.stubbs@st.com>2005-11-02 15:22:24 +0000
commit18cf8b5b37bea79e24868845c201571abee4d8c5 (patch)
treed0896a67f046a297305da634fd3c0d9618cc5a75 /gdb/sh64-tdep.c
parente0ac7199c40d6c47ca1473fd2683e1e72fa19bc9 (diff)
downloadgdb-18cf8b5b37bea79e24868845c201571abee4d8c5.zip
gdb-18cf8b5b37bea79e24868845c201571abee4d8c5.tar.gz
gdb-18cf8b5b37bea79e24868845c201571abee4d8c5.tar.bz2
2005-11-02 Andrew Stubbs <andrew.stubbs@st.com>
* monitor.c (monitor_xfer_memory): Change char to gdb_byte. (monitor_insert_breakpoint): Likewise. (monitor_remove_breakpoint): Likewise. * remote-e7000.c (e7000_xfer_inferior_memory): Likewise. * sh-tdep.c (sh_return_value_nofpu): Change void to gdb_byte. (sh_return_value_fpu): Likewise. (sh_pseudo_register_read): Likewise. (sh_pseudo_register_write): Likewise. (sh_frame_prev_register): Likewise. * sh64-tdep.c (sh64_extract_return_value): Change char to gdb_byte. (sh64_return_value): Change void to gdb_byte. (sh64_pseudo_register_read): Likewise. (sh64_pseudo_register_write): Likewise. (sh64_frame_prev_register): Likewise.
Diffstat (limited to 'gdb/sh64-tdep.c')
-rw-r--r--gdb/sh64-tdep.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/sh64-tdep.c b/gdb/sh64-tdep.c
index 7f5aa90..1de8764 100644
--- a/gdb/sh64-tdep.c
+++ b/gdb/sh64-tdep.c
@@ -1228,9 +1228,9 @@ sh64_extract_return_value (struct type *type, struct regcache *regcache,
{
/* return value stored in DR0_REGNUM */
DOUBLEST val;
- char buf[8];
+ gdb_byte buf[8];
- regcache_cooked_read (regcache, DR0_REGNUM, &buf);
+ regcache_cooked_read (regcache, DR0_REGNUM, buf);
if (TARGET_BYTE_ORDER == BFD_ENDIAN_LITTLE)
floatformat_to_doublest (&floatformat_ieee_double_littlebyte_bigword,
@@ -1313,7 +1313,7 @@ sh64_store_return_value (struct type *type, struct regcache *regcache,
static enum return_value_convention
sh64_return_value (struct gdbarch *gdbarch, struct type *type,
struct regcache *regcache,
- void *readbuf, const void *writebuf)
+ gdb_byte *readbuf, const gdb_byte *writebuf)
{
if (sh64_use_struct_convention (type))
return RETURN_VALUE_STRUCT_CONVENTION;
@@ -1575,7 +1575,7 @@ sh64_register_convert_to_raw (struct type *type, int regnum,
static void
sh64_pseudo_register_read (struct gdbarch *gdbarch, struct regcache *regcache,
- int reg_nr, void *buffer)
+ int reg_nr, gdb_byte *buffer)
{
int base_regnum;
int portion;
@@ -1744,7 +1744,7 @@ sh64_pseudo_register_read (struct gdbarch *gdbarch, struct regcache *regcache,
static void
sh64_pseudo_register_write (struct gdbarch *gdbarch, struct regcache *regcache,
- int reg_nr, const void *buffer)
+ int reg_nr, const gdb_byte *buffer)
{
int base_regnum, portion;
int offset;
@@ -2290,7 +2290,7 @@ static void
sh64_frame_prev_register (struct frame_info *next_frame, void **this_cache,
int regnum, int *optimizedp,
enum lval_type *lvalp, CORE_ADDR *addrp,
- int *realnump, void *valuep)
+ int *realnump, gdb_byte *valuep)
{
struct sh64_frame_cache *cache = sh64_frame_cache (next_frame, this_cache);