GNU bug report logs -
#9853
24.0.90; gdb-version only set in non-stop mode
Previous Next
Reported by: Ken Brown <kbrown <at> cornell.edu>
Date: Sun, 23 Oct 2011 22:36:02 UTC
Severity: normal
Found in version 24.0.90
Done: Ken Brown <kbrown <at> cornell.edu>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9853 in the body.
You can then email your comments to 9853 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9853
; Package
emacs
.
(Sun, 23 Oct 2011 22:36:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ken Brown <kbrown <at> cornell.edu>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 23 Oct 2011 22:36:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9853
; Package
emacs
.
(Wed, 26 Oct 2011 18:07:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 9853 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 10/23/2011 6:33 PM, Ken Brown wrote:
> 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.
After looking through gdb-mi.el more carefully, I see that emacs doesn't
really need to know the GDB version. So I withdraw my complaint. But I
think the variable gdb-version should probably be renamed to reflect its
real purpose, perhaps to gdb-supports-non-stop.
> 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.
This still seems wrong, unless there's some reason that pretty-printing
is only useful in non-stop mode.
The attached patch implements my suggestions (and also makes a couple of
whitespace changes).
OK to apply?
Ken
[gdb-version.patch (text/plain, attachment)]
Reply sent
to
Ken Brown <kbrown <at> cornell.edu>
:
You have taken responsibility.
(Wed, 30 Nov 2011 03:30:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ken Brown <kbrown <at> cornell.edu>
:
bug acknowledged by developer.
(Wed, 30 Nov 2011 03:30:03 GMT)
Full text and
rfc822 format available.
Message #13 received at 9853-done <at> debbugs.gnu.org (full text, mbox):
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.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 28 Dec 2011 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 234 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.