diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-09-12 12:24:41 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-09-12 12:25:26 -0400 |
commit | 3e68067fb2d59ea93ea95d713a6c27b635332912 (patch) | |
tree | 4eb5274727cc3c6ee993a09260fdcbe32f6154c7 /gdb/mem-break.c | |
parent | c221b2f7708017593d572cf90560dc305bc3bf51 (diff) | |
download | gdb-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/mem-break.c')
0 files changed, 0 insertions, 0 deletions