[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gud : Phase error in gdb-pre-prompt (got pre-emacs)
From: |
Francis Moreau |
Subject: |
Re: gud : Phase error in gdb-pre-prompt (got pre-emacs) |
Date: |
Tue, 22 Jul 2008 16:49:56 +0200 |
Hi !
On Mon, Jul 7, 2008 at 11:19 AM, Nick Roberts <nickrob@snap.net.nz> wrote:
> > > > Yes probably, I'm using a gdb patched by a third party but don't know
> > > > and can't figure out what has been patched...
> > >
> > > Then the patch may change behaviour in other ways. I suspect that it's
> > > not issuing some of the prompt annotations. A distributed patched gdb is
> > > covered by GPL so presumably you have access to the source code. What
> > > version of gdb is itbased on? and who are the third party?
> > >
> >
> > GNU gdb STMicroelectronics/Linux Base 6.5-24 [build Oct 24 2007]
> >
> > coming from
> >
> > http://www.stlinux.com/download/
>
> OK. In that case it might be a good idea to try the mode in the package
> gdb-mi
> at ELPA (http://tromey.com/elpa/) which uses GDB/MI instead of annotations.
> If
> you are familiar with Emacs, this is very straightforward to
> install/uninstall.
> This will replace the current mode, anyway, as annotations are being
> deprecated. Also I know that there are at least two people (Denis Pilat and
> Andrew Stubbs) from STMicroelectronics who have been active on the GDB mailing
> list and who have contributed to GDB/MI. If this works for you please report
> back to this list.
>
FYI, I have exactly the same issue when using KGDB (as gdbserver)...
gdb is started from emacs by issuing: gdb --annotate=3 vmlinux
host and client are PC (x86-64)
Thanks
--
Francis
Re: gud : Phase error in gdb-pre-prompt (got pre-emacs), hui wang, 2008/07/03