This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC - Python Scripting] New method gdb.Architecture.disassemble
>>>>> "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