aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog10
-rw-r--r--gdb/ser-tcp.c2
2 files changed, 11 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6efb4be..1ed5a54 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,13 @@
+Thu Dec 22 09:27:16 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
+
+ * ser-tcp.c (tcp_open): Cast to struct sockaddr when passing to
+ function which expects that.
+
+Thu Dec 22 13:25:33 1994 J.T. Conklin (jtc@rtl.cygnus.com)
+
+ * nlm/gdbserve.c, nlm/ppc.c, nlm/ppc.h: Don't try to use
+ ALTERNATE_MEM_FUNCS.
+
Wed Dec 21 14:00:26 1994 Rob Savoye <rob@darkstar.cygnus.com>
* monitor.c: Now supports xmodem as a remoteloadprotocol.
diff --git a/gdb/ser-tcp.c b/gdb/ser-tcp.c
index 7e5735b..db9daa2 100644
--- a/gdb/ser-tcp.c
+++ b/gdb/ser-tcp.c
@@ -95,7 +95,7 @@ tcp_open(scb, name)
memcpy (&sockaddr.sin_addr.s_addr, hostent->h_addr,
sizeof (struct in_addr));
- if (connect (scb->fd, &sockaddr, sizeof(sockaddr)))
+ if (connect (scb->fd, (struct sockaddr *) &sockaddr, sizeof(sockaddr)))
{
close(scb->fd);
scb->fd = -1;