From 691ade38bc45f4d4c89c0d6a3412bc160cf40a70 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 6 Jun 2022 13:07:37 -0600 Subject: [PATCH] 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. --- 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 ', where symbol is looked up in PROGSPACE, and ARCHITECTURE is used to format address. -- 2.30.2