summaryrefslogtreecommitdiff
path: root/gdb/m32r-linux-tdep.c
diff options
context:
space:
mode:
authorKazuhiro Inaoka <inaoka.kazuhiro@renesas.com>2005-11-08 05:54:22 +0000
committerKazuhiro Inaoka <inaoka.kazuhiro@renesas.com>2005-11-08 05:54:22 +0000
commit6d72535ca3684e29f65e0c9b13fee8b82f161a7e (patch)
treede8a78e36531f1964f376e1bc4a31daee6847379 /gdb/m32r-linux-tdep.c
parentd28610b9c8ddd376b60aababaca705c3aaa43a64 (diff)
downloadgdb-6d72535ca3684e29f65e0c9b13fee8b82f161a7e.tar.gz
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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/m32r-linux-tdep.c b/gdb/m32r-linux-tdep.c
index a4f407f9942..3d4aed43704 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);