Subject: bug#9853: closed (Re: bug#9853: 24.0.90; gdb-version only set in non-stop mode)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 30 Nov 2011 03:30:03 +0000

Your bug report

#9853: 24.0.90; gdb-version only set in non-stop mode

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
9853: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9853
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#9853: 24.0.90; gdb-version only set in non-stop mode
From: Ken Brown <[email-masked]>
To: [email-masked]
Date: Tue, 29 Nov 2011 22:29:53 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

On 10/26/2011 2:04 PM, Ken Brown wrote:
> The attached patch implements my suggestions (and also makes a couple of
> whitespace changes).
>
> OK to apply?

Patch applied.  Closing bug.

Subject: 24.0.90; gdb-version only set in non-stop mode
From: Ken Brown <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Sun, 23 Oct 2011 18:33:50 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

The variable gdb-version is set in the function gdb-non-stop-handler, 
which is only called if gdb-non-stop is non-nil.  Given that 
gdb-non-stop-setting is customizable and may well be set to nil, 
wouldn't it make more sense to get the version some other way?  For 
instance, there's a GDB/MI command -gdb-version that could be used.

Also, the -enable-pretty-printing command is sent from 
gdb-non-stop-handler and so is only sent if gdb-non-stop is non-nil.  Is 
there a reason pretty-printing should only be enabled in non-stop mode.

Ken