From: Nick Roberts <nickrob@snap.net.nz>
To: robert marshall <robert.marshall@tnei.co.uk>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; gdb not running the program first time around
Date: Fri, 22 Feb 2008 21:43:19 +1300 [thread overview]
Message-ID: <18366.35623.165446.202435@kahikatea.snap.net.nz> (raw)
In-Reply-To: <47BD44EE.30402@tnei.co.uk>
> Just to confirm that the patch still works ok - the only issue where it
> appears to get confused - though I've not verified whether the pre-patch
> code also had this issue - is when gdb crashes - then a M-x gdb restarts
> the debugger but doesn't produce a prompt until you press return
OK, thanks for getting back. I've only applied the patch to trunk (which I
think you have anyway) because it causes problems to gud-gdb which need to be
investigated.
Gdb crashing should be a rare occurance but the problem coincidentally seems
to be solved by Stefan Monnier's recent patch. If you're updating in CVS
you can get it that way, otherwise it's reproduced below.
--
Nick http://www.inet.net.nz/~nickrob
--- orig/lisp/progmodes/gdb-ui.el
+++ mod/lisp/progmodes/gdb-ui.el
@@ -150,7 +150,7 @@
(defvar gdb-prompting nil
"True when gdb is idle with no pending input.")
-(defvar gdb-output-sink 'user
+(defvar gdb-output-sink nil
"The disposition of the output of the current gdb command.
Possible values are these symbols:
@@ -317,6 +317,7 @@
(local-set-key "\C-i" 'gud-gdb-complete-command)
(setq comint-prompt-regexp "^(.*gdb[+]?) *")
(setq paragraph-start comint-prompt-regexp)
+ (setq gdb-output-sink 'user)
(setq gdb-first-prompt t)
(setq gud-running nil)
(setq gdb-ready nil)
prev parent reply other threads:[~2008-02-22 8:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-13 10:13 23.0.60; gdb not running the program first time around robert marshall
2008-02-14 0:33 ` Nick Roberts
2008-02-14 9:04 ` robert marshall
2008-02-14 23:01 ` Nick Roberts
2008-02-15 11:28 ` robert marshall
2008-02-15 21:36 ` Nick Roberts
2008-02-15 22:30 ` Miles Bader
2008-02-16 13:13 ` Eli Zaretskii
2008-02-18 9:32 ` robert marshall
2008-02-18 10:12 ` Nick Roberts
2008-02-21 9:31 ` robert marshall
2008-02-22 8:43 ` Nick Roberts [this message]
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=18366.35623.165446.202435@kahikatea.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=emacs-pretest-bug@gnu.org \
--cc=robert.marshall@tnei.co.uk \
/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.