diff options
Diffstat (limited to 'gdb/python/py-block.c')
-rw-r--r-- | gdb/python/py-block.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-block.c b/gdb/python/py-block.c index e5e136b..3fa4530 100644 --- a/gdb/python/py-block.c +++ b/gdb/python/py-block.c @@ -371,7 +371,7 @@ PyObject * gdbpy_block_for_pc (PyObject *self, PyObject *args) { gdb_py_ulongest pc; - struct block *block = NULL; + const struct block *block = NULL; struct obj_section *section = NULL; struct symtab *symtab = NULL; volatile struct gdb_exception except; |