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]

Re: [rfc] python API exposing inferior's frame stack.


>>>>> "Thiago" == Thiago Jung Bauermann <bauerman@br.ibm.com> writes:

Thiago> +static PyMethodDef frame_object_methods[] = {
Thiago> +  { "equals", frapy_equal_p, METH_VARARGS,
Thiago> +    "equals (frame) -> Boolean.\n\
Thiago> +Compare this frame to the given frame." },

I think we should probably use tp_richcompare, rather than an explicit
method.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]