[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: other weird gdb-mi problems
From: |
Nick Roberts |
Subject: |
Re: other weird gdb-mi problems |
Date: |
Thu, 27 Aug 2009 11:27:17 +1200 |
> > ... wait a minute... why am I still at frame 1?!
> > "down" is similarly weird:
> >
> > (gdb) down
> > Bottom (innermost) frame selected; you cannot go down.
>
> Does this work correctly outside Emacs? (Sorry for asking such
> obvious questions, but I thought it could be some genuine GDB problem
> with inlined functions.)
It's an Emacs problem. The CLI commands "up" and "down", don't emit any
GDB/MI notifications so Emacs doen't know that the display needs updating. It
could check the selected frame after every command but that seems inefficient.
I have proposed using notifications for changes in state in the past on the
GDB mailing list, e.g.,
http://sourceware.org/ml/gdb-patches/2008-04/msg00377.html but there hasn't
been much interest. I think this is because many frontends don't use a
console like the GUD buffer.
--
Nick http://www.inet.net.nz/~nickrob
- other weird gdb-mi problems, Miles Bader, 2009/08/26
- Re: other weird gdb-mi problems, Eli Zaretskii, 2009/08/26
- Re: other weird gdb-mi problems,
Nick Roberts <=
- Re: other weird gdb-mi problems, Miles Bader, 2009/08/26
- Re: other weird gdb-mi problems, Miles Bader, 2009/08/26
- Re: other weird gdb-mi problems, Nick Roberts, 2009/08/27
- Re: other weird gdb-mi problems, Miles Bader, 2009/08/27
- Re: other weird gdb-mi problems, Nick Roberts, 2009/08/27
- Re: other weird gdb-mi problems, Dmitry Dzhus, 2009/08/27
- Re: other weird gdb-mi problems, Nick Roberts, 2009/08/27