This is the mail archive of the
mailing list for the GDB project.
Re: Apple version gdb-309
- From: Nick Roberts <nickrob at snap dot net dot nz>
- To: Jim Ingham <jingham at apple dot com>
- Cc: gdb at sources dot redhat dot com,
- Date: Fri, 13 May 2005 11:53:35 +1200
- Subject: Re: Apple version gdb-309
- References: <5241541D-81C7-11D8-95CB-000A958F4C44@apple.com>
As Emacs release draws closer, I would like my mode (gdb-ui.el) to work with
Tiger. I've looked over some old e-mails and (Mon, 29 Mar 2004) you have said:
> > I've had a report of the following transaction:
> > (gdb) server interpreter mi "-var-update *"
> > Switching to interpreter "console"
> > (gdb)
> > AFAIK gdb 5.3 in the FSF repository (at sources.redhat.com) doesn't
> > know
> > about the command "interpreter mi".
> This snippet doesn't work in either gdb. Is there a typo somewhere
> here? Maybe this was
> (gdb) interpreter execute mi "-var-update *"
On FSF gdb (GNU gdb 188.8.131.5250502-cvs) "interpreter mi" expands to
"interpreter-exec mi" and this is still the command that I use in gdb-ui.el:
usage: interpreter-exec <interpreter> [ <command> ... ]
If I try your example, I get:
(gdb) interpreter execute mi "-var-update *"
Could not find interpreter "execute".
Tiger ( == powerpc-apple-darwin8.0? ) uses a version of GDB based on 6.0 right?
What should I use for this case, "interpreter mi" or "interpreter execute mi"?