aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-09-12 12:24:41 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-09-12 12:25:26 -0400
commit3e68067fb2d59ea93ea95d713a6c27b635332912 (patch)
tree4eb5274727cc3c6ee993a09260fdcbe32f6154c7 /gdb/NEWS
parentc221b2f7708017593d572cf90560dc305bc3bf51 (diff)
downloadgdb-3e68067fb2d59ea93ea95d713a6c27b635332912.zip
gdb-3e68067fb2d59ea93ea95d713a6c27b635332912.tar.gz
gdb-3e68067fb2d59ea93ea95d713a6c27b635332912.tar.bz2
Add debug output about skipping files and functions
While trying to create skips for libstdc++, I found myself debugging GDB quite a bit, mostly to find out what the exact function name to match is. I thought it would make sense to have this information as debug output. This patch adds "set debug skip on|off". gdb/ChangeLog: * skip.c (debug_skip): New variable. (skiplist_entry::do_skip_file_p): Add debug output. (skiplist_entry::do_skip_gfile_p): Likewise. (skiplist_entry::skip_function_p): Likewise. (_initialize_step_skip): Create debug command. * NEWS: Mention set/show debug skip. gdb/doc/ChangeLog: * gdb.texinfo (Skipping Over Functions and Files): Document set/show debug skip.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 75436b0..4e4f12d 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -29,6 +29,11 @@ show debug compile-cplus-types
C++ compile feature. Commands have no effect while compiliong
for other languages.
+set debug skip
+show debug skip
+ Control whether debug output about files/functions skipping is
+ displayed.
+
frame apply [all | COUNT | -COUNT | level LEVEL...] [FLAG]... COMMAND
Apply a command to some frames.
FLAG arguments allow to control what output to produce and how to handle