projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: remove SYMTAB_COMPUNIT macro, add getter/setter
[binutils-gdb.git]
/
gdb
/
macroscope.c
diff --git
a/gdb/macroscope.c
b/gdb/macroscope.c
index c581c426eda094a59625531f11c2eed519166cc9..93f561acccd8b7a5e97afc3b555b44f93edbb03b 100644
(file)
--- 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;
if (sal.symtab == NULL)
return NULL;
- cust = SYMTAB_COMPUNIT (sal.symtab);
+
+ cust = sal.symtab->compunit ();
if (cust->macro_table () == NULL)
return NULL;
if (cust->macro_table () == NULL)
return NULL;