gdb: remove internalvar_funcs::destroy
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 31 Jan 2022 20:23:32 +0000 (15:23 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 6 Mar 2022 16:32:25 +0000 (11:32 -0500)
commit7055fa96fcadf77482876b42393fe43b48fdfe16
tree78e9da68af2dfbfdf08c289693dc84dd5aac0a66
parent7a1550fcecb8db0fc6db0d59b18d3ca5ac6f4d39
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
gdb/break-catch-throw.c
gdb/inferior.c
gdb/infrun.c
gdb/probe.c
gdb/thread.c
gdb/tracepoint.c
gdb/value.c
gdb/value.h
gdb/windows-tdep.c