diff options
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-symbol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-symbol.c b/gdb/python/py-symbol.c index 508f445..f636f51 100644 --- a/gdb/python/py-symbol.c +++ b/gdb/python/py-symbol.c @@ -571,7 +571,7 @@ gdbpy_lookup_static_symbols (PyObject *self, PyObject *args, PyObject *kw) const struct blockvector *bv; const struct block *block; - bv = COMPUNIT_BLOCKVECTOR (cust); + bv = cust->blockvector (); block = BLOCKVECTOR_BLOCK (bv, STATIC_BLOCK); if (block != nullptr) |