aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread.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/thread.c
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/thread.c')
-rw-r--r--gdb/thread.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/thread.c b/gdb/thread.c
index 12f3abd..9d0693b 100644
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -2123,7 +2123,6 @@ static const struct internalvar_funcs thread_funcs =
{
thread_id_per_inf_num_make_value,
NULL,
- NULL
};
/* Implementation of `gthread' variable. */
@@ -2132,7 +2131,6 @@ static const struct internalvar_funcs gthread_funcs =
{
global_thread_id_make_value,
NULL,
- NULL
};
void _initialize_thread ();