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: GDB/MI Output Syntax


Jim Ingham <jingham@apple.com> wrote:
> The problem is that the sample extension actually adds a command called  
> "sha1".  In interactive mode, tcl resolves shortened commands to the  
> full name if the resolution is unique.

*bonk* *bonk* *bonk*

That's the sound of me banging my head against the wall.  Stupid me!

> I actually think that building Bob's parser into a Tcl C extension &  
> using that with the DejaGnu testsuite would be brilliant.

New vistas are opening up to me!

It would be much better to use TCL data structures to parse MI rather
than regular expressions.  I had a great experience getting away from
regular expressions with cp_test_ptype_class.

It's still a dozen host arches (actually, a dozen build arches,
TCL runs on build machine).  But we're not debugging a target program
with shared libraries, we're just using one as a host.


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