diff options
author | Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> | 2005-11-08 05:54:22 +0000 |
---|---|---|
committer | Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> | 2005-11-08 05:54:22 +0000 |
commit | 16ac4ab5a8d7c4998e8a2648a452df6e96e5e4ef (patch) | |
tree | dd14c285d90d4ee10f93228a3149db36945b6011 /gdb/m32r-linux-tdep.c | |
parent | 2fda21a6e3a55882772175026e18f3f8f4681c6e (diff) | |
download | gdb-16ac4ab5a8d7c4998e8a2648a452df6e96e5e4ef.zip gdb-16ac4ab5a8d7c4998e8a2648a452df6e96e5e4ef.tar.gz gdb-16ac4ab5a8d7c4998e8a2648a452df6e96e5e4ef.tar.bz2 |
2005-11-08 Kei Sakamoto <sakamoto.kei@renesas.com>
* m32r-linux-tdep.c (linux_sigtramp_code): Use 'gdb_byte' instead
of 'unsigned char'.
(m32r_linux_sigtramp_start): Likewise.
(linux_rt_sigtramp_code): Likewise.
(m32r_linux_rt_sigtramp_start): Likewise.
(m32r_linux_sigtramp_frame_prev_register): Use 'gdb_byte *' instead
of 'void *'.
* m32r-tdep.c (m32r_memory_insert_breakpoint): Use 'gdb_byte'
instead of 'char'.
(m32r_memory_remove_breakpoint): Likewise.
(m32r_breakpoint_from_pc): Likewise.
(m32r_store_return_value): Likewise.
(decode_prologue): Likewise.
(m32r_push_dummy_call): Likewise.
(m32r_return_value): Use 'gdb_byte *' instead of 'void *'.
* remote-m32r-sdi.c (m32r_xfer_memory): Use 'gdb_byte' instead of
'char'.
Diffstat (limited to 'gdb/m32r-linux-tdep.c')
-rw-r--r-- | gdb/m32r-linux-tdep.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/m32r-linux-tdep.c b/gdb/m32r-linux-tdep.c index a4f407f..3d4aed4 100644 --- a/gdb/m32r-linux-tdep.c +++ b/gdb/m32r-linux-tdep.c @@ -77,7 +77,7 @@ to the ones used by the kernel. Therefore, these trampolines are supported too. */ -static const unsigned char linux_sigtramp_code[] = { +static const gdb_byte linux_sigtramp_code[] = { 0x67, 0x77, 0x10, 0xf2, }; @@ -87,7 +87,7 @@ static const unsigned char linux_sigtramp_code[] = { static CORE_ADDR m32r_linux_sigtramp_start (CORE_ADDR pc, struct frame_info *next_frame) { - unsigned char buf[4]; + gdb_byte buf[4]; /* We only recognize a signal trampoline if PC is at the start of one of the instructions. We optimize for finding the PC at the @@ -125,7 +125,7 @@ m32r_linux_sigtramp_start (CORE_ADDR pc, struct frame_info *next_frame) The effect is to call the system call rt_sigreturn. */ -static const unsigned char linux_rt_sigtramp_code[] = { +static const gdb_byte linux_rt_sigtramp_code[] = { 0x97, 0xf0, 0x00, 0xad, 0x10, 0xf2, 0xf0, 0x00, }; @@ -135,7 +135,7 @@ static const unsigned char linux_rt_sigtramp_code[] = { static CORE_ADDR m32r_linux_rt_sigtramp_start (CORE_ADDR pc, struct frame_info *next_frame) { - unsigned char buf[4]; + gdb_byte buf[4]; /* We only recognize a signal trampoline if PC is at the start of one of the instructions. We optimize for finding the PC at the @@ -282,7 +282,7 @@ m32r_linux_sigtramp_frame_prev_register (struct frame_info *next_frame, int regnum, int *optimizedp, enum lval_type *lvalp, CORE_ADDR *addrp, - int *realnump, void *valuep) + int *realnump, gdb_byte *valuep) { struct m32r_frame_cache *cache = m32r_linux_sigtramp_frame_cache (next_frame, this_cache); |