mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 14:59:31 +08:00
* udip2soc.c (UDIConnect): replace union wait with int.
This commit is contained in:
@ -305,7 +305,7 @@ UDIConnect(Config, Session)
|
|||||||
{ /* if connect() fails assume TIP not yet started */
|
{ /* if connect() fails assume TIP not yet started */
|
||||||
/*------------------------------------------------------------ AF_UNIX EXEC */
|
/*------------------------------------------------------------ AF_UNIX EXEC */
|
||||||
int pid;
|
int pid;
|
||||||
union wait statusp;
|
int statusp;
|
||||||
char *arg0;
|
char *arg0;
|
||||||
|
|
||||||
arg0 = strrchr(soc_con[cnt].tip_exe,'/');
|
arg0 = strrchr(soc_con[cnt].tip_exe,'/');
|
||||||
@ -380,7 +380,7 @@ UDIConnect(Config, Session)
|
|||||||
= htons(atoi(soc_con[cnt].tip_exe));
|
= htons(atoi(soc_con[cnt].tip_exe));
|
||||||
|
|
||||||
if (connect(soc_con[cnt].dfe_sd,
|
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)))
|
sizeof(soc_con[cnt].tip_sockaddr_in)))
|
||||||
{
|
{
|
||||||
sprintf(dfe_errmsg, "DFE-ipc ERROR, connect() call failed %s ",
|
sprintf(dfe_errmsg, "DFE-ipc ERROR, connect() call failed %s ",
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
Fri Apr 30 16:50:38 1993 K. Richard Pixley (rich@rtl.cygnus.com)
|
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
|
* config/sparc/sun4sol2.mh (XM_CLIBS): add -lsocket which is
|
||||||
required target ports which use sockets (like a29k-udi).
|
required target ports which use sockets (like a29k-udi).
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user