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


Keith Seitz <keiths@redhat.com> wrote:
> I've got three letters (okay, words) for you: TEA.
>
> Interfacing Tcl and C is TRIVIAL.
>
> Keith

I left out a part: it's nontrivial for TCL code that's running in
a TCL interpreter that's already linked into 'expect', a program
that we did not build, to interface with a C library.

lib/gdb.exp can load the TEA sample shared object without error, but the
new commands are not available.

  ERROR: (DejaGnu) proc "sha -string hello" does not exist.

When I run the same 'expect' binary standalone interactively, it can
load the TEA sample library and the new commands are available.  Go
figure.

All the parts are there, but we're not currently using them and they
fail the smoke test.  Multiply by a dozen hosts and that's what I call
nontrivial.


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