From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: cade david Newsgroups: gmane.emacs.bugs Subject: bug#59769: 30.0.50; When debugging with M-x gdb, source buffers have RET key rebound to comint-send-input Date: Fri, 2 Dec 2022 10:44:56 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000064018205eed53188" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30052"; mail-complaints-to="usenet@ciao.gmane.io" To: 59769@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 02 10:46:26 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p12ck-0007dW-7R for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Dec 2022 10:46:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p12cR-0007HX-UN; Fri, 02 Dec 2022 04:46:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p12cM-0007H7-KL for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 04:46:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p12cM-0005KR-C4 for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 04:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p12cM-00070p-3v for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 04:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: cade david Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Dec 2022 09:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59769 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.166997431921743 (code B ref -1); Fri, 02 Dec 2022 09:46:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Dec 2022 09:45:19 +0000 Original-Received: from localhost ([127.0.0.1]:45658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p12be-0005cD-43 for submit@debbugs.gnu.org; Fri, 02 Dec 2022 04:45:18 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:48788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p12bY-0005Jb-GI for submit@debbugs.gnu.org; Fri, 02 Dec 2022 04:45:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p12bY-00075q-1s for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 04:45:12 -0500 Original-Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p12bV-0005AN-Ml for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 04:45:11 -0500 Original-Received: by mail-pj1-x102d.google.com with SMTP id cm20so4435722pjb.1 for ; Fri, 02 Dec 2022 01:45:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=at3YJAfRFt3dBMAxmxnIWP3AuHdbFrL3DOQvBk2xJ/U=; b=HODZ0hGdyh8I7FkrvTw8XYRkqKXAwIwbaeposMJ2njIWBw4r6E83qk/taJs/i1Eqac pHfOIWVgkDPAb55tniszuCBLFLWO6aHtCx4iXW6dmJ+YLzaP0oAiFzh0BB7JS+Nm5Rbp rDP4qvWD/ZW1izkJH7jz1adKpz4wwmdxH7GJV/uHAAKAyGFTlfbNAmXdlsiOlPRnamoV 7VmCotQeAmnX1iiiZ+iwGlefu3CceIpHfhMn5BJCGqdnE8sTNJ7Rn3M77C1VR8W2dmqa vQmOd0GzjrcJPcqYriV3TvA92r4orLOy28QW5PZ+0/Gf6ofVG2beJOfxiPMTnvTmMJkA +6qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=at3YJAfRFt3dBMAxmxnIWP3AuHdbFrL3DOQvBk2xJ/U=; b=AeSJoE2gpj/jotb3gKzHl3PDfFMoxT0ug/J0wf2WZIqIqQ5qM3ZvpiOZ0vJfFSGlye /3YaKb5A+lfWX3mw85K/YMwkjh0fdjHSfU1qlSlvUD0qTD9emwIaBkcFRcseny2+rsvm DW4PRN4YTR9Y7M9CTTBUBBlSqHewhMDIH7iqI7wV6bHMSVVfULX909aRHiagofizhB3O pUhUXseDOgrhBAcOeK80adTs0TpIgs7ijCLaUJwJPYYTj7bx37YjPC1rY/nVS0nwk50m aG4F2QtEGQn2td77tDQkGQckyxYys55SJmrpdqb513Gfnn2mLhuUUFCSuWF9+qNoPTcK WsaQ== X-Gm-Message-State: ANoB5pkBJQTdyGNg8OEdeD/1q/X/Wh8msSLPotfWUT7Dr7Tg4VRVi1bH O36hzW+o1ZpQdg8aNID+Kkxw1OQrpUytujw6QRD4ke0EQPw= X-Google-Smtp-Source: AA0mqf5Sw7OGYPSwG5x17/AjmXvZdOECPafPw+oGsbiQVHxJzYHOn0XDRQdgL/GIRIXL5ZgbcN3meXEO+64TebEBd0k= X-Received: by 2002:a17:90a:4594:b0:218:f745:76fe with SMTP id v20-20020a17090a459400b00218f74576femr42823969pjg.245.1669974307634; Fri, 02 Dec 2022 01:45:07 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::102d; envelope-from=codename68@gmail.com; helo=mail-pj1-x102d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:249729 Archived-At: --00000000000064018205eed53188 Content-Type: text/plain; charset="UTF-8" In emacs master, when debugging using M-x gdb, all the source buffers identified as being part of the debugging session have RET bound to comint-send-input. It writes in the minibuffer "Current buffer has no process" and it doesn't insert a new line as I would have expected. Recipe from emacs -Q: M-x gdb emacs (in gud buffer) start (here emacs.c buffer appears, go to it) RET -> comint-send-input I surmise it has something to do with gud-minor-mode-map that derives from gud-mode-map that derives from comint-mode-map. In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2022-12-02 built on machine Repository revision: 7d6f9753ade57821f5c409bcdeea700be8e53a74 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux 11 (bullseye) Configured using: 'configure --prefix=/home/dcade/sw --with-native-compilation -with-json --with-xinput2' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: fr_FR.UTF-8 value of $XMODIFIERS: @im=uim locale-coding-system: utf-8-unix Major mode: C/*l Minor modes in effect: bug-reference-prog-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-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 line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t abbrev-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils calc calc-loaddefs rect calc-macs vc-git diff-mode easy-mmode vc vc-dispatcher bug-reference cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs files-x gdb-mi bindat byte-opt cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib gud comint ansi-osc ansi-color ring rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode 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 lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 161911 12738) (symbols 48 11812 0) (strings 32 44202 2825) (string-bytes 1 1677092) (vectors 16 27329) (vector-slots 8 474988 17497) (floats 8 49 128) (intervals 56 1143 0) (buffers 984 18)) --00000000000064018205eed53188 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
In emacs master, when debugging using M-x gdb, all the sou= rce buffers
identified as being part of the debugging session have RET b= ound to
comint-send-input. It writes in the minibuffer "Current buf= fer has no
process" and it doesn't insert a new line as I would= have expected.

