diff options
author | Tom Tromey <tom@tromey.com> | 2020-12-11 09:33:36 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-12-11 09:33:36 -0700 |
commit | 2c1413a98c897be397366d16f58bf54859863090 (patch) | |
tree | f3ee3f6139c11e3304f8e00636c3218a292c960b /gdb/python | |
parent | b6433ede0708af00be520abdf9209cd776aab2e2 (diff) | |
download | binutils-2c1413a98c897be397366d16f58bf54859863090.zip binutils-2c1413a98c897be397366d16f58bf54859863090.tar.gz binutils-2c1413a98c897be397366d16f58bf54859863090.tar.bz2 |
Use htab_t in varobj
varobj.c currently has its own hash table implementation. This patch
replaces it with htab_t, simplifying the code.
gdb/ChangeLog
2020-12-11 Tom Tromey <tom@tromey.com>
* varobj.c (VAROBJ_TABLE_SIZE): Remove.
(varobj_table): Now htab_t.
(varobj_get_handle, install_variable, uninstall_variable):
Update.
(hash_varobj, eq_varobj_and_string): New functions.
(hash_varobj): Update.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions