aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-mi.c
AgeCommit message (Collapse)AuthorFilesLines
2023-05-23Implement gdb.execute_miTom Tromey1-0/+298
This adds a new Python function, gdb.execute_mi, that can be used to invoke an MI command but get the output as a Python object, rather than a string. This is done by implementing a new ui_out subclass that builds a Python object. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=11688 Reviewed-By: Eli Zaretskii <eliz@gnu.org>