Consolidate "Python API" sections in NEWS

I noticed that the gdb NEWS file had two "Python API" sections in
"Changes since GDB 12".  This patch consolidates the two.  I chose to
preserve the second one, first because it is longer, and second
because I felt that user command changes should come before API
changes.
This commit is contained in:
Tom Tromey 2022-06-06 13:07:37 -06:00
parent a80f2680db
commit 691ade38bc

View File

@ -27,13 +27,6 @@
emit to indicate where a breakpoint should be placed to break in a function
past its prologue.
* Python API
** GDB will now reformat the doc string for gdb.Command and
gdb.Parameter sub-classes to remove unnecessary leading
whitespace from each line before using the string as the help
output.
* New commands
maintenance set ignore-prologue-end-flag on|off
@ -52,6 +45,11 @@ maintenance info line-table
* Python API
** GDB will now reformat the doc string for gdb.Command and
gdb.Parameter sub-classes to remove unnecessary leading
whitespace from each line before using the string as the help
output.
** New function gdb.format_address(ADDRESS, PROGSPACE, ARCHITECTURE),
that formats ADDRESS as 'address <symbol+offset>', where symbol is
looked up in PROGSPACE, and ARCHITECTURE is used to format address.