Re: [PATCH 11/18] Implement all-stop on top of a target running non-stop mode

Pedro Alves
2015-09-14T14:24:50Z

On 09/11/2015 09:53 PM, Jan Kratochvil wrote:
> On Fri, 22 May 2015 01:19:07 +0200, Pedro Alves wrote:
>> --- a/gdb/NEWS
>> +++ b/gdb/NEWS
>> @@ -75,6 +75,12 @@ maint print symbol-cache-statistics
>> maint flush-symbol-cache
>> Flush the contents of the symbol cache.
>>
>> +maint set target-non-stop (on|off|auto)
>> +maint show target-non-stop
>> + Control whether GDB targets always operate in non-stop mode even if
>> + "set non-stop" is "off". The default is "auto", meaning non-stop
>> + mode is enabled if supported by the target.
>> +
>> record btrace bts
>> record bts
>> Start branch trace recording using Branch Trace Store (BTS) format.
>
> This part got checked-in twice:
> https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blobdiff;f=gdb/NEWS;h=3fe603615afc858428bc085f345fca3ee12314d5;hp=7e58cc3f31aa961f700ca9b511a0b6c558f73a90;hb=fbea99ea8a062e5cd96e2d88336984ed3adc93d4;hpb=372316f12874a30c62e6d71079ca3b86c786fb7e
>
> I haven't fixed it.

Whoops, thanks. I pushed the obvious patch below to fix it.

From b027a8fa7dc4854e72ddada0b495b52166be2974 Mon Sep 17 00:00:00 2001
From: Pedro Alves <palves@redhat.com>
Date: Mon, 14 Sep 2015 14:43:53 +0100
Subject: [PATCH] Remove duplicate gdb/NEWS entry

Commit fbea99ea8a06 added this to both the "Changes in GDB 7.10" and
"Changes since GDB 7.10" sections by mistake.

gdb/ChangeLog:
2015-09-14 Pedro Alves <palves@redhat.com>

* NEWS (Changes in GDB 7.10, New commands>: Remove duplicate
mention of maint set/show target-non-stop.
---
gdb/ChangeLog | 5 +++++
gdb/NEWS | 6 ------
2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3cb3427..dadb7a0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2015-09-14 Pedro Alves <palves@redhat.com>
+
+ * NEWS (Changes in GDB 7.10, New commands>: Remove duplicate
+ mention of maint set/show target-non-stop.
+
2015-09-11 Don Breazeal <donb@codesourcery.com>

* NEWS: Announce new remote packets for the exec-events
diff --git a/gdb/NEWS b/gdb/NEWS
index bb1c8d9..f563b8c 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -172,12 +172,6 @@ maint print symbol-cache-statistics
maint flush-symbol-cache
Flush the contents of the symbol cache.

-maint set target-non-stop (on|off|auto)
-maint show target-non-stop
- Control whether GDB targets always operate in non-stop mode even if
- "set non-stop" is "off". The default is "auto", meaning non-stop
- mode is enabled if supported by the target.
-
record btrace bts
record bts
Start branch trace recording using Branch Trace Store (BTS) format.
--
1.9.3