all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Nick Roberts  <nickrob@snap.net.nz>
Cc: 5145@emacsbugs.donarmstrong.com,
	Tom Rauchenwald <sehnsucht.nach.unendlichkeit@quantentunnel.de>
Subject: bug#5145: 23.1.50; GDB/CPU-Usage spikes
Date: Sat, 12 Dec 2009 11:41:38 -0500	[thread overview]
Message-ID: <87zl5oi1q5.fsf@stupidchicken.com> (raw)

> emacs -Q
>
> Compile the following program with gcc -g test.c -o test
>
> ,----[ test.c ]
> | 
> | int main(int argc, char **args)
> | {
> |   return 0;
> | }
> `----
>
> Run the debugger with M-x gdb RET RET, and type run in the GDB-Buffer.
>
> Emacs starts to use 100% cpu for me, although the program has stopped.
> Also, the Modeline says Debugger:run [unknown]

I can reproduce this.

The problem seems to go away if I revert the following change.  Nick,
could you take a look?  Thanks.


2009-08-30  Nick Roberts  <nickrob@snap.net.nz>

  * process.c (wait_reading_process_output): Keep the descriptor
  when pty is used by a non-child process, e.g., in I/O buffer of
  GDB this allows inferior to be restarted.





             reply	other threads:[~2009-12-12 16:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-12 16:41 Chong Yidong [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-12-07 16:17 bug#5145: 23.1.50; GDB/CPU-Usage spikes Tom Rauchenwald

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=87zl5oi1q5.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=5145@emacsbugs.donarmstrong.com \
    --cc=nickrob@snap.net.nz \
    --cc=sehnsucht.nach.unendlichkeit@quantentunnel.de \
    /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.