bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ken Brown
Subject: bug#9853: 24.0.90; gdb-version only set in non-stop mode
Date: Sun, 23 Oct 2011 18:33:50 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]