all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steve Revilak <steve@srevilak.net>
To: 6962@debbugs.gnu.org
Subject: bug#6962: 24.0.90; M-x gdb: hangs when leaving the gdb
Date: Sat, 5 Nov 2011 20:41:27 -0400	[thread overview]
Message-ID: <20111106004127.GD3368@srevilak.net> (raw)
In-Reply-To: <4C7DCB81.70106@no8wireless.co.nz>

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

I tried my Oct 6th 2011 test case with Emacs 24.0.91.  24.0.91 is
definitely much better.  Emacs no longer hangs when I type "quit" at
the (gdb) prompt; instead Emacs offers the following in the
minibuffer:

   Buffer "*input/output of foo*" has a running process; kill it? (yes
   or no)

That seems much nicer than the behavior under 24.0.90.

I also tried the `exit 0' case I provided earlier (using a C-source
file called foo.c):

   - M-x gdb RET
   - press RET at the minibuffer's "Run gdb" message
   - type "set args x RET" at the (gdb) prompt
   - type "run RET" at (gdb) prompt

Performing these steps causes (the compiled) foo.c to run and exit(0).
Aferwards, I see "Debugger:run [exited-normally]" in the mode line.
The text `exited-normally' is colored red -- should it be green for
normal termination of the debugged program?

Red vs. green is really a minor thing.  I believe this issue can be
closed.

Steve


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2011-11-06  0:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01  3:41 bug#6962: GDB hangs Aidan Gauland
2011-10-07  0:16 ` bug#6962: 24.0.90; M-x gdb: hangs when leaving the gdb Steve Revilak
2011-10-29  0:20   ` Glenn Morris
2011-11-06  0:41 ` Steve Revilak [this message]
2011-11-06  0:52   ` Christoph Scholtes
2011-11-06  1:02     ` Glenn Morris
2011-12-06  8:46       ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111106004127.GD3368@srevilak.net \
    --to=steve@srevilak.net \
    --cc=6962@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.