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/guile/scm-symbol.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/guile/scm-symbol.c')
-rw-r--r-- | gdb/guile/scm-symbol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/guile/scm-symbol.c b/gdb/guile/scm-symbol.c index 9e89b04..55eac3c 100644 --- a/gdb/guile/scm-symbol.c +++ b/gdb/guile/scm-symbol.c @@ -364,7 +364,7 @@ gdbscm_symbol_symtab (SCM self) if (!symbol->is_objfile_owned ()) return SCM_BOOL_F; - return stscm_scm_from_symtab (symbol_symtab (symbol)); + return stscm_scm_from_symtab (symbol->symtab ()); } /* (symbol-name <gdb:symbol>) -> string */ |