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 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.