[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M-x gdb troubles
From: |
Kim F. Storm |
Subject: |
Re: M-x gdb troubles |
Date: |
22 Apr 2004 02:46:58 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Nick Roberts <address@hidden> writes:
> > > 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?
I prefer if things work smoothly -- so I like your patch (and don't object).
However, if others object to that approach, I can live with less...
So if you don't get more objections, I think you can install your patch.
(Stefan may disagree of course).
--
Kim F. Storm <address@hidden> http://www.cua.dk
- M-x gdb troubles, Kim F. Storm, 2004/04/20
- RE: M-x gdb troubles, Nick Roberts, 2004/04/21
- Re: M-x gdb troubles, Stefan Monnier, 2004/04/21
- Re: M-x gdb troubles, Kim F. Storm, 2004/04/21
- Re: M-x gdb troubles, Nick Roberts, 2004/04/21
- Re: M-x gdb troubles,
Kim F. Storm <=
- Re: M-x gdb troubles, Miles Bader, 2004/04/21
- Re: M-x gdb troubles, Nick Roberts, 2004/04/22
- Re: M-x gdb troubles, Stefan Monnier, 2004/04/23
- Re: M-x gdb troubles, Nick Roberts, 2004/04/28
- Re: M-x gdb troubles, Stefan Monnier, 2004/04/28