This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Apple version gdb-309


Jim,

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 6.3.50.20050502-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"?

Thanks,

Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]