unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14597: 24.3.50; Can't stop the program being debugged with gdb-mi
@ 2013-06-12  7:59 Grégoire Jadi
  2013-06-25 16:53 ` Daimrod
  0 siblings, 1 reply; 5+ messages in thread
From: Grégoire Jadi @ 2013-06-12  7:59 UTC (permalink / raw)
  To: 14597


`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 <tab> <tab> C-a C-k C-c C-@ C-z C-a C-z C-v m a 
<return> C-u g C-x 4 b n e w s C-x 0 C-c t C-d n <return> 
<return> h <tab> I S <return> q <return> <return> q 
C-n C-p C-n p <return> . . q l <return> 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 <return> C-x k C-g C-x b <return> C-x b g d b C-g 
M-x g u d - g d b <return> <return> k i l l <return> 
r u n <return> 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 <backspace> <backspace> 
o r g <return> <xwidget-event> <xwidget-event> 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 <return> 
C-g C-x 4 b g d <return> r u n <return> s <backspace> 
C-x C-o C-c g q C-x b x w <return> C-x C-q SPC SPC 
SPC SPC C-z C-a C-z C-a C-z C-v i r <return> C-c C-@ 
C-c C-a M-> C-c C-@ j a v <tab> C-a C-k C-c C-@ C-z 
C-a SPC <backspace> SPC SPC SPC SPC C-z C-a C-z C-a 
C-z C-a M-x r e p o r t <C-backspace> 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 <retur
n>

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)





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#14597: 24.3.50; Can't stop the program being debugged with gdb-mi
  2013-06-12  7:59 bug#14597: 24.3.50; Can't stop the program being debugged with gdb-mi Grégoire Jadi
@ 2013-06-25 16:53 ` Daimrod
  2020-09-09 13:47   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Daimrod @ 2013-06-25 16:53 UTC (permalink / raw)
  To: 14597

[-- Attachment #1: Type: text/plain, Size: 1047 bytes --]

daimrod@gmail.com (Grégoire Jadi) 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.
>
> 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*.

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.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-progmodes-gdb-mi.el-gdb-io-stop-Temporarily-wor.patch --]
[-- Type: text/x-diff, Size: 1085 bytes --]

From 30217881358cb685d8f1327dfb476f765a0d48a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gr=C3=A9goire=20Jadi?= <gregoire.jadi@gmail.com>
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


[-- Attachment #3: Type: text/plain, Size: 19 bytes --]



-- 
Daimrod/Greg

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* bug#14597: 24.3.50; Can't stop the program being debugged with gdb-mi
  2013-06-25 16:53 ` Daimrod
@ 2020-09-09 13:47   ` Lars Ingebrigtsen
  2020-09-09 15:12     ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2020-09-09 13:47 UTC (permalink / raw)
  To: Daimrod; +Cc: 14597

Daimrod <daimrod@gmail.com> 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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#14597: 24.3.50; Can't stop the program being debugged with gdb-mi
  2020-09-09 13:47   ` Lars Ingebrigtsen
@ 2020-09-09 15:12     ` Eli Zaretskii
  2020-09-10 13:43       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2020-09-09 15:12 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: daimrod, 14597

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Wed, 09 Sep 2020 15:47:29 +0200
> Cc: 14597@debbugs.gnu.org
> 
> Daimrod <daimrod@gmail.com> 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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#14597: 24.3.50; Can't stop the program being debugged with gdb-mi
  2020-09-09 15:12     ` Eli Zaretskii
@ 2020-09-10 13:43       ` Lars Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2020-09-10 13:43 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: daimrod, 14597

Eli Zaretskii <eliz@gnu.org> 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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-10 13:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-12  7:59 bug#14597: 24.3.50; Can't stop the program being debugged with gdb-mi Grégoire Jadi
2013-06-25 16:53 ` Daimrod
2020-09-09 13:47   ` Lars Ingebrigtsen
2020-09-09 15:12     ` Eli Zaretskii
2020-09-10 13:43       ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).