From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#7507: 24.0.50; GDB dialog: default should not be `Yes' if GDB is not installed Date: Thu, 28 Apr 2016 14:12:19 +0300 Message-ID: <83a8kexa0c.fsf@gnu.org> References: <77F0EF3B1EE7429F9E6A298D109B3962@us.oracle.com> <87bn4ur783.fsf@gnus.org> <83fuu6xqai.fsf@gnu.org> <8737q6hy3r.fsf@gnus.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1461842007 14959 80.91.229.3 (28 Apr 2016 11:13:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2016 11:13:27 +0000 (UTC) Cc: 7507@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 28 13:13:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1avjsi-0005om-8s for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Apr 2016 13:13:16 +0200 Original-Received: from localhost ([::1]:47989 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avjsh-0005hT-7X for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Apr 2016 07:13:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avjsX-0005WD-OJ for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 07:13:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avjsT-000851-Sp for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 07:13:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avjsT-00084v-PD for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 07:13:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1avjsT-0005kh-JQ for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 07:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Apr 2016 11:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7507 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7507-submit@debbugs.gnu.org id=B7507.146184197122095 (code B ref 7507); Thu, 28 Apr 2016 11:13:01 +0000 Original-Received: (at 7507) by debbugs.gnu.org; 28 Apr 2016 11:12:51 +0000 Original-Received: from localhost ([127.0.0.1]:51322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avjsF-0005kF-L8 for submit@debbugs.gnu.org; Thu, 28 Apr 2016 07:12:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avjsA-0005jw-ST for 7507@debbugs.gnu.org; Thu, 28 Apr 2016 07:12:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avjs2-0007vc-1g for 7507@debbugs.gnu.org; Thu, 28 Apr 2016 07:12:37 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avjs1-0007vY-VP; Thu, 28 Apr 2016 07:12:33 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3702 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1avjs0-0000Lf-DI; Thu, 28 Apr 2016 07:12:33 -0400 In-reply-to: <8737q6hy3r.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 28 Apr 2016 11:38:32 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:117033 Archived-At: > From: Lars Ingebrigtsen > Cc: drew.adams@oracle.com, 7507@debbugs.gnu.org > Date: Thu, 28 Apr 2016 11:38:32 +0200 > > > FWIW, I don't think trying to detect whether GDB is installed when > > displaying that dialog is a reasonable request. That dialog is > > displayed when Emacs is already in bad trouble, so embarking on a > > non-trivial journey trying to find gdb.exe somewhere on the system, > > which involves issuing quite a few system calls, doesn't sound like a > > good idea. > > But presumably Emacs has to do the `executable-find' thing to call gdb, > anyway? No. The user is instructed (in the dialog text) to attach GDB to the running Emacs process. So it's the user who should know how to invoke GDB, Emacs doesn't. > And ending up in a situation where we're offering to send a bug > report to Microsoft sounds less than optimal... If the user doesn't want to debug Emacs, she should click "No", or type TAB, then RET, and then no report will be sent anywhere.