From unknown Mon Aug 18 11:29:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14597: 24.3.50; Can't stop the program being debugged with gdb-mi Resent-From: daimrod@gmail.com (=?UTF-8?Q?Gr=C3=A9goire?= Jadi) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Jun 2013 07:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14597 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 14597@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.137102378715422 (code B ref -1); Wed, 12 Jun 2013 07:57:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Jun 2013 07:56:27 +0000 Received: from localhost ([127.0.0.1]:57948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Umfup-00040X-PY for submit@debbugs.gnu.org; Wed, 12 Jun 2013 03:56:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59985) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Umful-000409-70 for submit@debbugs.gnu.org; Wed, 12 Jun 2013 03:56:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Umfub-0002SY-KN for submit@debbugs.gnu.org; Wed, 12 Jun 2013 03:56:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID,USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Umfub-0002SU-Gf for submit@debbugs.gnu.org; Wed, 12 Jun 2013 03:56:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UmfuX-0004vb-5u for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2013 03:56:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UmfuT-0002QD-Nd for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2013 03:56:05 -0400 Received: from mail-wg0-x233.google.com ([2a00:1450:400c:c00::233]:51066) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UmfuT-0002Pz-BG for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2013 03:56:01 -0400 Received: by mail-wg0-f51.google.com with SMTP id e11so2536461wgh.30 for ; Wed, 12 Jun 2013 00:56:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=tx3H1tOUcREFDTubU/gKx46oEF7D5LmEdf2LhMRwmww=; b=sFFRhrlfvoIugmBSEpwyRLaKtJRHVBwG0PKfZZfBEsWSJu5oLyzkDs7hxwOFW9DUma Gh1clEn1Bz8i203LUUl4ToWtNJVllC5w4uXgSOToaC8NnC50jeLrxNnQSB9h+gqZwmpm 1g7xFjnxoT10rVYn0QVzJzdKyjnM2jLgG5IGKDZ4Rtx4uoLqg3QTRwvOX4a6tJ2A1gXr /xQ1h9QPLx98kIHORMmQ7d6y24Y2aycYcjKMSYeglpShQtKZZlFaZUuhvFOb5IugH3/5 KtoacLQf1jt9923EbDPZ+udMZovEserICy3jEPdyWQwsGQ/1AzCR7bJ8QtGbyp7dkpff g2pA== X-Received: by 10.194.174.137 with SMTP id bs9mr10952225wjc.59.1371023760524; Wed, 12 Jun 2013 00:56:00 -0700 (PDT) Received: from localhost (ANantes-653-1-33-132.w109-211.abo.wanadoo.fr. [109.211.28.132]) by mx.google.com with ESMTPSA id h8sm22769415wiz.9.2013.06.12.00.55.58 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 12 Jun 2013 00:56:00 -0700 (PDT) From: daimrod@gmail.com (=?UTF-8?Q?Gr=C3=A9goire?= Jadi) Date: Wed, 12 Jun 2013 09:59:43 +0200 Message-ID: <87a9mvn4i8.fsf@tanger.home> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) `gdb-io-stop' fails to stop the program being debugged when using the GDB/MI interface (M-x gdb run gdb -i=mi). C-c C-z also fails to stop the program. However, no error is reported, it fails silently, without doing anything. Recipe: emacs -Q M-x cd RET path/to/emacs-sources/src RET M-x gdb RET (edit the minibuffer to use "gdb -i=mi ./emacs") RET gdb> run -Q [emacs starts] Now try C-c C-z in *gud-emacs* or M-x gdb-io-stop RET This bug is only present when using the GDB/MI interpreter. It doesn't happen using just the GUD interaction buffer interface (with M-x gud-gdb RET), C-c C-z and `gdb-io-stop' can be used to stop the program being debugged in *gud-emacs*. In GNU Emacs 24.3.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2) of 2013-06-12 on tanger Windowing system distributor `The X.Org Foundation', version 11.0.11204000 System Description: Debian GNU/Linux testing (jessie) Configured using: `configure --prefix=/usr/local --with-xwidgets --with-x-toolkit=gtk3 CFLAGS=' -ggdb3 -O0 '' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: semantic-minor-modes-format: ((:eval (if (or semantic-highlight-edits-mode semantic-show-unmatched-syntax-mode) S))) edebug-x-mode: t display-battery-mode: t yas-global-mode: t yas-minor-mode: t TeX-PDF-mode: t smartparens-global-mode: t smartparens-mode: t mode-line-mode: t shell-dirtrack-mode: t winner-mode: t smart-tab-mode: t minibuffer-depth-indicate-mode: t change-cursor-mode: t delete-selection-mode: t global-markit-mode: t markit-mode: t global-auto-revert-mode: t ido-ubiquitous-mode: t show-paren-mode: t elisp-slime-nav-mode: t rcirc-track-minor-mode: t eldoc-mode: t ido-everywhere: t diff-auto-refine-mode: t global-semantic-mru-bookmark-mode: t global-semanticdb-minor-mode: t global-semantic-idle-scheduler-mode: t global-semantic-idle-summary-mode: t global-semantic-highlight-func-mode: t global-semantic-stickyfunc-mode: t semantic-mode: t global-auto-complete-mode: t auto-complete-mode: t global-undo-tree-mode: t undo-tree-mode: t workgroups-mode: t recentf-mode: t tooltip-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 transient-mark-mode: t Recent input: h e C-a C-k C-c C-@ C-z C-a C-z C-v m a C-u g C-x 4 b n e w s C-x 0 C-c t C-d n h I S q q C-n C-p C-n p . . q l l s C-z C-a C-x C-o C-v C-v C-v C-v C-v C-v C-v C-v M-< x C-o C-n C-g C-x o M-v M-v M-v M-v M-< M-> C-x C-o C-x b g d b C-x k C-g C-x b C-x b g d b C-g M-x g u d - g d b k i l l r u n C-x 0 M-x C-g C-c C-g C-u C-c b h t t p : / / l i n u x f r . r g o r g C-v C-v C-v C-v C-v C-v C-v C-v C-h k C-v C-x C-o q C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-h k C-v C-x C-o q C-v C-v M-< Q C-c g B r M-x g u d - g d b C-g C-x 4 b g d r u n s C-x C-o C-c g q C-x b x w C-x C-q SPC SPC SPC SPC C-z C-a C-z C-a C-z C-v i r C-c C-@ C-c C-a M-> C-c C-@ j a v C-a C-k C-c C-@ C-z C-a SPC SPC SPC SPC SPC C-z C-a C-z C-a C-z C-a M-x r e p o r t e m a c s - r e p o r t C-g M-x r e p o r t - e m C-a C-s Recent messages: (No files need saving) View mode: type C-h for help, h for commands, q to quit. Switched: ( -<{ 0: mail }>- | 1: irc | *2: xwidgets* ) Switched: ( *0: mail* | 1: irc | -<{ 2: xwidgets }>- ) Switched: ( 0: mail | -<{ 1: irc }>- | *2: xwidgets* ) Mark set Switched: ( 0: mail | *1: irc* | -<{ 2: xwidgets }>- ) Switched: ( 0: mail | -<{ 1: irc }>- | *2: xwidgets* ) Switched: ( 0: mail | *1: irc* | -<{ 2: xwidgets }>- ) Switched: ( 0: mail | -<{ 1: irc }>- | *2: xwidgets* ) Quit Load-path shadows: /home/daimrod/src/elisp/ensime/dist_2.9.2/elisp/auto-complete hides /home/daimrod/.emacs.d/elpa/auto-complete-1.4/auto-complete /home/daimrod/src/elisp/org-mode/contrib/lisp/htmlize hides /home/daimrod/.emacs.d/elpa/htmlize-1.39/htmlize /home/daimrod/src/elisp/ido-ubiquitous/ido-ubiquitous hides /home/daimrod/.emacs.d/elpa/ido-ubiquitous-1.6/ido-ubiquitous /home/daimrod/src/elisp/ensime/dist_2.9.2/elisp/popup hides /home/daimrod/.emacs.d/elpa/popup-0.5/popup /home/daimrod/src/elisp/org-mode/.dir-locals hides /home/daimrod/src/elisp/magit/.dir-locals /home/daimrod/src/elisp/magit/tests/run-test hides /home/daimrod/src/elisp/auto-complete/tests/run-test /home/daimrod/.emacs.d/elpa/auto-complete-1.4/auto-complete-pkg hides /home/daimrod/src/elisp/auto-complete/auto-complete-pkg /home/daimrod/.emacs.d/elpa/auto-complete-1.4/auto-complete-config hides /home/daimrod/src/elisp/auto-complete/auto-complete-config /home/daimrod/src/elisp/ensime/dist_2.9.2/elisp/auto-complete hides /home/daimrod/src/elisp/auto-complete/auto-complete /home/daimrod/.emacs.d/elpa/s-buffer-0.0.4/s-buffer-autoloads hides /home/daimrod/.emacs.d/elpa/s-buffer-0.0.2/s-buffer-autoloads /home/daimrod/.emacs.d/elpa/s-buffer-0.0.4/s-buffer hides /home/daimrod/.emacs.d/elpa/s-buffer-0.0.2/s-buffer /home/daimrod/.emacs.d/elpa/s-buffer-0.0.4/s-buffer-pkg hides /home/daimrod/.emacs.d/elpa/s-buffer-0.0.2/s-buffer-pkg /home/daimrod/.emacs.d/elpa/json-1.2/json hides /home/daimrod/packages/xwidget-emacs/lisp/json /home/daimrod/src/elisp/multiple-cursors/features/support/env hides /home/daimrod/packages/xwidget-emacs/lisp/env /home/daimrod/src/elisp/xml/xml hides /home/daimrod/packages/xwidget-emacs/lisp/xml /home/daimrod/.emacs.d/custom hides /home/daimrod/packages/xwidget-emacs/lisp/custom /home/daimrod/src/elisp/org-mode/lisp/org-compat hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-compat /home/daimrod/src/elisp/org-mode/lisp/org-crypt hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-crypt /home/daimrod/src/elisp/org-mode/lisp/ob-plantuml hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-plantuml /home/daimrod/src/elisp/org-mode/lisp/ob-mscgen hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-mscgen /home/daimrod/src/elisp/org-mode/lisp/ob-matlab hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-matlab /home/daimrod/src/elisp/org-mode/lisp/ob-exp hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-exp /home/daimrod/src/elisp/org-mode/lisp/ob-lob hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-lob /home/daimrod/src/elisp/org-mode/lisp/org-gnus hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-gnus /home/daimrod/src/elisp/org-mode/lisp/ob-haskell hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-haskell /home/daimrod/src/elisp/org-mode/lisp/org-macs hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-macs /home/daimrod/src/elisp/org-mode/lisp/ob-R hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-R /home/daimrod/src/elisp/org-mode/lisp/ob-emacs-lisp hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-emacs-lisp /home/daimrod/src/elisp/org-mode/lisp/ob-latex hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-latex /home/daimrod/src/elisp/org-mode/lisp/org-w3m hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-w3m /home/daimrod/src/elisp/org-mode/lisp/org-id hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-id /home/daimrod/src/elisp/org-mode/contrib/lisp/org-mac-message hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-mac-message /home/daimrod/src/elisp/org-mode/lisp/ob-scheme hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-scheme /home/daimrod/src/elisp/org-mode/lisp/ob-tangle hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-tangle /home/daimrod/src/elisp/org-mode/lisp/org-bibtex hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-bibtex /home/daimrod/src/elisp/org-mode/lisp/ob-sqlite hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-sqlite /home/daimrod/src/elisp/org-mode/lisp/ob-perl hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-perl /home/daimrod/src/elisp/org-mode/lisp/ob-table hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-table /home/daimrod/src/elisp/org-mode/lisp/org-capture hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-capture /home/daimrod/src/elisp/org-mode/lisp/ob hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob /home/daimrod/src/elisp/org-mode/lisp/org-irc hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-irc /home/daimrod/src/elisp/org-mode/lisp/ob-C hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-C /home/daimrod/src/elisp/org-mode/lisp/ob-io hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-io /home/daimrod/src/elisp/org-mode/lisp/org-list hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-list /home/daimrod/src/elisp/org-mode/lisp/org-indent hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-indent /home/daimrod/src/elisp/org-mode/lisp/ob-css hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-css /home/daimrod/src/elisp/org-mode/lisp/org-clock hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-clock /home/daimrod/src/elisp/org-mode/lisp/org hides /home/daimrod/packages/xwidget-emacs/lisp/org/org /home/daimrod/src/elisp/org-mode/lisp/org-feed hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-feed /home/daimrod/src/elisp/org-mode/lisp/org-info hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-info /home/daimrod/src/elisp/org-mode/lisp/ob-sql hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-sql /home/daimrod/src/elisp/org-mode/lisp/org-bbdb hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-bbdb /home/daimrod/src/elisp/org-mode/lisp/org-footnote hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-footnote /home/daimrod/src/elisp/org-mode/lisp/ob-clojure hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-clojure /home/daimrod/src/elisp/org-mode/lisp/org-inlinetask hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-inlinetask /home/daimrod/src/elisp/org-mode/lisp/org-faces hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-faces /home/daimrod/src/elisp/org-mode/lisp/org-mhe hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-mhe /home/daimrod/src/elisp/org-mode/lisp/ob-keys hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-keys /home/daimrod/src/elisp/org-mode/lisp/org-docview hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-docview /home/daimrod/src/elisp/org-mode/lisp/org-rmail hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-rmail /home/daimrod/src/elisp/org-mode/lisp/org-element hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-element /home/daimrod/src/elisp/org-mode/lisp/ob-ocaml hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-ocaml /home/daimrod/src/elisp/org-mode/lisp/org-attach hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-attach /home/daimrod/src/elisp/org-mode/lisp/ob-picolisp hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-picolisp /home/daimrod/src/elisp/org-mode/lisp/org-ctags hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-ctags /home/daimrod/src/elisp/org-mode/lisp/org-table hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-table /home/daimrod/src/elisp/org-mode/lisp/ob-java hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-java /home/daimrod/src/elisp/org-mode/lisp/org-eshell hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-eshell /home/daimrod/src/elisp/org-mode/lisp/org-agenda hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-agenda /home/daimrod/src/elisp/org-mode/lisp/ob-awk hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-awk /home/daimrod/src/elisp/org-mode/lisp/ob-org hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-org /home/daimrod/src/elisp/org-mode/lisp/org-habit hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-habit /home/daimrod/src/elisp/org-mode/lisp/ob-calc hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-calc /home/daimrod/src/elisp/org-mode/lisp/ob-eval hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-eval /home/daimrod/src/elisp/org-mode/lisp/ob-shen hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-shen /home/daimrod/src/elisp/org-mode/lisp/ob-scala hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-scala /home/daimrod/src/elisp/org-mode/lisp/ob-lisp hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-lisp /home/daimrod/src/elisp/org-mode/lisp/org-src hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-src /home/daimrod/src/elisp/org-mode/lisp/ob-screen hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-screen /home/daimrod/src/elisp/org-mode/lisp/org-version hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-version /home/daimrod/src/elisp/org-mode/lisp/org-install hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-install /home/daimrod/src/elisp/org-mode/lisp/ob-asymptote hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-asymptote /home/daimrod/src/elisp/org-mode/lisp/ob-fortran hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-fortran /home/daimrod/src/elisp/org-mode/lisp/ob-ruby hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-ruby /home/daimrod/src/elisp/org-mode/lisp/org-plot hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-plot /home/daimrod/src/elisp/org-mode/lisp/ob-js hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-js /home/daimrod/src/elisp/org-mode/lisp/ob-maxima hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-maxima /home/daimrod/src/elisp/org-mode/lisp/org-colview hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-colview /home/daimrod/src/elisp/org-mode/contrib/lisp/org-wl hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-wl /home/daimrod/src/elisp/org-mode/lisp/org-mouse hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-mouse /home/daimrod/src/elisp/org-mode/lisp/org-archive hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-archive /home/daimrod/src/elisp/org-mode/lisp/ob-python hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-python /home/daimrod/src/elisp/org-mode/lisp/ob-dot hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-dot /home/daimrod/src/elisp/org-mode/lisp/ob-sh hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-sh /home/daimrod/src/elisp/org-mode/lisp/org-timer hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-timer /home/daimrod/src/elisp/org-mode/lisp/org-datetree hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-datetree /home/daimrod/src/elisp/org-mode/contrib/lisp/org-mew hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-mew /home/daimrod/src/elisp/org-mode/lisp/org-mobile hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-mobile /home/daimrod/src/elisp/org-mode/lisp/ob-comint hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-comint /home/daimrod/src/elisp/org-mode/lisp/org-entities hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-entities /home/daimrod/src/elisp/org-mode/lisp/org-protocol hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-protocol /home/daimrod/src/elisp/org-mode/lisp/ob-ditaa hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-ditaa /home/daimrod/src/elisp/org-mode/contrib/lisp/org-vm hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-vm /home/daimrod/src/elisp/org-mode/lisp/ob-lilypond hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-lilypond /home/daimrod/src/elisp/org-mode/lisp/ob-ledger hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-ledger /home/daimrod/src/elisp/org-mode/lisp/ob-octave hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-octave /home/daimrod/src/elisp/org-mode/lisp/ob-gnuplot hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-gnuplot /home/daimrod/src/elisp/org-mode/lisp/org-pcomplete hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-pcomplete /home/daimrod/src/elisp/org-mode/lisp/ob-ref hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-ref /home/daimrod/src/elisp/org-mode/lisp/org-loaddefs hides /home/daimrod/packages/xwidget-emacs/lisp/org/org-loaddefs /home/daimrod/src/elisp/org-mode/lisp/ob-sass hides /home/daimrod/packages/xwidget-emacs/lisp/org/ob-sass /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/nxml-enc hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/nxml-enc /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/nxml-ns hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/nxml-ns /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/rng-nxml hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/rng-nxml /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/nxml-parse hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/nxml-parse /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/nxml-outln hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/nxml-outln /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/rng-uri hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/rng-uri /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/nxml-uchnm hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/nxml-uchnm /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/rng-xsd hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/rng-xsd /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/rng-valid hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/rng-valid /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/nxml-mode hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/nxml-mode /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/xsd-regexp hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/xsd-regexp /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/nxml-glyph hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/nxml-glyph /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/nxml-maint hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/nxml-maint /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/rng-parse hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/rng-parse /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/rng-cmpct hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/rng-cmpct /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/rng-pttrn hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/rng-pttrn /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/rng-maint hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/rng-maint /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/rng-match hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/rng-match /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/nxml-rap hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/nxml-rap /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/rng-dt hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/rng-dt /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/nxml-util hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/nxml-util /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/rng-util hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/rng-util /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/rng-loc hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/rng-loc /home/daimrod/.emacs.d/elpa/nxml-mode-20041004/xmltok hides /home/daimrod/packages/xwidget-emacs/lisp/nxml/xmltok /home/daimrod/src/elisp/emacs-w3m/attic/rfc2368 hides /home/daimrod/packages/xwidget-emacs/lisp/mail/rfc2368 /home/daimrod/src/elisp/org-mode/.dir-locals hides /home/daimrod/packages/xwidget-emacs/lisp/gnus/.dir-locals /home/daimrod/src/elisp/emms/lisp/tq hides /home/daimrod/packages/xwidget-emacs/lisp/emacs-lisp/tq /home/daimrod/src/elisp/multiple-cursors/util/vendor/ert hides /home/daimrod/packages/xwidget-emacs/lisp/emacs-lisp/ert Features: (shadow emacsbug semantic/tag-write gud misearch multi-isearch semantic/edit semantic/db-typecache semantic/tag-file inversion semantic/bovine/c semantic/decorate/include semantic/decorate/mode hideif semantic/bovine/c-by semantic/lex-spp semantic/bovine gnus-kill gnus-fun image-file flow-fill qp gnus-cite smiley w3m-form mm-archive mail-extr gnus-async gnus-bcklg gnus-ml conf-mode sh-script executable redshank paredit gnus-topic nndraft nnmh utf-7 nnimap utf7 nnfolder epa-file netrc network-stream starttls gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache epa-mail nnir sendmail gnus-msg edebug-x which-func cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs cal-iso org-rmail org-mhe org-irc org-info org-gnus org-docview org-bibtex bibtex org-bbdb org-w3m tangotango-theme battery cus-start cus-load config-yasnippet yasnippet dropdown-list config-xwdigets xwidget config-xml sxml<->xml nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph xmltok sgml-mode xmlgen config-w3m w3m-search w3m doc-view jka-compr image-mode timezone w3m-hist w3m-fb bookmark-w3m w3m-ems mule-util w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util w3m-load config-theme config-tex preview prv-emacs reporter desktop tex-buf latex tex-style tex config-smerge config-smartparens smartparens-config smartparens dash config-slime info-look slime-xref-browser slime-indentation slime-banner slime-asdf inferior-slime slime-fancy slime-fontifying-fu slime-package-fu slime-references slime-scratch slime-presentations slime-fuzzy slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-parse slime-repl elp slime hyperspec slime-autoloads config-search moccur-edit color-moccur config-scala ensime ensime-ui ensime-semantic-highlight ensime-doc ensime-scalex ensime-search ensime-undo ensime-refactor ensime-builder ensime-debug ensime-inf ensime-sbt ensime-comint-utils ensime-auto-complete ensime-config hideshow pp scala-mode-auto config-quiet config-python config-prolog ediprolog prolog smie align config-plantuml ob-plantuml plantuml-mode config-org org-magit org-contacts org-capture gnus-art mm-uu mml2015 mm-view mml-smime smime dig os-rmine os-util os-github os-bb json os org-element org-annotate-file diary-lib diary-loaddefs ob-sqlite ob-sql ob-sh ob-screen rx ob-scheme ob-sass ob-ruby ob-R ob-python ob-perl ob-org ob-ocaml ob-mscgen ob-matlab ob-octave ob-lilypond ob-lisp ob-ledger ob-latex ob-js ob-java ob-haskell ob-gnuplot ob-dot ob-ditaa ob-css ob-clojure ob-C ob-calc calc-store calc-trail calc-ext calc calc-loaddefs calc-macs ob-awk ob-asymptote org-drill org-learn org-id hi-lock org-latex org-export-latex org-beamer org-exp org-exp-blocks org-agenda footnote org org-macro org-footnote org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader mail-utils config-ocaml ocamldebug shell caml tuareg semantic/sb speedbar sb-image dframe caml-help caml-types caml-emacs config-multiple-cursors multiple-cursors mc-separate-operations rectangular-region-mode mc-mark-more mc-cycle-cursors mc-edit-lines multiple-cursors-core rect config-multi-term multi-term term disp-table ehelp electric config-misc edebug winner smart-tab w3m-wget manual-tagging mb-depth browse-kill-ring woman man cursor-chg chm-view rainbow-mode color dired-x delsel yaml-mode markit autorevert ido-ubiquitous paren linum ac-slime-autoloads ace-jump-mode-autoloads apache-mode-autoloads auctex-autoloads tex-site auto-complete-autoloads browse-kill-ring-autoloads creole-mode-autoloads crontab-mode-autoloads cursor-chg-autoloads debbugs-autoloads doctags-autoloads edebug-x-autoloads ediprolog-autoloads eimp-autoloads el-x-autoloads db-autoloads eshell-manual-autoloads http-post-simple-autoloads anaphora-autoloads ido-ubiquitous-autoloads iy-go-to-char-autoloads json-autoloads key-chord-autoloads kv-autoloads markdown-mode-autoloads multi-term-autoloads nxml-mode-autoloads rng-auto nxml-enc finder-inf php-mode-autoloads popup-autoloads rainbow-mode-autoloads scratch-autoloads smart-tab-autoloads tuareg-autoloads caml-autoloads undo-tree-autoloads web-autoloads wget-autoloads workgroups-autoloads xlicense-autoloads package config-markdown markdown-mode noutline outline config-lisp redshank-loader elisp-slime-nav help-mode etags config-license xlicense skeleton config-js moz js2-mode cc-langs cc-mode cc-fonts cc-guess cc-menus cc-styles cc-align cc-cmds cc-engine cc-vars cc-defs config-java vc-git maven-fetch javadoc-lookup config-irc shoes-off assoc dotassoc kv shoes-off-log huskie anaphora rcirc config-html tidy-autoloads config-haskell config-gtags gtags config-git magit-topgit magit-blame magit-svn find-lisp magit-bisect magit-key-mode magit server epa epg epg-config pcomplete esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg eldoc esh-groups eshell esh-module esh-mode esh-util ido iswitchb view diff-mode log-edit pcvs-util add-log grep compile comint config-emms emms-player-mplayer-quiet emms-player-vlc emms-player-mplayer emms-setup emms-playlist-limit emms-volume emms-volume-amixer emms-i18n emms-history emms-score emms-stream-info emms-metaplaylist-mode emms-bookmarks emms-lastfm-client xml parse-time emms-cue emms-mode-line-icon emms-browser sort emms-playlist-sort emms-last-played emms-player-xine emms-player-mpd tq emms-playing-time emms-lyrics emms-url emms-player-simple emms-streams emms-tag-editor derived format-spec emms-info-metaflac emms-mark emms-mode-line emms-cache emms-info-ogginfo emms-info-mp3info emms-info later-do emms-playlist-mode emms-source-playlist emms-source-file locate dired emms emms-compat config-ediff ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff config-doc doctags config-defuns http-post-simple url-http tls url-auth mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap config-cedet semantic/imenu imenu semantic/db-file data-debug cedet-files semantic/bovine/gcc semantic/dep semantic/ia semantic/analyze/refs semantic/db-find semantic/db-ref semantic/senator semantic/decorate pulse semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/mru-bookmark ring semantic/db-mode semantic/db eieio-base semantic/idle semantic/format ezimage semantic/tag-ls semantic/find semantic/ctxt semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet config-cc-mode gtk-look browse-url config-bindings compile-cache graze-url windmove key-chord warnings config-auto-complete ac-slime auto-complete-config auto-complete advice popup config-alias info undo-tree help-fns diff verbiste scratch workgroups easy-mmode cl-macs gv edmacro kmacro recentf tree-widget wid-edit easymenu ansi-color uniquify ffap thingatpt url-parse auth-source eieio byte-opt gnus-util mm-util mail-prsvr password-cache url-vars saveplace cl nadvice cl-lib bytecomp byte-compile cconv time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment 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 macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind inotify dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty emacs) From unknown Mon Aug 18 11:29:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14597: 24.3.50; Can't stop the program being debugged with gdb-mi Resent-From: Daimrod Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Jun 2013 16:50:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14597 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 14597@debbugs.gnu.org Received: via spool by 14597-submit@debbugs.gnu.org id=B14597.13721789676533 (code B ref 14597); Tue, 25 Jun 2013 16:50:10 +0000 Received: (at 14597) by debbugs.gnu.org; 25 Jun 2013 16:49:27 +0000 Received: from localhost ([127.0.0.1]:40740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UrWQo-0001hG-IN for submit@debbugs.gnu.org; Tue, 25 Jun 2013 12:49:27 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:55450) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UrWQl-0001gs-4s for 14597@debbugs.gnu.org; Tue, 25 Jun 2013 12:49:23 -0400 Received: by mail-wi0-f176.google.com with SMTP id ey16so1038514wid.3 for <14597@debbugs.gnu.org>; Tue, 25 Jun 2013 09:49:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=eeQIFVylwKodm/2hqa2cYgj3JYVbVldE6HgqRA4YCMM=; b=hf4SVRpAuC0B1jAd2Mwm5yIRuKF0tSOEFzAkqJ8zlrdBaH3x/xJX/97PFC/NI1DYpS YXSRNBdY+gvCRYQxYIsnUkkjiPX6O1g9pHks9cFC52yVrWfjcqHxmcCqvWmVQqB4nWYO +VqjmDF+OLI2yRPiZumq75KJUrjlziKpCUx+IyojlQsNXmBFZzTHgKtjSh7Sv/wSa67N 1mK1GayH7SurA4Kdw5nblymHyK13CmHAQXZ2Dtdbj5rBcC5BCj0OMaTB/WAeQEiLKfZg jYyxP7qgISKkWjURdNLb0HpIy1J0PVOmcJC/C3exEgYjwqh92OLFH1AwxL5zQ+fksMoQ 867A== X-Received: by 10.180.187.37 with SMTP id fp5mr9910186wic.5.1372178956761; Tue, 25 Jun 2013 09:49:16 -0700 (PDT) Received: from localhost (ANantes-653-1-33-251.w109-211.abo.wanadoo.fr. [109.211.28.251]) by mx.google.com with ESMTPSA id o14sm5321798wiv.3.2013.06.25.09.49.15 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 25 Jun 2013 09:49:16 -0700 (PDT) From: Daimrod References: <87a9mvn4i8.fsf@tanger.home> Date: Tue, 25 Jun 2013 18:53:23 +0200 In-Reply-To: <87a9mvn4i8.fsf@tanger.home> ("=?UTF-8?Q?Gr=C3=A9goire?= Jadi"'s message of "Wed, 12 Jun 2013 09:59:43 +0200") Message-ID: <87vc52qgho.fsf@tanger.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable daimrod@gmail.com (Gr=C3=A9goire Jadi) writes: > `gdb-io-stop' fails to stop the program being debugged when using the > GDB/MI interface (M-x gdb run gdb -i=3Dmi). C-c C-z also fails to stop the > program. However, no error is reported, it fails silently, without doing > anything. > > Recipe: > > emacs -Q > M-x cd RET path/to/emacs-sources/src RET > M-x gdb RET (edit the minibuffer to use "gdb -i=3Dmi ./emacs") RET > gdb> run -Q > [emacs starts] > Now try C-c C-z in *gud-emacs* or M-x gdb-io-stop RET > > This bug is only present when using the GDB/MI interpreter. It doesn't > happen using just the GUD interaction buffer interface (with M-x gud-gdb > RET), C-c C-z and `gdb-io-stop' can be used to stop the program being > debugged in *gud-emacs*. Here a workaround, it sends a raw string with "C-z" instead of a signal. There is probably a nicer solution but I don't know `gdb-mi.el' and the GDB/MI interface enough. With this, C-c C-z can be used in the gdb-inferior-io buffer to stop the program being debugged. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-lisp-progmodes-gdb-mi.el-gdb-io-stop-Temporarily-wor.patch >From 30217881358cb685d8f1327dfb476f765a0d48a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Jadi?= Date: Tue, 25 Jun 2013 18:40:07 +0200 Subject: [PATCH] * lisp/progmodes/gdb-mi.el (gdb-io-stop): Temporarily workaround for bug #14597. Send raw "C-z" via `gdb-inferior-io' buffer instead of sending a signal. --- lisp/progmodes/gdb-mi.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index 0b52302..a597a32 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el @@ -1646,8 +1646,9 @@ this trigger is subscribed to `gdb-buf-publisher' and called with (defun gdb-io-stop () "Stop the program being debugged." (interactive) - (stop-process - (get-buffer-process gud-comint-buffer) comint-ptyp)) + (process-send-string (get-buffer-process + (gdb-get-buffer-create 'gdb-inferior-io)) + (kbd "C-z"))) (defun gdb-io-eof () "Send end-of-file to the program being debugged." -- 1.8.0.2722.gc0242e5 --=-=-= Content-Type: text/plain -- Daimrod/Greg --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 07 23:24:46 2016 Received: (at control) by debbugs.gnu.org; 8 Jun 2016 03:24:46 +0000 Received: from localhost ([127.0.0.1]:59406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bAU6n-0003H1-Pn for submit@debbugs.gnu.org; Tue, 07 Jun 2016 23:24:45 -0400 Received: from mail-oi0-f43.google.com ([209.85.218.43]:35890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bAU6m-0003Gp-VG for control@debbugs.gnu.org; Tue, 07 Jun 2016 23:24:45 -0400 Received: by mail-oi0-f43.google.com with SMTP id p204so112784763oih.3 for ; Tue, 07 Jun 2016 20:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=+o+qIm7XrtjzR87y4ZB2mCLjMWVQ8Z1DJ+6NHPlVDfQ=; b=nTzwW++FIrwvw97kiNClWYaOFAuLd3R42G0WPWo+XTCDcc8+89JeV25g6Splmg/1oI CKyvnrtADjKys4W7kI12Sva7Q+JHWTezoVCcSwcmdwUAD4Fweq8XlMzV7RWrBgWpCNG3 +UhchlhnkiE/ZKYyxOZ2+qJt6tMNzKdjIILS8QgDL6o747473UvQh+pkPBpxmxBB3X20 74l21qPr1PdEm0QzGEPfofDhAiU9gNF+ICk69qzvKcLvegU4Vyw/N1BOEqe91m1RSFjL QHrkffVUrxdAn5rsL7sSgcJ4Iyy6Sg6PQ8KYgKWTDaWJE0DUW7O/kq5VVMtCFUKx2JG4 8gBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=+o+qIm7XrtjzR87y4ZB2mCLjMWVQ8Z1DJ+6NHPlVDfQ=; b=jOpv23hAFkODyXJHXstyC6XkgRayO/TZoC5YepNYYJxv9KJl8QXv1M998M1KMkIma0 9u2X/XBOAD44QxslYBbStvrjwya3Dv6tqcCunp0Dt7r5ZaKSaQGvC7VMLo2U7fTn7pAh 8YVXZccVaZSVelywZZLvkIKEbgYNjAmoeRUm84fnDfJPMVleIjeQ1v/FaR8g4ZzXU1I+ mCpFr/Ri288Olyg5136CzXeIp1KO7MbSFZL67Iw1hoTuA/y6vVciV+/cbER7dnhNIb6c 1Bs6Pfo0KL8l7oLH1MCH+i0fgoPFIKeXTpPhVYwx5ljsm3/hG9c8x/GLsBObn4ioed2v G7lA== X-Gm-Message-State: ALyK8tLm7W7caL5fSc/7Vbv0u47zlsHb3Rm3I5LJMlb7qzz8W+tyZS4k17dP24UUdqgGFPqsc1+hNL7J8N59Ow== X-Received: by 10.157.51.74 with SMTP id u10mr1739605otd.124.1465356279512; Tue, 07 Jun 2016 20:24:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.5.168 with HTTP; Tue, 7 Jun 2016 20:24:38 -0700 (PDT) From: Noam Postavsky Date: Tue, 7 Jun 2016 23:24:38 -0400 X-Google-Sender-Auth: l7SKayfQQxJmUdJG-i2PvMyzb2c Message-ID: Subject: Stopping in gdb-mi To: GNU bug tracker automated control server Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) merge 14597 16745 quit From unknown Mon Aug 18 11:29:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14597: 24.3.50; Can't stop the program being debugged with gdb-mi Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Sep 2020 13:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14597 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Daimrod Cc: 14597@debbugs.gnu.org Received: via spool by 14597-submit@debbugs.gnu.org id=B14597.159965926215519 (code B ref 14597); Wed, 09 Sep 2020 13:48:01 +0000 Received: (at 14597) by debbugs.gnu.org; 9 Sep 2020 13:47:42 +0000 Received: from localhost ([127.0.0.1]:57990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kG0Rq-00042F-FX for submit@debbugs.gnu.org; Wed, 09 Sep 2020 09:47:42 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kG0Ro-000421-Dn for 14597@debbugs.gnu.org; Wed, 09 Sep 2020 09:47:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=d6tdWdkryoPJKNhfOHAi/WOhPj4j8N9jM1C6VyySkL0=; b=TW4qMybUvDQDlC8N0RoA0T6HCj d4AHQm91wVxwM1JKkVNEqLaRKnvwNdrxXd7mkDwRN+gV86B1avNM7FEkQSb8cOlF3hJTm+d9XV1fa KOtcSDux5fAZFDvO3l5tSlXBvGShYtL+gWE/PkFvfivoSyqpIRRzccmqgIyQ9JzWzgdA=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kG0Rf-0003By-5b; Wed, 09 Sep 2020 15:47:33 +0200 From: Lars Ingebrigtsen References: <87a9mvn4i8.fsf@tanger.home> <87vc52qgho.fsf@tanger.home> X-Now-Playing: Drew Daniel, John Wiese's _Continuous Hole_: "Cosmic Joke" Date: Wed, 09 Sep 2020 15:47:29 +0200 In-Reply-To: <87vc52qgho.fsf@tanger.home> (daimrod@gmail.com's message of "Tue, 25 Jun 2013 18:53:23 +0200") Message-ID: <87zh5z83ke.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Daimrod writes: >> `gdb-io-stop' fails to stop the program being debugged when using the >> GDB/MI interface (M-x gdb run gdb -i=mi). C-c C-z also fails to stop the >> program. However, no error is reported, it fails [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Daimrod writes: >> `gdb-io-stop' fails to stop the program being debugged when using the >> GDB/MI interface (M-x gdb run gdb -i=mi). C-c C-z also fails to stop the >> program. However, no error is reported, it fails silently, without doing >> anything. [...] > Here a workaround, it sends a raw string with "C-z" instead of a signal. > There is probably a nicer solution but I don't know `gdb-mi.el' and the > GDB/MI interface enough. > > With this, C-c C-z can be used in the gdb-inferior-io buffer to stop the > program being debugged. [...] > - (stop-process > - (get-buffer-process gud-comint-buffer) comint-ptyp)) > + (process-send-string (get-buffer-process > + (gdb-get-buffer-create 'gdb-inferior-io)) > + (kbd "C-z"))) There were unfortunately no comments at the time (seven years ago), but the code in gdb-mi essentially looks the same to this day. I'm not very familiar with gdb-mi, though -- does anybody have an opinion here? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Mon Aug 18 11:29:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14597: 24.3.50; Can't stop the program being debugged with gdb-mi Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Sep 2020 15:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14597 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: daimrod@gmail.com, 14597@debbugs.gnu.org Received: via spool by 14597-submit@debbugs.gnu.org id=B14597.159966434811187 (code B ref 14597); Wed, 09 Sep 2020 15:13:02 +0000 Received: (at 14597) by debbugs.gnu.org; 9 Sep 2020 15:12:28 +0000 Received: from localhost ([127.0.0.1]:32920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kG1ls-0002uM-D3 for submit@debbugs.gnu.org; Wed, 09 Sep 2020 11:12:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kG1lr-0002u8-Lr for 14597@debbugs.gnu.org; Wed, 09 Sep 2020 11:12:27 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36356) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kG1lm-0003pg-AM; Wed, 09 Sep 2020 11:12:22 -0400 Received: from [176.228.60.248] (port=4316 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kG1lk-0001Ni-1c; Wed, 09 Sep 2020 11:12:20 -0400 Date: Wed, 09 Sep 2020 18:12:22 +0300 Message-Id: <831rjbkmqx.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87zh5z83ke.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 09 Sep 2020 15:47:29 +0200) References: <87a9mvn4i8.fsf@tanger.home> <87vc52qgho.fsf@tanger.home> <87zh5z83ke.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Date: Wed, 09 Sep 2020 15:47:29 +0200 > Cc: 14597@debbugs.gnu.org > > Daimrod writes: > > > - (stop-process > > - (get-buffer-process gud-comint-buffer) comint-ptyp)) > > + (process-send-string (get-buffer-process > > + (gdb-get-buffer-create 'gdb-inferior-io)) > > + (kbd "C-z"))) > > There were unfortunately no comments at the time (seven years ago), but > the code in gdb-mi essentially looks the same to this day. > > I'm not very familiar with gdb-mi, though -- does anybody have an > opinion here? Can you try this with a recent GDB? AFAIR, it nowadays better separates the command file descriptor from the program's I/O descriptors, so perhaps the problem is fixed. Note that you need to type C-z/C-c C-z into the buffer where the program's I/O is redirected. From unknown Mon Aug 18 11:29:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14597: 24.3.50; Can't stop the program being debugged with gdb-mi Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Sep 2020 13:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14597 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: daimrod@gmail.com, 14597@debbugs.gnu.org Received: via spool by 14597-submit@debbugs.gnu.org id=B14597.15997454543969 (code B ref 14597); Thu, 10 Sep 2020 13:45:01 +0000 Received: (at 14597) by debbugs.gnu.org; 10 Sep 2020 13:44:14 +0000 Received: from localhost ([127.0.0.1]:37721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGMs1-00011w-Jx for submit@debbugs.gnu.org; Thu, 10 Sep 2020 09:44:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGMs0-00011h-56 for 14597@debbugs.gnu.org; Thu, 10 Sep 2020 09:44:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=rEm/wZatyYBz+SjhkcIC1oYyutV6/nzDYdEyB8z509Q=; b=YHvJK3q1FD7Su2L2SWOLey9Org vZhfaHsOAZfeYr9USFiXmfBmq7ZbIT7sOaQwh6kYcyrqv0umYVez0964FDGQldIbrRRKraE9NY1gd m2J7NP9v0xUObhVPNvky9NCIDjBLAJ9Vb+nt4qPz2V3a/o8pWXUKHTtkZhf/4yXYNGPo=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kGMrp-00073g-Pr; Thu, 10 Sep 2020 15:44:05 +0200 From: Lars Ingebrigtsen References: <87a9mvn4i8.fsf@tanger.home> <87vc52qgho.fsf@tanger.home> <87zh5z83ke.fsf@gnus.org> <831rjbkmqx.fsf@gnu.org> X-Now-Playing: Steward's _I Was The Only Boy On The Netball Team_: "Steward - The Man The The Tiny Hands (Lens Cut Slow Mix)" Date: Thu, 10 Sep 2020 15:43:59 +0200 In-Reply-To: <831rjbkmqx.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 09 Sep 2020 18:12:22 +0300") Message-ID: <87y2lh6928.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Can you try this with a recent GDB? AFAIR, it nowadays better > separates the command file descriptor from the program's I/O > descriptors, so perhaps the problem is fixed. > > Note that you need to [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > Can you try this with a recent GDB? AFAIR, it nowadays better > separates the command file descriptor from the program's I/O > descriptors, so perhaps the problem is fixed. > > Note that you need to type C-z/C-c C-z into the buffer where the > program's I/O is redirected. Ah, thanks, I was doing C-c C-z in the *gud-emacs* buffer and wondering why nothing was happening. Doing C-c C-z in the input/output buffer gives me Thread 1 "emacs" received signal SIGTSTP, Stopped (user). in the gud-emacs buffer, so I guess that this has been fixed now. So I'm closing this bug report. If there is still a problem, please respond to the debbugs address and we'll reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 10 09:44:21 2020 Received: (at control) by debbugs.gnu.org; 10 Sep 2020 13:44:21 +0000 Received: from localhost ([127.0.0.1]:37724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGMs9-00012G-17 for submit@debbugs.gnu.org; Thu, 10 Sep 2020 09:44:21 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGMs7-00011x-1D for control@debbugs.gnu.org; Thu, 10 Sep 2020 09:44:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type: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=naUrQV5rnNgqvq9nTkjLRegKnsDEdXTC0resHU0DQwc=; b=Yid8cN6Fjpl6dnfdp1T9/SlokD S7EYLwBZN/5uy6lazz8s0agfgDWV3TF7TPojRcFlY8r3H25NqBR25leRNgbNFkG0wnn+RCBg7s+0o LEcCEDBHuXRaxzA8DmTzrLTpS87gTDBE239EhHdEpSo7BYfWySkxrX7ClYT1XCVhSMDw=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kGMrz-00073v-6R for control@debbugs.gnu.org; Thu, 10 Sep 2020 15:44:13 +0200 Date: Thu, 10 Sep 2020 15:44:09 +0200 Message-Id: <87wo11691y.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #14597 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 14597 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 14597 quit