This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Undefined uintptr_t with mingw


[I changed the subject to include "gdbserver" in the subject]

> diff -ur gdb-7.2orig/gdb/gdbserver/win32-low.c gdb-7.2/gdb/gdbserver/win32-low.c
> --- gdb-7.2orig/gdb/gdbserver/win32-low.c	2010-12-21 16:27:10.000000000 +0100
> +++ gdb-7.2/gdb/gdbserver/win32-low.c	2010-12-21 17:21:56.000000000 +0100
> @@ -33,6 +33,7 @@
>  #include <sys/param.h>
>  #include <malloc.h>
>  #include <process.h>
> +#include <stdint.h>

Pedro is the current expert for gdbserver, so please wait for his
review, but I'm thinking that we should probably do the same as GDB,
which is include stdlib in the gdbserver equivalent of defs.h (i.e.
server.h).

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]