aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68kbsd-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-05-14 13:14:00 +0000
committerMark Kettenis <kettenis@gnu.org>2005-05-14 13:14:00 +0000
commitf5cf7aa126d3ebfe1bf2935095c34d3ca0cd504c (patch)
treea220135f6c85ac3f860ffb8cfcca0fa3deb1a4ff /gdb/m68kbsd-tdep.c
parent8dccaca313c13c8d24fe3a8b636bfd6a42b4b323 (diff)
downloadgdb-f5cf7aa126d3ebfe1bf2935095c34d3ca0cd504c.zip
gdb-f5cf7aa126d3ebfe1bf2935095c34d3ca0cd504c.tar.gz
gdb-f5cf7aa126d3ebfe1bf2935095c34d3ca0cd504c.tar.bz2
* m68k-tdep.c (m68k_local_breakpoint_from_pc): Change return type
to `const gdb_byte *'. Use gdb_byte for break_insn. (m68k_register_to_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for from. (m68k_value_to_register): Change type of last argument to `gdb_byte *'. Use gdb_byte for to. (m68k_extract_return_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for buf. Remove unnecessary cast. (m68k_svr4_extract_return_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for buf. (m68k_store_return_value): Change type of last argument to `gdb_byte *'. Remove unnecessary cast. (m68k_svr4_store_return_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for buf. (m68k_return_value, m68k_svr4_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. (m68k_push_dummy_call, m68k_unwind_pc, m68k_frame_cache) (m68k_unwind_dummy_id): Use gdb_byte for buf. (m68k_get_longjmp_target): Use `gdb_byte *' for buf. * m68kbsd-tdep.c (m68kbsd_supply_fpregset) (m68kbsd_supply_gregset): Use `gdb_byte *' for regs.
Diffstat (limited to 'gdb/m68kbsd-tdep.c')
-rw-r--r--gdb/m68kbsd-tdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/m68kbsd-tdep.c b/gdb/m68kbsd-tdep.c
index 4ae4d42..73d968c 100644
--- a/gdb/m68kbsd-tdep.c
+++ b/gdb/m68kbsd-tdep.c
@@ -1,6 +1,6 @@
/* Target-dependent code for Motorola 68000 BSD's.
- Copyright 2004 Free Software Foundation, Inc.
+ Copyright 2004, 2005 Free Software Foundation, Inc.
This file is part of GDB.
@@ -57,7 +57,7 @@ m68kbsd_supply_fpregset (const struct regset *regset,
struct regcache *regcache,
int regnum, const void *fpregs, size_t len)
{
- const char *regs = fpregs;
+ const gdb_byte *regs = fpregs;
int i;
gdb_assert (len >= M68KBSD_SIZEOF_FPREGS);
@@ -78,7 +78,7 @@ m68kbsd_supply_gregset (const struct regset *regset,
struct regcache *regcache,
int regnum, const void *gregs, size_t len)
{
- const char *regs = gregs;
+ const gdb_byte *regs = gregs;
int i;
gdb_assert (len >= M68KBSD_SIZEOF_GREGS);