aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-01-28 21:58:12 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-01-28 21:58:12 +0000
commit97cc042806e29d19ea8f8082337a03f2a716495b (patch)
treec4a6cabee40bb41559b84e955e8fcb245aa752db
parent39f08524165c4011bee17f7d5183703521f0c5e1 (diff)
downloadgdb-97cc042806e29d19ea8f8082337a03f2a716495b.zip
gdb-97cc042806e29d19ea8f8082337a03f2a716495b.tar.gz
gdb-97cc042806e29d19ea8f8082337a03f2a716495b.tar.bz2
* remote-udi.c (udi_close, udi_detach, udi_kill): Add comments.
* infptrace.c (kill_inferior): Add comments. * main.c (quit_command): Call target_close after we kill or detach. * remote-udi.c (udi_close): Don't error() if QUITTING.
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/remote-udi.c9
2 files changed, 14 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ac1e078..664c5f3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,13 +1,19 @@
Fri Jan 28 15:40:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
+ * remote-bug.c (bug_ops): Remove spurious newline from docstring.
+
* config/m68k/tm-monitor.h: Changes to bring this into accordance
with the old tm-m68k-em.h:
(GDBINIT_FILENAME, DEFAULT_PROMPT): Remove.
- (HAVE_68881): Don't undefine; this #define is obsolete.
+ (HAVE_68881): Don't undefine; HAVE_68881 is obsolete.
(REGISTER_NAMES): Don't muck with it; what tm-m68k.h has is fine.
Add FIXME regarding GET_LONGJMP_TARGET.
* remote-udi.c (udi_close, udi_detach, udi_kill): Add comments.
+ * infptrace.c (kill_inferior): Add comments.
+ * main.c (quit_command): Call target_close after we kill or
+ detach.
+ * remote-udi.c (udi_close): Don't error() if QUITTING.
Fri Jan 28 11:55:52 1994 Rob Savoye (rob@darkstar.cygnus.com)
diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c
index c859d9c..d4c634e 100644
--- a/gdb/remote-udi.c
+++ b/gdb/remote-udi.c
@@ -303,10 +303,15 @@ udi_close (quitting) /*FIXME: how is quitting used */
return;
/* We should never get here if there isn't something valid in
- udi_session_id. */
+ udi_session_id. */
if (UDIDisconnect (udi_session_id, UDITerminateSession))
- error ("UDIDisconnect() failed in udi_close");
+ {
+ if (quitting)
+ warning ("UDIDisconnect() failed in udi_close");
+ else
+ error ("UDIDisconnect() failed in udi_close");
+ }
/* Do not try to close udi_session_id again, later in the program. */
udi_session_id = -1;