]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* remote-udi.c (udi_close, udi_detach, udi_kill): Add comments.
authorJim Kingdon <jkingdon@engr.sgi.com>
Fri, 28 Jan 1994 21:58:12 +0000 (21:58 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Fri, 28 Jan 1994 21:58:12 +0000 (21:58 +0000)
* 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.

gdb/ChangeLog
gdb/remote-udi.c

index ac1e0784774e4a51ac2ca418624ab86880a3d5fc..664c5f342e3935b65ce54d08dfb2f7937038c8ae 100644 (file)
@@ -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)
 
index c859d9c6fd45f878f79746cfb60276129c756bce..d4c634e7cbd8b639c2efa48e502024e3b114c657 100644 (file)
@@ -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;