This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] GDBserver compiler warnings patch
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: manjo at austin dot ibm dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 12 Jun 2005 01:38:31 +0200 (CEST)
- Subject: Re: [RFC] GDBserver compiler warnings patch
- References: <Pine.LNX.4.58.0506011237240.5282@lazy>
Date: Wed, 1 Jun 2005 12:39:21 -0500 (CDT)
From: Manoj Iyer <manjo@austin.ibm.com>
2005-06-01 Manoj Iyer <manjo@austin.ibm.com>
* gdbreplay.c: Added #include <sys/types.h>.
(remote_open): Change type of 'tmp' from int to socklen_t.
* remote-utils.c: Added #include <sys/types.h>.
(remote_open): Change type of 'tmp' from int to socklen_t.
* server.c: Change type of 'sig' from unsigned char to char.
I don't think we can assume socklen_t to be available on all systems,
although it probably is available on all systems supported by gdbserver.
Mark
P.S. Just noticed that Andrew recently patched ser-tcp.c to use it,
will investigate.