aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2022-01-31 15:23:32 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2022-03-06 11:32:25 -0500
commit7055fa96fcadf77482876b42393fe43b48fdfe16 (patch)
tree78e9da68af2dfbfdf08c289693dc84dd5aac0a66 /gdb/value.h
parent7a1550fcecb8db0fc6db0d59b18d3ca5ac6f4d39 (diff)
downloadgdb-7055fa96fcadf77482876b42393fe43b48fdfe16.zip
gdb-7055fa96fcadf77482876b42393fe43b48fdfe16.tar.gz
gdb-7055fa96fcadf77482876b42393fe43b48fdfe16.tar.bz2
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
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/value.h b/gdb/value.h
index 0de4b5f..f7b2902 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -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,