aboutsummaryrefslogtreecommitdiff
path: root/gdb/expop.h
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/expop.h
parentf66b5363431ccf23debbdfacb63c09c2c57b6ada (diff)
downloadbinutils-e19b2d94653dd4a7523a9e9b62020a63dac39439.zip
binutils-e19b2d94653dd4a7523a9e9b62020a63dac39439.tar.gz
binutils-e19b2d94653dd4a7523a9e9b62020a63dac39439.tar.bz2
Replace symbol_objfile with symbol::objfile
This turns symbol_objfile into a method on symbol.
Diffstat (limited to 'gdb/expop.h')
-rw-r--r--gdb/expop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/expop.h b/gdb/expop.h
index a17311f..cfe96cb 100644
--- a/gdb/expop.h
+++ b/gdb/expop.h
@@ -225,7 +225,7 @@ check_objfile (struct type *type, struct objfile *objfile)
static inline bool
check_objfile (struct symbol *sym, struct objfile *objfile)
{
- return check_objfile (symbol_objfile (sym), objfile);
+ return check_objfile (sym->objfile (), objfile);
}
static inline bool