Recipe from emacs -Q:

M-x gdb emacs
(in gu= d buffer)
start
(here emacs.c buffer appears, go to it)
RET -> = comint-send-input

I surmise it has something to do with gud-minor-mo= de-map that derives
from gud-mode-map that derives from comint-mode-map.=


In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Versio= n
=C2=A03.24.24, cairo version 1.16.0) of 2022-12-02 built on machineRepository revision: 7d6f9753ade57821f5c409bcdeea700be8e53a74
Repositor= y branch: master
Windowing system distributor 'The X.Org Foundation&= #39;, version 11.0.12011000
System Description: Debian GNU/Linux 11 (bul= lseye)

Configured using:
=C2=A0'configure --prefix=3D/home/dc= ade/sw --with-native-compilation -with-json
=C2=A0--with-xinput2'
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GP= M GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML= 2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP S= OUND SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 = XPM GTK3 ZLIB

Important settings:
=C2=A0 value of $LANG: fr_FR.UT= F-8
=C2=A0 value of $XMODIFIERS: @im=3Duim
=C2=A0 locale-coding-syste= m: utf-8-unix

Major mode: C/*l

Minor modes in effect:
=C2= =A0 bug-reference-prog-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-e= ldoc-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 electric-indent-mode: t=
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-ba= r-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mod= e: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 l= ine-number-mode: t
=C2=A0 indent-tabs-mode: t
=C2=A0 transient-mark-m= ode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t=
=C2=A0 auto-compression-mode: t
=C2=A0 abbrev-mode: t

Load-pa= th shadows:
None found.

Features:
(shadow sort mail-extr emacs= bug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-= sec password-cache epa derived epg rfc6068
epg-config gnus-util text-pro= perty-search time-date mm-decode mm-bodies
mm-encode mail-parse rfc2231 = mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-u= til mail-prsvr mail-utils calc
calc-loaddefs rect calc-macs vc-git diff-= mode easy-mmode vc
vc-dispatcher bug-reference cc-mode cc-fonts cc-guess= cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs files-x g= db-mi bindat
byte-opt cl-loaddefs comp comp-cstr warnings icons subr-x r= x cl-seq
cl-macs gv cl-extra help-mode bytecomp byte-compile cl-lib gud = comint
ansi-osc ansi-color ring rmc iso-transl tooltip cconv eldoc paren=
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel=
term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
re= gexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
pr= og-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
time= r select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-c= olors frame minibuffer nadvice seq simple cl-generic
indonesian philippi= ne cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet l= ao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech e= uropean ethiopic indian cyrillic chinese
composite emoji-zwj charscript = charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure = cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp file= s window text-properties
overlay sha1 md5 base64 format env code-pages m= ule custom widget keymap
hashtable-print-readable backquote threads dbus= bind inotify lcms2
dynamic-setting system-font-setting font-render-setti= ng cairo
move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-pro= cess
native-compile emacs)

Memory information:
((conses 16 161= 911 12738)
=C2=A0(symbols 48 11812 0)
=C2=A0(strings 32 44202 2825)=C2=A0(string-bytes 1 1677092)
=C2=A0(vectors 16 27329)
=C2=A0(vect= or-slots 8 474988 17497)
=C2=A0(floats 8 49 128)
=C2=A0(intervals 56 = 1143 0)
=C2=A0(buffers 984 18))
--00000000000064018205eed53188--