mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 11:39:26 +08:00
gdb: remove internalvar_funcs::destroy
No kind of internal var uses it remove it. This makes the transition to using a variant easier, since we don't need to think about where this should be called (in a destructor or not), if it can throw, etc. Change-Id: Iebbc867d1ce6716480450d9790410d6684cbe4dd
This commit is contained in:
@ -1002,12 +1002,6 @@ struct internalvar_funcs
|
||||
struct agent_expr *expr,
|
||||
struct axs_value *value,
|
||||
void *data);
|
||||
|
||||
/* If non-NULL, this is called to destroy DATA. The DATA argument
|
||||
passed to this function is the same argument that was passed to
|
||||
`create_internalvar_type_lazy'. */
|
||||
|
||||
void (*destroy) (void *data);
|
||||
};
|
||||
|
||||
extern struct internalvar *create_internalvar_type_lazy (const char *name,
|
||||
|
Reference in New Issue
Block a user