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

Tom Tromey tromey@redhat.com
Thu Feb 7 16:42:00 GMT 2013


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

Siva> Based on a comment in this thread,
Siva> http://sourceware.org/ml/gdb-patches/2012-11/msg00052.html, I gather
Siva> that architecture could change between frames. Hence, would it not be
Siva> more appropriate to have this method on gdb.Architecture?

Ok.

Siva> The only reason I made it global is because there is no way currently
Siva> to free up a ui_out object from outside of ui-out.c. Do you think it
Siva> is OK to add a field ui_out_destroy_ftype to struct ui_out_impl? If
Siva> yes, then I think we can first add the support for this 'virtual
Siva> destructor' in a separate patch.

I think this would be much nicer, thanks.

Tom



More information about the Gdb-patches mailing list