aboutsummaryrefslogtreecommitdiff
path: root/gdb/bsd-uthread.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-07-04 13:38:55 +0000
committerMark Kettenis <kettenis@gnu.org>2005-07-04 13:38:55 +0000
commitdf80278b799985481340cc3fefba4ba5737a7cf2 (patch)
treed480f0652a7cb1835b96832dbd347113ffa95e6d /gdb/bsd-uthread.c
parent1754f103e6323b908fc004d992930933a04183ce (diff)
downloadgdb-df80278b799985481340cc3fefba4ba5737a7cf2.zip
gdb-df80278b799985481340cc3fefba4ba5737a7cf2.tar.gz
gdb-df80278b799985481340cc3fefba4ba5737a7cf2.tar.bz2
* i386nbsd-nat.c (i386nbsd_supply_pcb): Cast to 'gdb_byte *' in
read_memory call. * bsd-uthread.c (bsd_uthread_wait): Use gdb_byte for byte buffer.
Diffstat (limited to 'gdb/bsd-uthread.c')
-rw-r--r--gdb/bsd-uthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/bsd-uthread.c b/gdb/bsd-uthread.c
index 691d2b5..aa3425d 100644
--- a/gdb/bsd-uthread.c
+++ b/gdb/bsd-uthread.c
@@ -343,7 +343,7 @@ bsd_uthread_wait (ptid_t ptid, struct target_waitstatus *status)
builtin_type_void_data_ptr);
if (addr != 0)
{
- char buf[4];
+ gdb_byte buf[4];
/* FIXME: For executables linked statically with the threads
library, we end up here before the program has actually been