This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFC] GDBserver compiler warnings patch


   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.


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