aboutsummaryrefslogtreecommitdiff
path: root/gdb/macroscope.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/macroscope.c')
-rw-r--r--gdb/macroscope.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/macroscope.c b/gdb/macroscope.c
index c581c42..93f561a 100644
--- a/gdb/macroscope.c
+++ b/gdb/macroscope.c
@@ -43,7 +43,8 @@ sal_macro_scope (struct symtab_and_line sal)
if (sal.symtab == NULL)
return NULL;
- cust = SYMTAB_COMPUNIT (sal.symtab);
+
+ cust = sal.symtab->compunit ();
if (cust->macro_table () == NULL)
return NULL;