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] |
The attached patch wraps PyObject_GetAttrString and PyObject_HasAttrString in internal functions which have const qualifier for the second argument. This is required because these functions were missing the const qualifier in Python-2.4. ChangeLog 2014-06-09 Siva Chandra Reddy <sivachandra@google.com> * python/python-internal.h (gdb_PyObject_GetAttrString) (gdb_PyObject_HasAttrString): New inline function definitions. * py-value.c (get_field_flag): Remove the now unnecessary cast to (char *) of the second argument to PyObject_GetAttrString.
Attachment:
fix_xmethod_for_2_4_v2.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |