aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-09-06 09:15:44 -0700
committerDoug Evans <xdje42@gmail.com>2014-09-06 09:15:44 -0700
commitfaa42425cb1f5cd279fc8c91d0b75d37853a128a (patch)
tree239606104986f50fe38a824610ed3fa46b7cdd7f /gdb/NEWS
parent0d41ba00c60b5e0b66895cfa56c1db137a9345d8 (diff)
downloadgdb-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/NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index 46c6a87..3bb1c74 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -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