diff options
author | Tom Tromey <tromey@adacore.com> | 2024-06-05 08:51:01 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2024-06-24 09:11:29 -0600 |
commit | e433e995a948f6746eb4b2186152baa522193f55 (patch) | |
tree | 2b8262bc542eb9935745005cb0969de1b1a7876b /gdb/python | |
parent | 5e6ab40868d81401c6f239a368d2db759f5e2947 (diff) | |
download | binutils-e433e995a948f6746eb4b2186152baa522193f55.zip binutils-e433e995a948f6746eb4b2186152baa522193f55.tar.gz binutils-e433e995a948f6746eb4b2186152baa522193f55.tar.bz2 |
Rename symtab::fullname
This renames symtab::fullname to m_fullname and adds new accessor
methods.
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-breakpoint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-breakpoint.c b/gdb/python/py-breakpoint.c index fdc2483..e7dd470 100644 --- a/gdb/python/py-breakpoint.c +++ b/gdb/python/py-breakpoint.c @@ -1716,10 +1716,10 @@ bplocpy_get_fullname (PyObject *py_self, void *closure) BPPY_REQUIRE_VALID (self->owner); BPLOCPY_REQUIRE_VALID (self->owner, self); const auto symtab = self->bp_loc->symtab; - if (symtab != nullptr && symtab->fullname != nullptr) + if (symtab != nullptr && symtab->fullname () != nullptr) { gdbpy_ref<> fullname - = host_string_to_python_string (symtab->fullname); + = host_string_to_python_string (symtab->fullname ()); return fullname.release (); } Py_RETURN_NONE; |