From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Martin Sebor Newsgroups: gmane.emacs.bugs Subject: bug#36505: 26.1; GDB stepping through code splits GUD windows Date: Thu, 4 Jul 2019 13:55:50 -0600 Message-ID: <0cf36bd0-c928-bdf1-12c0-05fd223535f3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="243716"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 To: 36505@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 04 22:24:00 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hj8Gs-00117j-A6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jul 2019 22:23:58 +0200 Original-Received: from localhost ([::1]:48550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hj7zr-00027Z-5E for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Jul 2019 16:06:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42297) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hj7zg-00027R-NG for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 16:06:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hj7ze-0003uY-Q9 for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 16:06:12 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43142) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hj7zW-0003qm-69 for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 16:06:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hj7zW-0007yG-0Z for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 16:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Martin Sebor Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Jul 2019 20:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36505 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.156227072130545 (code B ref -1); Thu, 04 Jul 2019 20:06:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Jul 2019 20:05:21 +0000 Original-Received: from localhost ([127.0.0.1]:51957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hj7yq-0007wa-UY for submit@debbugs.gnu.org; Thu, 04 Jul 2019 16:05:21 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:47269) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hj7pm-0007fs-Ey for submit@debbugs.gnu.org; Thu, 04 Jul 2019 15:55:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41531) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hj7pk-0007ee-Q0 for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 15:55:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hj7pj-0004cS-DF for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 15:55:56 -0400 Original-Received: from mail-qk1-x730.google.com ([2607:f8b0:4864:20::730]:46671) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hj7pj-0004bm-5t for bug-gnu-emacs@gnu.org; Thu, 04 Jul 2019 15:55:55 -0400 Original-Received: by mail-qk1-x730.google.com with SMTP id r4so6268502qkm.13 for ; Thu, 04 Jul 2019 12:55:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:subject:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=5Om8NmExGTOcwmhFa7qHWd9akmaz9rk4ej/KCl4qMt4=; b=I0xdDJ0MfUsdWWOT/myj961mzjHHopOZOGqNKahjxQ+9xkTcM4yJz45xbXPib0Ueey 2N9IDfn15wA8ULiCXZBMk4jXlBQiK21spjbFhszrC5ZRyc9DlPh7kjO7vwdn91MWnOHz Nlo8tr+ePpkh7D9A0FUjM4MBNJetYdaCK/ezLO2FoLQvDHrHJR6A1QQFc+daPTjKnH0y DqxYTlqrmjhLAE+5PWkFWwKnnoL/fvTT5Www8u6dTcvznY5jf2cMrpZ+EcyJxZsflEh0 SLuDnXdgxBWkTnSOSf4iKWS/zwfYE1vzPnSq5dGqbPzXoAH2xho0Xgu0kzwtKUFQwxBv 0/Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:subject:from:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=5Om8NmExGTOcwmhFa7qHWd9akmaz9rk4ej/KCl4qMt4=; b=EaYUudx+3LCsqgcXztNm/f4uNGMnMogzaDkXvX0qn78RpjnsKdwZMDILUkhjedRRhI XIMWSVGBWCtixOOfKjJrnWGtQeTqevRp+ee4X+VQz8VX7tRIdTf4O06PrFw1xb/i5usG fCHZYaG33UJpGY3uITZZGWeFdrMzH/4VbvJULGFGHHglfnk+o7sR0gt+gIHYIurx5xVA EMCeyrRaf+BaS0IH40Llyz83Y3NeefmVOMccaRWEUhG4y/hxhKPbL0FYSZqELYQG9Sua kyrOWHZmtvHRhO5SLMKPC4Qrvph3nnTPQTj2lVG/GVywxIo4X+pk4km5QWBB8GGbOpet WHDw== X-Gm-Message-State: APjAAAVUiQ3Vz1EHqaItAQgFbmsR8cDUw4BYmOBt+SLta+Zfq98Uiw3c 5Y8987PrDouT6LJzie4VqeOyI7UR X-Google-Smtp-Source: APXvYqyAG2oUknPTGtrGLfm+9+/6ADB/lNNX72F+0+WbHLZLtruIiviYLayiGwivhejYHS7ZVsLDBQ== X-Received: by 2002:a37:278c:: with SMTP id n134mr144386qkn.427.1562270153374; Thu, 04 Jul 2019 12:55:53 -0700 (PDT) Original-Received: from [192.168.0.41] (174-16-116-9.hlrn.qwest.net. [174.16.116.9]) by smtp.gmail.com with ESMTPSA id n18sm2771784qtp.79.2019.07.04.12.55.51 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Thu, 04 Jul 2019 12:55:51 -0700 (PDT) Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Thu, 04 Jul 2019 16:05:19 -0400 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: 209.51.188.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:162080 Archived-At: Since the latest Fedora 29 update, while using the GUD many windows mode and stepping in GDB into functions defined in other files than the current one, Emacs will sometimes open the new file either by splitting the current window, or sometimes in the input/output of gcc window. Sometimes it seemingly abitrarily also resizes the windows and changes the layout of the debugging session. This makes debugging using GUD so confusing that it's nearly unusable. I end up using gdb-restore-windows every few seconds to at least temporarily restore some sanity to the layout. Since the default layout isn't ideal for my use, I then have to resize it to my preferred size only to have GUD screw it up again once I step into a function in some other file. In GNU Emacs 26.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.23.2) of 2018-08-13 built on buildvm-13.phx2.fedoraproject.org Windowing system distributor 'Fedora Project', version 11.0.12004000 Recent messages: The program being debugged exited while in a function called from GDB. Evaluation of the expression containing the function (tree_class_check(tree_node*, tree_code_class, char const*, int, char const*)) will be abandoned. Switched to thread 1 Switched to thread nil Switched to thread 1 Mark set Switched to thread nil Switched to thread 1 Mark activated Configured using: 'configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no --with-xwidgets --with-modules build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' LDFLAGS=-Wl,-z,relro PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS XWIDGETS LCMS2 Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix Major mode: C++//l Minor modes in effect: diff-auto-refine-mode: t gdb-many-windows: t global-undo-tree-mode: t undo-tree-mode: t savehist-mode: t show-paren-mode: t display-time-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-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 column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils misearch multi-isearch vc-git diff-mode cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cl-seq gdb-mi bindat json map seq byte-opt bytecomp byte-compile cconv gud easy-mmode comint ansi-color ring elec-pair undo-tree diff highlight-chars redspace-mode savehist-20+ desktop frameset paren time cus-start cus-load 50magit clang-format cl-macs gv xml 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 lcms2 dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 307086 22928) (symbols 48 26756 2) (miscs 40 300 1086) (strings 32 56058 3214) (string-bytes 1 1680186) (vectors 16 25160) (vector-slots 8 1001757 74114) (floats 8 82 316) (intervals 56 26702 303) (buffers 992 29))