diff options
Diffstat (limited to 'gdb/python/py-symtab.c')
-rw-r--r-- | gdb/python/py-symtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-symtab.c b/gdb/python/py-symtab.c index b973b25..b5d102c 100644 --- a/gdb/python/py-symtab.c +++ b/gdb/python/py-symtab.c @@ -131,7 +131,7 @@ stpy_get_producer (PyObject *self, void *closure) struct compunit_symtab *cust; STPY_REQUIRE_VALID (self, symtab); - cust = SYMTAB_COMPUNIT (symtab); + cust = symtab->compunit (); if (cust->producer () != nullptr) { const char *producer = cust->producer (); |