diff options
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r-- | gdb/varobj.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c index cf27b1e..4dc986a 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -1,6 +1,6 @@ /* Implementation of the GDB variable objects API. - Copyright (C) 1999-2024 Free Software Foundation, Inc. + Copyright (C) 1999-2025 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -2424,9 +2424,7 @@ eq_varobj_and_string (const void *a, const void *b) return obj->obj_name == name; } -void _initialize_varobj (); -void -_initialize_varobj () +INIT_GDB_FILE (varobj) { varobj_table = htab_create_alloc (5, hash_varobj, eq_varobj_and_string, nullptr, xcalloc, xfree); |