diff options
author | Tom Tromey <tom@tromey.com> | 2022-04-17 20:00:59 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-04-20 09:28:40 -0600 |
commit | 4206d69e96ac401cf2975f37bf4e4d3a3c838313 (patch) | |
tree | 6301edfeea773f593e1949a30831c442bf87b90f /gdb/mdebugread.c | |
parent | bcd6845e2b66adb58d36eb1d9b8fbf71900b517d (diff) | |
download | gdb-4206d69e96ac401cf2975f37bf4e4d3a3c838313.zip gdb-4206d69e96ac401cf2975f37bf4e4d3a3c838313.tar.gz gdb-4206d69e96ac401cf2975f37bf4e4d3a3c838313.tar.bz2 |
Replace symbol_symtab with symbol::symtab
This turns symbol_symtab into a method on symbol. It also replaces
symbol_set_symtab with a method.
Diffstat (limited to 'gdb/mdebugread.c')
-rw-r--r-- | gdb/mdebugread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index 6dcac13..7083beb 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -4486,7 +4486,7 @@ mylookup_symbol (const char *name, const struct block *block, static void add_symbol (struct symbol *s, struct symtab *symtab, struct block *b) { - symbol_set_symtab (s, symtab); + s->set_symtab (symtab); mdict_add_symbol (BLOCK_MULTIDICT (b), s); } |