aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorJan Vrany <jan.vrany@labware.com>2023-10-10 11:22:56 +0100
committerJan Vrany <jan.vrany@labware.com>2023-10-10 11:22:56 +0100
commit4825fd2d3552a047264a1f3d900ce30047a8c5f6 (patch)
tree0cdbeb05638b51fb0f27fef50ce81c7e3e366682 /gdb/NEWS
parent80a3485f81303639c7212a15cf9e453a830913f8 (diff)
downloadgdb-4825fd2d3552a047264a1f3d900ce30047a8c5f6.zip
gdb-4825fd2d3552a047264a1f3d900ce30047a8c5f6.tar.gz
gdb-4825fd2d3552a047264a1f3d900ce30047a8c5f6.tar.bz2
gdb/python: implement support for sending custom MI async notifications
This commit adds a new Python function, gdb.notify_mi, that can be used to emit custom async notification to MI channel. This can be used, among other things, to implement notifications about events MI does not support, such as remote connection closed or register change. Reviewed-By: Eli Zaretskii <eliz@gnu.org> Approved-By: Andrew Burgess <aburgess@redhat.com>
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 0f75abe..81264c0 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -6,6 +6,11 @@
* GDB index now contains information about the main function. This speeds up
startup when it is being used for some large binaries.
+* Python API
+
+ ** New function gdb.notify_mi(NAME, DATA), that emits custom
+ GDB/MI async notification.
+
*** Changes in GDB 14
* GDB now supports the AArch64 Scalable Matrix Extension 2 (SME2), which