Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Bob Rossi <bob@brasko.net>
To: gdb@sources.redhat.com
Subject: Add GDB/MI syntax check to testsuite
Date: Fri, 28 Jan 2005 15:34:00 -0000	[thread overview]
Message-ID: <20050128153345.GA2954@white> (raw)

Hi,

So, I've got a Tcl extension that can check the syntax of a GDB/MI
Output Command. I've tested it on small examples, and it seems to work.

The original goal of allowing the Tcl to walk the parse tree will not be
done with the initial patch. That task requires a lot more thought
(However, it is easy to pass this extension a string(MI Output command), 
and have it return if the MI output command is valid or invalid
syntactically.

The problem now is, trying to figure out how to build tcl into a shared
object library(in the gdb tree of course). Then how to link that into
expect.

   - Would this be OK to do?
   - Does anyone have any pointers on how to do this?

If it's not OK to make tcl into a shared library (maybe some hosts can't
do this?) than I'll have to figure out how to link the extension
statically into tcl. I think creating a "static extension" is like
creating a custom version of a tcl interpreter. So, creating a static
extension and a normal extension might be very different.

Thanks,
Bob Rossi


                 reply	other threads:[~2005-01-28 15:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050128153345.GA2954@white \
    --to=bob@brasko.net \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox