aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-04-17 20:00:59 -0600
committerTom Tromey <tom@tromey.com>2022-04-20 09:28:40 -0600
commit4206d69e96ac401cf2975f37bf4e4d3a3c838313 (patch)
tree6301edfeea773f593e1949a30831c442bf87b90f /gdb/python/python.c
parentbcd6845e2b66adb58d36eb1d9b8fbf71900b517d (diff)
downloadgdb-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/python/python.c')
-rw-r--r--gdb/python/python.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/python.c b/gdb/python/python.c
index 7a9c8c1..11aaa7a 100644
--- a/gdb/python/python.c
+++ b/gdb/python/python.c
@@ -831,7 +831,7 @@ gdbpy_rbreak (PyObject *self, PyObject *args, PyObject *kw)
if (p.msymbol.minsym == NULL)
{
- struct symtab *symtab = symbol_symtab (p.symbol);
+ struct symtab *symtab = p.symbol->symtab ();
const char *fullname = symtab_to_fullname (symtab);
symbol_name = fullname;