Minor NEWS rearrangement

Message ID 20190614183130.8216-1-tromey@adacore.com
State New, archived
Headers

Commit Message

Tom Tromey June 14, 2019, 6:31 p.m. UTC
  I noticed that a NEWS item about Python scripting changes appeared
between an item about a convenience function and an item about a
convenience variable.  I think it's better for the latter to be next
to each other.

gdb/ChangeLog
2019-06-14  Tom Tromey  <tromey@adacore.com>

	* NEWS: Move convenience variable news above Python news.
---
 gdb/ChangeLog | 4 ++++
 gdb/NEWS      | 8 ++++----
 2 files changed, 8 insertions(+), 4 deletions(-)
  

Comments

Eli Zaretskii June 14, 2019, 7:01 p.m. UTC | #1
> From: Tom Tromey <tromey@adacore.com>
> Cc: Tom Tromey <tromey@adacore.com>
> Date: Fri, 14 Jun 2019 12:31:30 -0600
> 
> I noticed that a NEWS item about Python scripting changes appeared
> between an item about a convenience function and an item about a
> convenience variable.  I think it's better for the latter to be next
> to each other.

Fine with me, thanks.
  

Patch

diff --git a/gdb/NEWS b/gdb/NEWS
index 76564d06774..0a3b5b8b6c8 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -21,6 +21,10 @@ 
 * Two new convenience functions $_cimag and $_creal that extract the
   imaginary and real parts respectively from complex numbers.
 
+* New built-in convenience variables $_shell_exitcode and $_shell_exitsignal
+  provide the exitcode or exit status of the shell commands launched by
+  GDB commands such as "shell", "pipe" and "make".
+
 * Python API
 
   ** The gdb.Value type has a new method 'format_string' which returns a
@@ -32,10 +36,6 @@ 
   ** gdb.Type has a new property 'objfile' which returns the objfile the
      type was defined in.
 
-* New built-in convenience variables $_shell_exitcode and $_shell_exitsignal
-  provide the exitcode or exit status of the shell commands launched by
-  GDB commands such as "shell", "pipe" and "make".
-
 * New commands
 
 | [COMMAND] | SHELL_COMMAND