diff options
author | Stan Shebs <shebs@codesourcery.com> | 2009-12-30 16:11:08 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 2009-12-30 16:11:08 +0000 |
commit | 236f1d4defb2070d3e43ce406604da7659860b38 (patch) | |
tree | 52a055eebedde94394340cff1c0be1a648d388f6 /gdb/NEWS | |
parent | 176fe33f0d2b5c96ea89acba35b684757bdf6e52 (diff) | |
download | gdb-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/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |