aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-frame.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-04-17 19:44:20 -0600
committerTom Tromey <tom@tromey.com>2022-04-20 09:28:16 -0600
commite19b2d94653dd4a7523a9e9b62020a63dac39439 (patch)
tree19d21478ff945ffc1308932bac7bc9e9370f4fb2 /gdb/python/py-frame.c
parentf66b5363431ccf23debbdfacb63c09c2c57b6ada (diff)
downloadgdb-e19b2d94653dd4a7523a9e9b62020a63dac39439.zip
gdb-e19b2d94653dd4a7523a9e9b62020a63dac39439.tar.gz
gdb-e19b2d94653dd4a7523a9e9b62020a63dac39439.tar.bz2
Replace symbol_objfile with symbol::objfile
This turns symbol_objfile into a method on symbol.
Diffstat (limited to 'gdb/python/py-frame.c')
-rw-r--r--gdb/python/py-frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-frame.c b/gdb/python/py-frame.c
index bf9eba8..d07158a 100644
--- a/gdb/python/py-frame.c
+++ b/gdb/python/py-frame.c
@@ -306,7 +306,7 @@ frapy_block (PyObject *self, PyObject *args)
if (block)
{
return block_to_block_object
- (block, symbol_objfile (BLOCK_FUNCTION (fn_block)));
+ (block, BLOCK_FUNCTION (fn_block)->objfile ());
}
Py_RETURN_NONE;