diff options
author | Doug Evans <xdje42@gmail.com> | 2014-09-06 09:15:44 -0700 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-09-06 09:15:44 -0700 |
commit | faa42425cb1f5cd279fc8c91d0b75d37853a128a (patch) | |
tree | 239606104986f50fe38a824610ed3fa46b7cdd7f /gdb/NEWS | |
parent | 0d41ba00c60b5e0b66895cfa56c1db137a9345d8 (diff) | |
download | gdb-faa42425cb1f5cd279fc8c91d0b75d37853a128a.zip gdb-faa42425cb1f5cd279fc8c91d0b75d37853a128a.tar.gz gdb-faa42425cb1f5cd279fc8c91d0b75d37853a128a.tar.bz2 |
PR 15276: Add $_caller_is, $_caller_matches, $_any_caller_is, $_any_caller_matches
gdb/ChangeLog:
PR 15276
* NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
$_any_caller_matches.
* data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
* python/lib/gdb/function/caller_is.py: New file.
gdb/testsuite/ChangeLog:
PR 15276
* gdb.python/py-caller-is.c: New file.
* gdb.python/py-caller-is.exp: New file.
gdb/doc/ChangeLog:
PR 15276
* gdb.texinfo (Convenience Funs): Document $_caller_is,
$_caller_matches, $_any_caller_is, $_any_caller_matches.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -6,6 +6,13 @@ * Python Scripting You can now access frame registers from Python scripts. +* New Python-based convenience functions: + + ** $_caller_is(name [, number_of_frames]) + ** $_caller_matches(regexp [, number_of_frames]) + ** $_any_caller_is(name [, number_of_frames]) + ** $_any_caller_matches(regexp [, number_of_frames]) + * On resume, GDB now always passes the signal the program had stopped for to the thread the signal was sent to, even if the user changed threads before resuming. Previously GDB would often (but not |