From: Jim Kingdon Date: Fri, 28 Jan 1994 21:58:12 +0000 (+0000) Subject: * remote-udi.c (udi_close, udi_detach, udi_kill): Add comments. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=97cc042806e29d19ea8f8082337a03f2a716495b;p=binutils-gdb.git * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ac1e0784774..664c5f342e3 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 c859d9c6fd4..d4c634e7cbd 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;