Convert exp_uses_objfile to a method of expression
authorTom Tromey <tromey@adacore.com>
Mon, 19 Dec 2022 18:14:02 +0000 (11:14 -0700)
committerTom Tromey <tromey@adacore.com>
Wed, 4 Jan 2023 16:46:58 +0000 (09:46 -0700)
commitaa9bd4452873136e7406f68fc51e66ef5951190b
tree7ed6ccaf4c055065b09463b2c7083d04366d418a
parent4b9728bec157796478831972fc8d07306dd9dcde
Convert exp_uses_objfile to a method of expression

This changes the exp_uses_objfile function to be a method of
'expression'.

Reviewed-By: Lancelot Six <lancelot.six@amd.com>
gdb/eval.c
gdb/expression.h
gdb/parse.c
gdb/parser-defs.h
gdb/printcmd.c
gdb/varobj.c