Fix Python 2.4 build break
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Sun, 16 Mar 2014 14:01:24 +0000 (15:01 +0100)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Sun, 16 Mar 2014 14:04:38 +0000 (15:04 +0100)
commit49840f2a6669ae2366c522da41edf615785b3626
tree379f67901c22826ab7d9a8dcf7549383e0f84d9d
parentc296d686edc052490d31385f9a2712462b33f648
Fix Python 2.4 build break

This fixes a build failure against Python 2.4 by casting away "const"
on the second argument to PyObject_GetAttrString.  Similar casts to
support Python 2.4 were already present in a number of other places.

gdb/
2014-03-16  Ulrich Weigand  <uweigand@de.ibm.com>

* python/py-value.c (get_field_flag): Cast flag_name argument to
PyObject_GetAttrString to support Python 2.4.
gdb/ChangeLog
gdb/python/py-value.c