[RFC - Python Scripting] New method gdb.Architecture.disassemble

Tom Tromey tromey@redhat.com
Wed Feb 6 20:00:00 GMT 2013


>>>>> "Siva" == Siva Chandra <sivachandra@google.com> writes:

Siva> The only useful entry point currently available is gdb_disassembly and
Siva> I do not think it is a bad entry point. Other disassembly functions in
Siva> disasm.c are static. However, for the Python API, my patch provides
Siva> only one option of whether to include or exclude opcodes in the
Siva> disassembled output.

Come to think of it, why have that knob at all?
It is easy enough to ignore fields in structured output.

Tom



More information about the Gdb-patches mailing list