This is the mail archive of the gdb-prs@sourceware.org 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]

[Bug python/11688] New: wrap MI commands in python


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.


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