This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb in emacs : dereference pointer
Nick Roberts <nickrob@snap.net.nz> writes:
> > I know this sounds ridiculous but I cant figure out how to get emacs to
> > display VALUES or dereferenced values in the locals or any other pane of the
> > multi-window GUD setup.
>
> It does sound a bit ridiculous because this is mailing for GDB not
> Emacs
There is a strong tie in : and its more gdb related than emacs
related. I would have expected a lot of gdb users to run it from within
emacs. Sorry if you consider it OT.
>
> > Yes, I can "display" so it is shown after every step but that is horrible -
> > I want it in a fixed place in the locals pane. What obvious thing am I
> > missing here?
>
> You can't currently do this as it's not straightforward to implement. You can
> dereference them as watch expressions in the speedbar (maybe thats what you
> mean by "display").
I try not to use the speedbar : I find it buggy and unresponsive.
>
> > I really dont want to use ddd.
>
> Insight does what you want.
Thanks. I will take a look.
--