From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.bugs Subject: bug#28413: 26.0.50; enable frame filters for gdb-mi Date: Sun, 10 Sep 2017 18:37:52 -0600 Message-ID: <87h8wagjdr.fsf@bapiya> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1505090368 29359 195.159.176.226 (11 Sep 2017 00:39:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 11 Sep 2017 00:39:28 +0000 (UTC) To: 28413@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 11 02:39:21 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1drCkp-0006r2-GW for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Sep 2017 02:39:11 +0200 Original-Received: from localhost ([::1]:54752 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drCkw-0005fg-N9 for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Sep 2017 20:39:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drCkj-0005dD-8G for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2017 20:39:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drCkg-0005kV-2g for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2017 20:39:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51334) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drCkf-0005kR-UU for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2017 20:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1drCkf-0006TB-MA for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2017 20:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tom Tromey Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Sep 2017 00:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28413 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.150509029724815 (code B ref -1); Mon, 11 Sep 2017 00:39:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Sep 2017 00:38:17 +0000 Original-Received: from localhost ([127.0.0.1]:60015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1drCjw-0006SA-OV for submit@debbugs.gnu.org; Sun, 10 Sep 2017 20:38:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1drCju-0006Rx-Lx for submit@debbugs.gnu.org; Sun, 10 Sep 2017 20:38:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drCjo-0005HD-0d for submit@debbugs.gnu.org; Sun, 10 Sep 2017 20:38:09 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34011) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1drCjn-0005H3-SS for submit@debbugs.gnu.org; Sun, 10 Sep 2017 20:38:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drCjm-0005Sn-1d for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2017 20:38:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drCji-0005Ea-T8 for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2017 20:38:06 -0400 Original-Received: from gproxy4-pub.mail.unifiedlayer.com ([69.89.23.142]:48841) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1drCji-0005Dc-CE for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2017 20:38:02 -0400 Original-Received: from cmgw3 (unknown [10.0.90.84]) by gproxy4.mail.unifiedlayer.com (Postfix) with ESMTP id 232FD175AC4 for ; Sun, 10 Sep 2017 18:37:58 -0600 (MDT) Original-Received: from box522.bluehost.com ([74.220.219.122]) by cmgw3 with id 80dt1w0062f2jeq010dwKT; Sun, 10 Sep 2017 18:37:58 -0600 X-Authority-Analysis: v=2.2 cv=K/VSJ2eI c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=2JCJgTwv5E4A:10 a=wzIwnuX0Mslb1NNtbj0A:9 a=zstS-IiYAAAA:8 a=iBMWTYORToC1QZdA4UkA:9 a=Vs5UWF82G9K0_l5GsuEA:9 a=mKhv9D5U4L9vNUxV:21 a=PsfNjmsjBm_5xeCV:21 a=4G6NA9xxw8l3yy4pmD5M:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=6jPgChTamwt4n0ulTLYHVe00yw+LdwUjHzAfI4aBHoA=; b=ByyGNvY1WTnkDuj2IRN1Jed41p BR/z1JQTt5AjP0txE4wCDgN8vY+GcXfK7UeBduiBAz7CYb/1t1rx2J1VjxjdsbyKgKss4TXLSB36/ bfLJkcQG10jpiACs8ljzd31di; Original-Received: from 75-166-76-94.hlrn.qwest.net ([75.166.76.94]:48472 helo=bapiya) by box522.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1drCjZ-003dVO-L1; Sun, 10 Sep 2017 18:37:53 -0600 X-Attribution: Tom X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box522.bluehost.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 75.166.76.94 X-Exim-ID: 1drCjZ-003dVO-L1 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-76-94.hlrn.qwest.net (bapiya) [75.166.76.94]:48472 X-Source-Auth: tom+tromey.com X-Email-Count: 5 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTIyLmJsdWVob3N0LmNvbQ== X-Local-Domain: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:136756 Archived-At: --=-=-= Content-Type: text/plain I noticed that gdb-mi doesn't enable frame filters. I think it shouldn't hurt to simply always enable them, as in the attached patch. Tom --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=P Content-Description: the patch commit 331aa85eaee7da4547e49a5200153526190bc95f Author: Tom Tromey Date: Mon Mar 6 15:10:05 2017 -0700 Send -enable-frame-filters to gdb * lisp/progmodes/gdb-mi.el (gdb-init-1): Send -enable-frame-filters to gdb. diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index a30669d..34ca437 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el @@ -947,6 +947,7 @@ gdb-init-1 (gdb-input "-gdb-set non-stop 1" 'gdb-non-stop-handler)) (gdb-input "-enable-pretty-printing" 'ignore) + (gdb-input "-enable-frame-filters" 'ignore) ;; Find source file and compilation directory here. (if gdb-create-source-file-list --=-=-= Content-Type: text/plain In GNU Emacs 26.0.50 (build 18, x86_64-pc-linux-gnu, GTK+ Version 3.22.17) of 2017-09-09 built on bapiya Repository revision: 4131f9785e30f2a31745125c714e922892113c62 Windowing system distributor 'Fedora Project', version 11.0.11903000 System Description: Fedora release 25 (Twenty Five) Recent messages: Making completion list... [2 times] funcall-interactively: End of buffer Quit [2 times] When done with a buffer, type C-x # Auto-saving...done Auto-saving...done Auto-saving...done Saving file /home/tromey/gdb/binutils-gdb/.git/.gitsendemail.msg.TbtaV7... Wrote /home/tromey/gdb/binutils-gdb/.git/.gitsendemail.msg.TbtaV7 C-x C-g is undefined Configured using: 'configure --prefix=/home/tromey/Emacs/install' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.utf8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: C/*l Minor modes in effect: shell-dirtrack-mode: t bug-reference-prog-mode: t diff-auto-refine-mode: t flyspell-mode: t which-function-mode: t erc-services-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-netsplit-mode: t erc-hl-nicks-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t savehist-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t auto-fill-function: tromey-c++-do-auto-fill transient-mark-mode: t abbrev-mode: t Load-path shadows: /home/tromey/.emacs.d/elpa/bubbles-0.5/bubbles hides /home/tromey/Emacs/install/share/emacs/26.0.50/lisp/play/bubbles Features: (shadow emacsbug noutline outline tcl supercite regi mail-hist nnir texinfo gnus-draft jka-compr make-mode find-file term/xterm xterm goto-addr log-edit shell find-dired pulse vc-mtn vc-hg etags xref project log-view pcvs-util smerge-mode bug-reference cc-mode cc-fonts cc-guess cc-menus cc-cmds vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs copyright vc-git diff-mode easy-mmode map shr-color shr svg dom flow-fill mm-archive gnus-html url-queue browse-url xml url-cache mm-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util misearch multi-isearch mailalias sort smiley gnus-cite gnus-async gnus-bcklg mail-extr gnus-ml disp-table gnus-topic nndraft nnmh nnfolder utf-7 network-stream nsm starttls gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache gnus-registry registry ebdb-gnus gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap gnus-sum gnus-group gnus-undo smtpmail gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range gnus-win gnus add-log nnheader profiler cl-print debug dabbrev help-fns radix-tree elec-pair flyspell ispell diminish edmacro kmacro projectile grep compile ibuf-ext ibuffer ibuffer-loaddefs dash appt diary-lib diary-loaddefs which-func imenu minimap autorevert filenotify cus-start cus-load status erc-services erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete pcomplete erc-track erc-match erc-netsplit erc-hl-nicks color erc-button erc-fill erc-stamp wid-edit erc-goodies erc erc-backend erc-compat thingatpt pp warnings advice vc-dir ewoc vc vc-dispatcher cc-styles cc-align cc-engine cc-vars cc-defs ebdb-complete ebdb-message sendmail message puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mail-utils gmm-utils mailheader ebdb-mua ebdb-com crm mailabbrev ebdb-format qp ebdb cl-extra help-mode eieio-opt speedbar sb-image ezimage dframe find-func eieio-base pcase subr-x cal-menu calendar cal-loaddefs timezone ange-ftp comint ansi-color ring server savehist finder-inf dwarf-mode-autoloads gdb-shell-autoloads lisppaste-autoloads pydoc-info-autoloads info-look cl weblogger-autoloads info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1393195 721365) (symbols 48 51459 81) (miscs 40 16109 1526) (strings 32 507292 69060) (string-bytes 1 13719589) (vectors 16 244763) (vector-slots 8 3668114 248015) (floats 8 474 1253) (intervals 56 29271 2181) (buffers 992 94)) --=-=-=--