aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-11-26 15:54:29 +0000
committerTom Tromey <tromey@redhat.com>2012-11-26 15:54:29 +0000
commit210bbc17ac115d12dbde59b5de97b8547e7465c8 (patch)
tree9db34aa07d76ed52ff2ae12d2ddf16c9e356aa0a /gdb/ada-lang.c
parent0270a750ba588a8ad521e68be851772bac9c44f1 (diff)
downloadgdb-210bbc17ac115d12dbde59b5de97b8547e7465c8.zip
gdb-210bbc17ac115d12dbde59b5de97b8547e7465c8.tar.gz
gdb-210bbc17ac115d12dbde59b5de97b8547e7465c8.tar.bz2
* ada-lang.c (user_select_syms): Use SYMBOL_SYMTAB.
* dwarf2read.c (dw2_find_symbol_file, fixup_go_packaging): Use SYMBOL_SYMTAB. * skip.c (skip_info): Use SYMBOL_SYMTAB.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r--gdb/ada-lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index e1dced5..0621c79 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -3583,7 +3583,7 @@ See set/show multiple-symbol."));
(SYMBOL_CLASS (syms[i].sym) == LOC_CONST
&& SYMBOL_TYPE (syms[i].sym) != NULL
&& TYPE_CODE (SYMBOL_TYPE (syms[i].sym)) == TYPE_CODE_ENUM);
- struct symtab *symtab = syms[i].sym->symtab;
+ struct symtab *symtab = SYMBOL_SYMTAB (syms[i].sym);
if (SYMBOL_LINE (syms[i].sym) != 0 && symtab != NULL)
printf_unfiltered (_("[%d] %s at %s:%d\n"),