This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/11688] New: wrap MI commands in python
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 10 Jun 2010 20:32:52 -0000
- Subject: [Bug python/11688] New: wrap MI commands in python
- Reply-to: sourceware-bugzilla at sourceware dot org
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.