mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 16:53:50 +08:00
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>
This commit is contained in:
@ -214,6 +214,11 @@ struct expression
|
||||
op->dump (stream, 0);
|
||||
}
|
||||
|
||||
/* Return true if this expression uses OBJFILE (and will become
|
||||
dangling when OBJFILE is unloaded), otherwise return false.
|
||||
OBJFILE must not be a separate debug info file. */
|
||||
bool uses_objfile (struct objfile *objfile) const;
|
||||
|
||||
/* Evaluate the expression. EXPECT_TYPE is the context type of the
|
||||
expression; normally this should be nullptr. NOSIDE controls how
|
||||
evaluation is performed. */
|
||||
|
Reference in New Issue
Block a user