aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-01-28 20:43:59 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-01-28 20:43:59 +0000
commitb09f44d2c9417455438d9d68baa11682f522c500 (patch)
tree5c253bf37c3e0f3947b2178e98b207dbecf8539d /gdb
parent52fa9d667abec3e469b40cd391082ccbc09131b4 (diff)
downloadfsf-binutils-gdb-b09f44d2c9417455438d9d68baa11682f522c500.zip
fsf-binutils-gdb-b09f44d2c9417455438d9d68baa11682f522c500.tar.gz
fsf-binutils-gdb-b09f44d2c9417455438d9d68baa11682f522c500.tar.bz2
* remote-udi.c (udi_close, udi_detach, udi_kill): Add comments.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/remote-udi.c9
2 files changed, 11 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 52622fa..8d3e39b 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 0f667b3..c859d9c 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;
}