aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-07-27 08:09:14 +0000
committerYao Qi <yao@codesourcery.com>2012-07-27 08:09:14 +0000
commit7255706c3e52f744398e01240567abd99c8ccf52 (patch)
tree464b514adcef97fcb15f131427684cace16b1449 /gdb/doc
parentc71bb85d64f4ddcc7ae1c991e44ff3b48d2a5dc9 (diff)
downloadgdb-7255706c3e52f744398e01240567abd99c8ccf52.zip
gdb-7255706c3e52f744398e01240567abd99c8ccf52.tar.gz
gdb-7255706c3e52f744398e01240567abd99c8ccf52.tar.bz2
gdb/gdbserver/
PR remote/14161. * server.h: Declare gdb_agent_about_to_close. * target.c (kill_inferior): Include "agent.h". New. Send command 'kill'. * target.h (kill_inferior): Removed macro. * tracepoint.c (gdb_agent_about_to_close): New. (gdb_agent_helper_thread): Handle command 'close'. Wait endlessly until the inferior stops. Install gdb_agent_remove_socket to atexit hook. (agent_socket_name): New static variable. (gdb_agent_socket_init): Replace local variable 'name' with 'agent_socket_name'. (gdb_agent_remove_socket): New. gdb/doc/ * gdb.texinfo (IPA Protocol Commands): Document new command 'close'. gdb/testsuite/ KFAIL for PR remote/14161. * gdb.trace/strace.exp (strace_remove_socket): kfail for native. Cleanup socket files. (strace_info_marker): Detach inferior.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo4
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 7b7a912..40d6046 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2012-07-27 Yao Qi <yao@codesourcery.com>
+
+ * gdb.texinfo (IPA Protocol Commands): Document new command
+ 'close'.
+
2012-07-25 Tom Tromey <tromey@redhat.com>
* gdb.texinfo (Maintenance Commands): Document maint info bfds.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index facca8f..a4503bf 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -33673,6 +33673,10 @@ for an error
@end table
+@item close
+Closes the in-process agent. This command is sent when @value{GDBN} or GDBserver
+is about to kill inferiors.
+
@item qTfSTM
@xref{qTfSTM}.
@item qTsSTM