From: Corinna Vinschen Date: Tue, 13 Dec 2005 10:06:37 +0000 (+0000) Subject: * h8300-tdep.c (h8300_frame_prev_register): Change valuep type to X-Git-Tag: gdb-csl-20060226-branchpoint~549 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d0d05b6317fd2635564b0c6b5e80baf5f3cb76c;p=external%2Fbinutils.git * h8300-tdep.c (h8300_frame_prev_register): Change valuep type to gdb_byte *. (h8300_push_dummy_call): Change `padded' to gdb_byte. (h8300_return_value): Change buffer types to gdb_byte. (h8300h_return_value): Ditto. (h8300_pseudo_register_read): Ditto. (h8300_pseudo_register_write): Ditto. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6f77cb1..0170870 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,15 @@ 2005-12-13 Corinna Vinschen + * h8300-tdep.c (h8300_frame_prev_register): Change valuep type to + gdb_byte *. + (h8300_push_dummy_call): Change `padded' to gdb_byte. + (h8300_return_value): Change buffer types to gdb_byte. + (h8300h_return_value): Ditto. + (h8300_pseudo_register_read): Ditto. + (h8300_pseudo_register_write): Ditto. + +2005-12-13 Corinna Vinschen + * v850-tdep.c (v850_frame_prev_register): Change valuep type to gdb_byte *. diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c index 6b74ca7..822839d 100644 --- a/gdb/h8300-tdep.c +++ b/gdb/h8300-tdep.c @@ -500,7 +500,7 @@ static void h8300_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 h8300_frame_cache *cache = h8300_frame_cache (next_frame, this_cache); @@ -685,7 +685,7 @@ h8300_push_dummy_call (struct gdbarch *gdbarch, struct value *function, /* Pad the argument appropriately. */ int padded_len = align_up (len, wordsize); - char *padded = alloca (padded_len); + gdb_byte *padded = alloca (padded_len); memset (padded, 0, padded_len); memcpy (len < wordsize ? padded + padded_len - len : padded, @@ -905,7 +905,7 @@ h8300h_store_return_value (struct type *type, struct regcache *regcache, static enum return_value_convention h8300_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, - void *readbuf, const void *writebuf) + gdb_byte *readbuf, const gdb_byte *writebuf) { if (h8300_use_struct_convention (type)) return RETURN_VALUE_STRUCT_CONVENTION; @@ -919,7 +919,7 @@ h8300_return_value (struct gdbarch *gdbarch, struct type *type, static enum return_value_convention h8300h_return_value (struct gdbarch *gdbarch, struct type *type, struct regcache *regcache, - void *readbuf, const void *writebuf) + gdb_byte *readbuf, const gdb_byte *writebuf) { if (h8300h_use_struct_convention (type)) { @@ -1145,7 +1145,8 @@ h8300_register_type (struct gdbarch *gdbarch, int regno) static void h8300_pseudo_register_read (struct gdbarch *gdbarch, - struct regcache *regcache, int regno, void *buf) + struct regcache *regcache, int regno, + gdb_byte *buf) { if (regno == E_PSEUDO_CCR_REGNUM) regcache_raw_read (regcache, E_CCR_REGNUM, buf); @@ -1158,7 +1159,7 @@ h8300_pseudo_register_read (struct gdbarch *gdbarch, static void h8300_pseudo_register_write (struct gdbarch *gdbarch, struct regcache *regcache, int regno, - const void *buf) + const gdb_byte *buf) { if (regno == E_PSEUDO_CCR_REGNUM) regcache_raw_write (regcache, E_CCR_REGNUM, buf);