diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2014-03-16 15:01:24 +0100 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2014-03-16 15:04:38 +0100 |
commit | 49840f2a6669ae2366c522da41edf615785b3626 (patch) | |
tree | 379f67901c22826ab7d9a8dcf7549383e0f84d9d /gdb/solib-darwin.c | |
parent | c296d686edc052490d31385f9a2712462b33f648 (diff) | |
download | binutils-49840f2a6669ae2366c522da41edf615785b3626.zip binutils-49840f2a6669ae2366c522da41edf615785b3626.tar.gz binutils-49840f2a6669ae2366c522da41edf615785b3626.tar.bz2 |
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.
Diffstat (limited to 'gdb/solib-darwin.c')
0 files changed, 0 insertions, 0 deletions