This is the mail archive of the gdb-patches@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] |
The attached patch adds a new method 'disassemble' to the class gdb.Architecture. I have not yet added docs and tests, but will do so after I get feedback that adding such a method is OK. 2013-02-04 Siva Chandra Reddy <sivachandra@google.com> Add a new method 'disassemble' to gdb.Architecture class. * Makefile.in: Add entries for the new file python/py-out.c * python/py-arch.c (archpy_disassmble): Implementation of the new method gdb.Architecture.disassemble. (arch_object_methods): Add entry for the new method. * python/py-out.c: Implementation of a Python ui_out. * python/python-internal.h: Add declarations for new utility functions. * python/python.c (_initialize_python): Initialize Python ui_out.
Attachment:
arch_disassemble_patch_v1.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |