mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-28 22:21:26 +08:00
* python/py-type.c (typy_has_key): Make 'field' const.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2011-10-13 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* python/py-type.c (typy_has_key): Make 'field' const.
|
||||||
|
|
||||||
2011-10-13 Luis Machado <lgustavo@codesourcery.com>
|
2011-10-13 Luis Machado <lgustavo@codesourcery.com>
|
||||||
|
|
||||||
* remote.c (remote_save_trace_data): Invert comparison.
|
* remote.c (remote_save_trace_data): Invert comparison.
|
||||||
|
@ -1176,7 +1176,7 @@ static PyObject *
|
|||||||
typy_has_key (PyObject *self, PyObject *args)
|
typy_has_key (PyObject *self, PyObject *args)
|
||||||
{
|
{
|
||||||
struct type *type = ((type_object *) self)->type;
|
struct type *type = ((type_object *) self)->type;
|
||||||
char *field;
|
const char *field;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (!PyArg_ParseTuple (args, "s", &field))
|
if (!PyArg_ParseTuple (args, "s", &field))
|
||||||
|
Reference in New Issue
Block a user