From b09f44d2c9417455438d9d68baa11682f522c500 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 28 Jan 1994 20:43:59 +0000 Subject: [PATCH] * remote-udi.c (udi_close, udi_detach, udi_kill): Add comments. --- gdb/ChangeLog | 4 ++++ gdb/remote-udi.c | 9 +++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 52622fa3148..8d3e39b17a5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Fri Jan 28 15:40:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + + * remote-udi.c (udi_close, udi_detach, udi_kill): Add comments. + Fri Jan 28 11:55:52 1994 Rob Savoye (rob@darkstar.cygnus.com) * configure.in: Make m68k-coff and aout add monitor support in diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c index 0f667b3aab3..c859d9c6fd4 100644 --- a/gdb/remote-udi.c +++ b/gdb/remote-udi.c @@ -360,8 +360,11 @@ udi_detach (args,from_tty) if (UDIDisconnect (udi_session_id, UDIContinueSession)) error ("UDIDisconnect() failed in udi_detach"); - pop_target(); /* calls udi_close to do the real work */ + /* calls udi_close to do the real work (which looks like it calls + UDIDisconnect with UDITerminateSession, FIXME). */ + pop_target(); + /* FIXME, message too similar to what udi_close prints. */ if (from_tty) printf_unfiltered ("Ending remote debugging\n"); } @@ -1011,7 +1014,9 @@ just invoke udi_close, which seems to get things right. #endif /* 0 */ /* Keep the target around, e.g. so "run" can do the right thing when - we are already debugging something. */ + we are already debugging something. FIXME-maybe: should we kill the + TIP with UDIDisconnect using UDITerminateSession, and then restart + it on the next "run"? */ inferior_pid = 0; } -- 2.30.2