From: Nick Roberts <nick@nick.uklinux.net>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: M-x gdb troubles
Date: Wed, 21 Apr 2004 23:09:45 +0100 [thread overview]
Message-ID: <16518.61737.729426.615768@nick.uklinux.net> (raw)
In-Reply-To: <m3oepl7xcz.fsf@kfs-l.imdomain.dk>
> > Yuck. I'd much rather just throw an error and be done with it.
> > Let the user switch to the gdb buffer manually.
> >
>
> Well, what if it jumped to the existing buffer and then signalled an error
> (e.g. gdb already running).
>
> I could live with that... :-)
The patch does jump to the existing buffer. In the case of "annotate=3", I had
meant to call gdb-restore-windows when there was an existing buffer. However,
this just restores to a standard layout and probably doesn't warrant the
ugliness of using catch.
It also removes the problem with the debuggers in gud which would insert an
unwanted "Current directory is ..." into the GUD buffer.
So shall I use error where I've put throw and take out the catch part?
Nick
next prev parent reply other threads:[~2004-04-21 22:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-21 19:16 M-x gdb troubles Nick Roberts
2004-04-21 20:30 ` Stefan Monnier
2004-04-21 22:57 ` Kim F. Storm
2004-04-21 22:09 ` Nick Roberts [this message]
2004-04-21 22:38 ` Miles Bader
2004-04-22 0:46 ` Kim F. Storm
2004-04-23 0:12 ` Nick Roberts
2004-04-23 15:07 ` Stefan Monnier
2004-04-28 16:44 ` Nick Roberts
2004-04-28 17:05 ` Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2004-04-20 15:22 Kim F. Storm
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=16518.61737.729426.615768@nick.uklinux.net \
--to=nick@nick.uklinux.net \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).