aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>2010-04-09 03:00:58 +0000
committerStan Shebs <shebs@codesourcery.com>2010-04-09 03:00:58 +0000
commit33da3f1cb51cb8851ab5b12d1f5fa61e45232276 (patch)
tree811bbe4c9bccec66c21354ad77402caef2fb2b43 /gdb/infcmd.c
parent64e173680a7cb96b9357bc4fb6764fbe5733f9ea (diff)
downloadgdb-33da3f1cb51cb8851ab5b12d1f5fa61e45232276.zip
gdb-33da3f1cb51cb8851ab5b12d1f5fa61e45232276.tar.gz
gdb-33da3f1cb51cb8851ab5b12d1f5fa61e45232276.tar.bz2
2010-04-08 Stan Shebs <stan@codesourcery.com>
Pedro Alves <pedro@codesourcery.com> * tracepoint.h (struct trace_status): New fields disconnected_tracing and circular_buffer. (disconnect_tracing): Rename from disconnect_or_stop_tracing. * tracepoint.c (trace_status_command): Display target's status for disconnected tracing and circular buffer. (disconnect_tracing): Rename from disconnect_or_stop_tracing, add query for non-disconnected-tracing case, remove the stop_tracing call. (tfile_open): Clear disconnected and circular buffer status. (trace_save): Save disconnected and circular buffer status. (parse_trace_status): Parse disconnected and circular buffer status, also recognize disconnected as a stop reason. * remote.c (remote_set_disconnected_tracing): Only set QTDisconnected if the remote end supports disconnected tracing. Warn otherwise, if trying to enable disconnected tracing. * infcmd.c (detach_command): Update disconnect_tracing call. * cli/cli-cmds.c (quit_command): Ditto. * gdb.texinfo (Tracepoint Packets): Describe disconn and circular trace status fields.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index a803bcb..16d32a6 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -2547,7 +2547,7 @@ detach_command (char *args, int from_tty)
if (ptid_equal (inferior_ptid, null_ptid))
error (_("The program is not being run."));
- disconnect_or_stop_tracing (from_tty);
+ disconnect_tracing (from_tty);
target_detach (args, from_tty);