public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/11688] New: wrap MI commands in python
@ 2010-06-10 20:32 tromey at redhat dot com
  0 siblings, 0 replies; only message in thread
From: tromey at redhat dot com @ 2010-06-10 20:32 UTC (permalink / raw)
  To: gdb-prs

It would be nice to automate full access to gdb internals via MI.

The idea would be, expose all MI commands in a new module, gdb.mi.
(Or perhaps versioned: gdb.mi2, gdb.mi3, ...)

The wrapper would turn python-style arguments into what the MI commands expect.

We'd make a new ui_out object that knows how to create Python objects.
The wrapper function would return the python object created when the MI command
is invoked.

For documentation we could simply refer to the MI docs, with some explanation
of how the translations are done.

-- 
           Summary: wrap MI commands in python
           Product: gdb
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: python
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: tromey at redhat dot com
                CC: gdb-prs at sourceware dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=11688

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-10 20:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-10 20:32 [Bug python/11688] New: wrap MI commands in python tromey at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).