[PATCH] gdb: Don't corrupt completions hash when expanding the hash table
Tom Tromey
tom@tromey.com
Mon Apr 6 20:27:14 GMT 2020
>>>>> "Andrew" == Andrew Burgess <andrew.burgess@embecosm.com> writes:
Andrew> gdb/ChangeLog:
Andrew> * completer.c (class completion_tracker::completion_hash_entry)
Andrew> <hash_name>: New member function.
Andrew> (completion_tracker::discard_completions): New callback to hash a
Andrew> completion_hash_entry, pass this to htab_create_alloc.
Andrew> gdb/testsuite/ChangeLog:
Andrew> * gdb.base/many-completions.exp: New file.
Thanks. This looks good.
Tom
More information about the Gdb-patches
mailing list