[binutils-gdb] Consolidate "Python API" sections in NEWS

Tom Tromey tromey@sourceware.org
Mon Jun 6 19:10:01 GMT 2022


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=691ade38bc45f4d4c89c0d6a3412bc160cf40a70

commit 691ade38bc45f4d4c89c0d6a3412bc160cf40a70
Author: Tom Tromey <tromey@adacore.com>
Date:   Mon Jun 6 13:07:37 2022 -0600

    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:
---
 gdb/NEWS | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

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 <symbol+offset>', where symbol is
      looked up in PROGSPACE, and ARCHITECTURE is used to format address.


More information about the Gdb-cvs mailing list