diff options
author | Andrew Burgess <aburgess@redhat.com> | 2023-09-29 14:26:01 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2023-10-06 13:18:15 +0100 |
commit | 9a896be33224654760c46d3698218241d0a1f354 (patch) | |
tree | c34ee8f8cc78f8c4cb828d3ae8590be8997f773c /gdb/NEWS | |
parent | dd6a9ec16e0ce34a7e8d0ace001f3cc167846892 (diff) | |
download | gdb-9a896be33224654760c46d3698218241d0a1f354.zip gdb-9a896be33224654760c46d3698218241d0a1f354.tar.gz gdb-9a896be33224654760c46d3698218241d0a1f354.tar.bz2 |
gdb/NEWS: reorder some entries in the NEWS file
I spotted two entries in the NEWS file that I believe are in the wrong
place, these are:
- An entry about MI v1 being deprecated, this feels like it should
be the first entry under the 'MI changes' heading, and
- An entry for the $_shell convenience function which is currently
under the 'New commands' heading (sort of), when I think this
should be listed in the general news section.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -53,8 +53,6 @@ currently selected target. If no remote target is selected, the default configuration for future connections is shown. -* MI version 1 has been removed. - * GDB has initial built-in support for the Debugger Adapter Protocol. This support requires that GDB be built with Python scripting enabled. @@ -124,6 +122,16 @@ 'inferior' keyword with either the 'thread' or 'task' keywords when creating a breakpoint. +* New convenience function "$_shell", to execute a shell command and + return the result. This lets you run shell commands in expressions. + Some examples: + + (gdb) p $_shell("true") + $1 = 0 + (gdb) p $_shell("false") + $2 = 1 + (gdb) break func if $_shell("some command") == 0 + * Configure changes --additional-debug-dirs=PATHs @@ -165,18 +173,10 @@ show tui mouse-events Python extensions. When off, mouse clicks are handled by the terminal, enabling terminal-native text selection. -* New convenience function "$_shell", to execute a shell command and - return the result. This lets you run shell commands in expressions. - Some examples: - - (gdb) p $_shell("true") - $1 = 0 - (gdb) p $_shell("false") - $2 = 1 - (gdb) break func if $_shell("some command") == 0 - * MI changes +** MI version 1 has been removed. + ** mi now reports 'no-history' as a stop reason when hitting the end of the reverse execution history. |