aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-05-01 00:31:02 +0000
committerK. Richard Pixley <rich@cygnus>1993-05-01 00:31:02 +0000
commit8317b39ff35ec4b6453e51931a26bed4aba9bfdd (patch)
tree9066450d69b78d650eb9df80522f6e9e321d1240 /gdb
parent13b464b2cf346b2c8b249b1c47bf34e23ad10d55 (diff)
downloadgdb-8317b39ff35ec4b6453e51931a26bed4aba9bfdd.zip
gdb-8317b39ff35ec4b6453e51931a26bed4aba9bfdd.tar.gz
gdb-8317b39ff35ec4b6453e51931a26bed4aba9bfdd.tar.bz2
* udip2soc.c (UDIConnect): replace union wait with int.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/29k-share/udi/udip2soc.c4
-rw-r--r--gdb/ChangeLog2
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/29k-share/udi/udip2soc.c b/gdb/29k-share/udi/udip2soc.c
index 93112ef..7ec2834 100644
--- a/gdb/29k-share/udi/udip2soc.c
+++ b/gdb/29k-share/udi/udip2soc.c
@@ -305,7 +305,7 @@ UDIConnect(Config, Session)
{ /* if connect() fails assume TIP not yet started */
/*------------------------------------------------------------ AF_UNIX EXEC */
int pid;
- union wait statusp;
+ int statusp;
char *arg0;
arg0 = strrchr(soc_con[cnt].tip_exe,'/');
@@ -380,7 +380,7 @@ UDIConnect(Config, Session)
= htons(atoi(soc_con[cnt].tip_exe));
if (connect(soc_con[cnt].dfe_sd,
- &soc_con[cnt].tip_sockaddr_in,
+ (struct sockaddr *) &soc_con[cnt].tip_sockaddr_in,
sizeof(soc_con[cnt].tip_sockaddr_in)))
{
sprintf(dfe_errmsg, "DFE-ipc ERROR, connect() call failed %s ",
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9957182..64addff 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
Fri Apr 30 16:50:38 1993 K. Richard Pixley (rich@rtl.cygnus.com)
+ * udip2soc.c (UDIConnect): replace union wait with int.
+
* config/sparc/sun4sol2.mh (XM_CLIBS): add -lsocket which is
required target ports which use sockets (like a29k-udi).