Rename symtab::fullname

This renames symtab::fullname to m_fullname and adds new accessor
methods.
This commit is contained in:
Tom Tromey
2024-06-05 08:51:01 -06:00
parent 5e6ab40868
commit e433e995a9
7 changed files with 38 additions and 25 deletions

View File

@@ -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;