unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@lsi.nec.co.jp>
Subject: gdbui hang
Date: 10 May 2004 13:43:27 +0900	[thread overview]
Message-ID: <buosme899jk.fsf@mcspd15.ucom.lsi.nec.co.jp> (raw)

Sometimes (well, actually fairly often) the new fancy gdb mode hangs in
a way that can't be interrupted, e.g.:

   ...
   Program exited normally.
   (gdb) break poc_startup
   Function "poc_startup" not defined.
   Make breakpoint pending on future shared library load? (y or [n]) n

     C-c C-c  C-c C-c  C-c C-c  C-c C-c  C-c C-c  C-c C-c  C-c C-c

I'm not sure what other info is useful to debug this.

[A related problem is that if I kill the *gud-foo* buffer to try and
recover from the hang, and then start another gdb process, it will often
fail to work, saying `selecting deleted buffer' in a command I give.  In
general it's a good idea to recover gracefully if a buffer is deleted;
the gdb mode probably shouldn't be keeping any session state outside of
the gdb buffer itself -- i.e., try to make any state variables
buffer-local in the gdb session buffer.]

-Miles
-- 
Run away!  Run away!

             reply	other threads:[~2004-05-10  4:43 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-10  4:43 Miles Bader [this message]
2004-05-10  6:22 ` gdbui hang Kim F. Storm
2004-05-10 17:30 ` Nick Roberts
2004-05-10 18:16   ` Stefan Monnier
2004-05-10 18:42     ` Nick Roberts
2004-05-11 12:23       ` Richard Stallman
2004-05-11 12:49       ` Miles Bader
2004-05-11 20:25         ` Nick Roberts
2004-05-11 21:08           ` Miles Bader
2004-05-11 21:27             ` Nick Roberts
2004-05-11 21:40             ` Stefan Monnier
2004-05-10 17:41 ` Nick Roberts
2004-05-10 19:09   ` Stefan Monnier
2004-05-11 21:07     ` Nick Roberts
2004-05-11 21:37       ` Stefan Monnier
2004-05-11 22:43         ` Nick Roberts
2004-05-11 23:23           ` Stefan Monnier
2004-05-12 12:40             ` Kim F. Storm
2004-05-12 14:59               ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=buosme899jk.fsf@mcspd15.ucom.lsi.nec.co.jp \
    --to=miles@lsi.nec.co.jp \
    --cc=miles@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 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).