diff options
author | Tom Tromey <tom@tromey.com> | 2022-04-17 19:44:20 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-04-20 09:28:16 -0600 |
commit | e19b2d94653dd4a7523a9e9b62020a63dac39439 (patch) | |
tree | 19d21478ff945ffc1308932bac7bc9e9370f4fb2 /gdb/valops.c | |
parent | f66b5363431ccf23debbdfacb63c09c2c57b6ada (diff) | |
download | binutils-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/valops.c')
-rw-r--r-- | gdb/valops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index e84cabf..27e84d9 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -127,7 +127,7 @@ find_function_in_inferior (const char *name, struct objfile **objf_p) } if (objf_p) - *objf_p = symbol_objfile (sym.symbol); + *objf_p = sym.symbol->objfile (); return value_of_variable (sym.symbol, sym.block); } |