aboutsummaryrefslogtreecommitdiff
path: root/gdb/probe.c
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/probe.c
parent7a1550fcecb8db0fc6db0d59b18d3ca5ac6f4d39 (diff)
downloadfsf-binutils-gdb-7055fa96fcadf77482876b42393fe43b48fdfe16.zip
fsf-binutils-gdb-7055fa96fcadf77482876b42393fe43b48fdfe16.tar.gz
fsf-binutils-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/probe.c')
-rw-r--r--gdb/probe.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/probe.c b/gdb/probe.c
index 278b36c..f0a40f5 100644
--- a/gdb/probe.c
+++ b/gdb/probe.c
@@ -866,7 +866,6 @@ static const struct internalvar_funcs probe_funcs =
{
compute_probe_arg,
compile_probe_arg,
- NULL
};