aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>2009-12-30 16:11:08 +0000
committerStan Shebs <shebs@codesourcery.com>2009-12-30 16:11:08 +0000
commit236f1d4defb2070d3e43ce406604da7659860b38 (patch)
tree52a055eebedde94394340cff1c0be1a648d388f6 /gdb/NEWS
parent176fe33f0d2b5c96ea89acba35b684757bdf6e52 (diff)
downloadgdb-236f1d4defb2070d3e43ce406604da7659860b38.zip
gdb-236f1d4defb2070d3e43ce406604da7659860b38.tar.gz
gdb-236f1d4defb2070d3e43ce406604da7659860b38.tar.bz2
Add default-collect variable.
* tracepoint.c (default_collect): New global. (encode_actions): Use it. (download_tracepoint): Test it, for otherwise action-less tracepoints. (_initialize_tracepoint): Add set/show. * NEWS: Mention default-collect. * gdb.texinfo (Tracepoint Actions): Describe default-collect. * gdb.trace/actions.exp: Test default-collect.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index b680d9b..eb84ee7 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -105,6 +105,12 @@ show follow-exec-mode
creates a new one. This is useful to be able to restart the old
executable after the inferior having done an exec call.
+set default-collect EXPR, ...
+show default-collect
+ Define a list of expressions to be collected at each tracepoint.
+ This is a useful way to ensure essential items are not overlooked,
+ such as registers or a critical global variable.
+
* New remote packets
QTDV