[PATCH v3] Fix NEWS formatting in GDB 8.0 section

Simon Marchi
2017-05-30T09:12:50Z

Change the GDB 8.0 section of the NEWS file to try to follow this order:

* Functional changes
* Added and removed configurations and targets
* New commands
* New options
* MI changes

In particular, there were two "New commands" sections.

gdb/ChangeLog:

* NEWS (Changes in GDB 8.0): Remove extra empty line. Move
"Removed targets and native configurations" up. Merge duplicate
"New commands" sub-sections. Add "New options" sub-sections.
---
gdb/NEWS | 31 +++++++++++++++----------------
1 file changed, 15 insertions(+), 16 deletions(-)

diff --git a/gdb/NEWS b/gdb/NEWS
index eb1a589..112aa2f 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -72,28 +72,25 @@

FreeBSD/mips mips*-*-freebsd

-
* New targets

Synopsys ARC arc*-*-elf32
FreeBSD/mips mips*-*-freebsd

+* Removed targets and native configurations
+
+Alpha running FreeBSD alpha*-*-freebsd*
+Alpha running GNU/kFreeBSD alpha*-*-kfreebsd*-gnu
+
* New commands

flash-erase
Erases all the flash memory regions reported by the target.

-* New MI commands
-
--target-flash-erase
- Erases all the flash memory regions reported by the target. This is
- equivalent to the CLI command flash-erase.
-
--file-list-shared-libraries
- List the shared libraries in the program. This is
- equivalent to the CLI command "info shared".
+maint print arc arc-instruction address
+ Print internal disassembler information about instruction at a given address.

-* New commands
+* New options

set disassembler-options
show disassembler-options
@@ -103,13 +100,15 @@ show disassembler-options
The default value is the empty string. Currently, the only supported
targets are ARM, PowerPC and S/390.

-maint print arc arc-instruction address
- Print internal disassembler information about instruction at a given address.
+* New MI commands

-* Removed targets and native configurations
+-target-flash-erase
+ Erases all the flash memory regions reported by the target. This is
+ equivalent to the CLI command flash-erase.

-Alpha running FreeBSD alpha*-*-freebsd*
-Alpha running GNU/kFreeBSD alpha*-*-kfreebsd*-gnu
+-file-list-shared-libraries
+ List the shared libraries in the program. This is
+ equivalent to the CLI command "info shared".

*** Changes in GDB 7.12

--
2.7.4