This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB/XMI (XML Machine Interface)
On Fri, Aug 20, 2004 at 12:19:58PM -0700, Felix Lee wrote:
> Daniel Jacobowitz <drow@false.org>:
> > Oh, come on. That's why I suggested writing a library that parses the
> > MI and outputs XML. You run that as a wrapper around GDB; that's real
> > easy.
>
> oh, right. ok, that works for me.
> --
I think there are other benefits of working with XML. Basically, people
that want to use GDB for a small part of there project, could quickly
write some code to get GDB to give a backtrace, or perform some other
activity. I believe that making GDB output XML would almost make it
scriptable. Someone writing in perl or java could quickly conjure up
some commands and parse the output of GDB in a matter of minutes.
This will never happen with MI.
Thanks,
Bob Rossi