aboutsummaryrefslogtreecommitdiff
path: root/gdb/amd64fbsd-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-05-08 22:07:27 +0000
committerMark Kettenis <kettenis@gnu.org>2005-05-08 22:07:27 +0000
commit4252dc94bdafcf25eaa62721d12d403737598005 (patch)
tree94c3f28dca61b98488144197893a46dbe161471f /gdb/amd64fbsd-tdep.c
parentd46bfb5c37b47361f9a357f493fb74133009cb4a (diff)
downloadgdb-4252dc94bdafcf25eaa62721d12d403737598005.zip
gdb-4252dc94bdafcf25eaa62721d12d403737598005.tar.gz
gdb-4252dc94bdafcf25eaa62721d12d403737598005.tar.bz2
* i386-linux-tdep.c (linux_sigtramp_code, linux_rt_sigtramp_code):
Change type to `static const gdb_byte'. (i386_linux_sigtramp_start, i386_linux_rt_sigtramp_start) (i386_linux_sigcontext_addr): Use gdb_byte for buf. * amd64-linux-tdep.c (linux_sigtramp_code): Change type to `static const gdb_byte'. (amd64_linux_sigtramp_start, amd64_linux_sigcontext_addr): Use gdb_byte for buf. * amd64fbsd-tdep.c (amd64fbsd_supply_uthread) (amd64fbsd_collect_uthread): Use gdb_byte for buf.
Diffstat (limited to 'gdb/amd64fbsd-tdep.c')
-rw-r--r--gdb/amd64fbsd-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/amd64fbsd-tdep.c b/gdb/amd64fbsd-tdep.c
index 7d32894..d734955 100644
--- a/gdb/amd64fbsd-tdep.c
+++ b/gdb/amd64fbsd-tdep.c
@@ -146,7 +146,7 @@ static void
amd64fbsd_supply_uthread (struct regcache *regcache,
int regnum, CORE_ADDR addr)
{
- char buf[8];
+ gdb_byte buf[8];
int i;
gdb_assert (regnum >= -1);
@@ -166,7 +166,7 @@ static void
amd64fbsd_collect_uthread (const struct regcache *regcache,
int regnum, CORE_ADDR addr)
{
- char buf[8];
+ gdb_byte buf[8];
int i;
gdb_assert (regnum >= -1);