From: Tom Tromey Date: Mon, 6 Jun 2022 19:07:37 +0000 (-0600) Subject: Consolidate "Python API" sections in NEWS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=691ade38bc45f4d4c89c0d6a3412bc160cf40a70;p=binutils-gdb.git 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. --- diff --git a/gdb/NEWS b/gdb/NEWS index 960f90b4387..a85f59f56df 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -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 ', where symbol is looked up in PROGSPACE, and ARCHITECTURE is used to format address.