diff options
Diffstat (limited to 'gdb/python/py-symtab.c')
-rw-r--r-- | gdb/python/py-symtab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-symtab.c b/gdb/python/py-symtab.c index e4e3ec1..6f4070d 100644 --- a/gdb/python/py-symtab.c +++ b/gdb/python/py-symtab.c @@ -184,7 +184,7 @@ stpy_global_block (PyObject *self, PyObject *args) STPY_REQUIRE_VALID (self, symtab); - blockvector = BLOCKVECTOR (symtab); + blockvector = SYMTAB_BLOCKVECTOR (symtab); block = BLOCKVECTOR_BLOCK (blockvector, GLOBAL_BLOCK); return block_to_block_object (block, SYMTAB_OBJFILE (symtab)); } @@ -200,7 +200,7 @@ stpy_static_block (PyObject *self, PyObject *args) STPY_REQUIRE_VALID (self, symtab); - blockvector = BLOCKVECTOR (symtab); + blockvector = SYMTAB_BLOCKVECTOR (symtab); block = BLOCKVECTOR_BLOCK (blockvector, STATIC_BLOCK); return block_to_block_object (block, SYMTAB_OBJFILE (symtab)); } |