From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 05 11:54:06 2012 Received: (at submit) by debbugs.gnu.org; 5 Sep 2012 15:54:06 +0000 Received: from localhost ([127.0.0.1]:40608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T9Hva-00034h-2A for submit@debbugs.gnu.org; Wed, 05 Sep 2012 11:54:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38292) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T9HrG-0002xV-08 for submit@debbugs.gnu.org; Wed, 05 Sep 2012 11:49:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9Hr2-00083a-W7 for submit@debbugs.gnu.org; Wed, 05 Sep 2012 11:49:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:58221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9Hr2-00083U-TX for submit@debbugs.gnu.org; Wed, 05 Sep 2012 11:49:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9Hqw-0002gI-MZ for bug-gnu-emacs@gnu.org; Wed, 05 Sep 2012 11:49:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9Hqv-000827-AW for bug-gnu-emacs@gnu.org; Wed, 05 Sep 2012 11:49:18 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:44679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9Hqv-00081s-4C for bug-gnu-emacs@gnu.org; Wed, 05 Sep 2012 11:49:17 -0400 Received: by pbbro12 with SMTP id ro12so1273428pbb.0 for ; Wed, 05 Sep 2012 08:49:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=NRB/AQVkGpo/vf0OB6xMylv1mQ9M+aT32LuPRyma/nE=; b=ti54Bjh7j+ff5kk+Qvokj0H6pf+g3QB0ozzGbON8kMXhkGRCuKToFNQJr7PPvHLOKx uNXaQMn/HIKIf0l3JM+MYsyDUqO7vq0ZuM2TwzOG9m5xDg+bKXW6leHXHBDaSSDUJPq5 d3AKXAeepJS8105GEFe2KQMDtt8t6xHWRXCLMbKQvfUlVczP91vWPgoi+fwpAPtS5fzD DhPdz4dCjcvcHxBaqQbbfPSYmIFzlIdM+wxoSLSohhJWx2rMDDeQRQu0xyTJDGpOZLMn rCPXF/iBQyf9aaFXIpRT8qGy3/k93tut2XbizK0O8+634g0vSRfLqPW8XQRcdSmmxLWt QYxw== MIME-Version: 1.0 Received: by 10.68.240.236 with SMTP id wd12mr56277437pbc.83.1346860155793; Wed, 05 Sep 2012 08:49:15 -0700 (PDT) Received: by 10.68.73.37 with HTTP; Wed, 5 Sep 2012 08:49:15 -0700 (PDT) Date: Wed, 5 Sep 2012 17:49:15 +0200 Message-ID: Subject: 24.2; M-x gud-gdb on remote binary does not work From: Paul K To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 05 Sep 2012 11:54:04 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) How to reproduce the problem: prompt$ emacs --eval '(toggle-debug-on-error)' then within emacs visit directory with some binary You want to debug on some remote machine (my remote machine is running RH6, but it probably does not matter) and issue: M-x gud-gdb: theBinary You will receive following error: Debugger entered--Lisp error: (void-variable gdb-active-process) (if gdb-active-process "Continue" "Run") Please DO NOT try to issue `M-x gdb` before, because this hides the problem. Following are the data produced by M-x report-emacs-bug: In GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2) of 2012-09-05 on blackCat Windowing system distributor `The X.Org Foundation', version 11.0.11103000 Configured using: `configure '--with-x-toolkit=gtk3'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Debugger Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: x g d b g u d - g d b . / r t m x r e p o r t - e m a Recent messages: Debug on Error enabled globally Tramp: Opening connection for Remote-Host using scpc... Opening connection for Remote-Host using scpc... \ Tramp: Opening connection for Remote-Host using scpc...done Tramp: Opening connection for Remote-Host using scpc... Opening connection for Remote-Host using scpc... \ Tramp: Opening connection for Remote-Host using scpc...done Entering debugger... Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils debug gud easy-mmode dired tramp-cache tramp-sh tramp tramp-compat auth-source eieio byte-opt bytecomp byte-compile cconv macroexp assoc gnus-util mm-util mail-prsvr password-cache shell pcomplete comint ansi-color ring format-spec advice help-fns advice-preload tramp-loaddefs regexp-opt cus-start cus-load time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 23 13:52:49 2012 Received: (at 12358-done) by debbugs.gnu.org; 23 Oct 2012 17:52:50 +0000 Received: from localhost ([127.0.0.1]:58095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TQien-0006Kl-15 for submit@debbugs.gnu.org; Tue, 23 Oct 2012 13:52:49 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:46372 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TQiek-0006Kc-SN for 12358-done@debbugs.gnu.org; Tue, 23 Oct 2012 13:52:48 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TQicv-0004sM-8V; Tue, 23 Oct 2012 13:50:53 -0400 From: Glenn Morris To: 12358-done@debbugs.gnu.org Subject: Re: bug#12358: 24.2; M-x gud-gdb on remote binary does not work References: X-Spook: Capricorn John Kerry Glock Exon Shell plutonium mania X-Ran: m5i6lT)HK=5yc\0+'#p?EJ",mUuA-Zx;&oWT%KpT~aZP"%qy]my2B&4rc+Y&fUJP;=b5-9 X-Hue: green X-Attribution: GM Date: Tue, 23 Oct 2012 13:50:53 -0400 In-Reply-To: (Paul K.'s message of "Wed, 5 Sep 2012 17:49:15 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: 12358-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) Version: 24.3 Paul K wrote: > prompt$ emacs --eval '(toggle-debug-on-error)' > > then within emacs visit directory with some binary You want to debug > on some remote machine (my remote machine is running RH6, but > it probably does not matter) and issue: > > M-x gud-gdb: theBinary > > You will receive following error: > Debugger entered--Lisp error: (void-variable gdb-active-process) Thanks. I installed a fix for this, which is not restricted to remote binaries, but does only show up when debug-on-error is non-nil. From unknown Sun Aug 10 16:45:56 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 21 Nov 2012 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator