diff options
author | Stu Grossman <grossman@cygnus> | 1992-11-18 22:51:58 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1992-11-18 22:51:58 +0000 |
commit | b5a3d2aac6f222e99d007f0f8276958128901d3e (patch) | |
tree | 83ffed698ff56d149eda25dcfe337aec0d3ad42d /gdb/29k-share | |
parent | 2e66cf7d6d84711159b3091ba693a969e6ecb50b (diff) | |
download | gdb-b5a3d2aac6f222e99d007f0f8276958128901d3e.zip gdb-b5a3d2aac6f222e99d007f0f8276958128901d3e.tar.gz gdb-b5a3d2aac6f222e99d007f0f8276958128901d3e.tar.bz2 |
* infcmd.c (set_environment_command): Make set env FOO x=y work.
Fix from maj@lucid.com.
* remote-udi.c (udi_open): Reset vars so that user can re-run
programs without leaving GDB.
* (many routines): Slightly improve error handling.
* (download): Zero out BSS by longs instead of bytes to avoid
timeouts in real hardware.
* 29k-share/udi/udip2soc.c (UDIDisconnect, UDIKill): Indicate
that connection is no longer in use after shutdown() of socket.
This keeps GDB from dying of a SIGPIPE when you issue multiple
`target udi' commands.
Diffstat (limited to 'gdb/29k-share')
-rw-r--r-- | gdb/29k-share/udi/udip2soc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/29k-share/udi/udip2soc.c b/gdb/29k-share/udi/udip2soc.c index ff2d343..cadc074 100644 --- a/gdb/29k-share/udi/udip2soc.c +++ b/gdb/29k-share/udi/udip2soc.c @@ -462,6 +462,8 @@ UDIBool Terminate; sprintf(dfe_errmsg, "DFE-ipc WARNING: socket shutdown failed"); return UDIErrorIPCInternal; } + else + session[Session].soc_con_p->in_use = 0; udrs->udr_op = UDR_DECODE; /* receive all "out" parameters */ udr_UDIError(udrs, &dfe_errno); /* get any TIP error */ @@ -501,6 +503,8 @@ UDIInt32 Signal; sprintf(dfe_errmsg, "DFE-ipc WARNING: socket shutdown failed"); return UDIErrorIPCInternal; } + else + session[Session].soc_con_p->in_use = 0; udrs->udr_op = UDR_DECODE; /* receive all "out" parameters */ udr_UDIError(udrs, &dfe_errno); /* get any TIP error */ |