Remove streq_hash in favor of htab_eq_string
authorTom Tromey <tom@tromey.com>
Fri, 7 May 2021 15:18:18 +0000 (09:18 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 7 May 2021 15:18:18 +0000 (09:18 -0600)
commit2698f5ead62298979e44a212023027ebb582f3d1
tree860ea79a3e5a70c56ec2fb16b0c7d4a7e2d62dcb
parent13123da89a2c7e06a5312ca6b4b24c68ba1c6c2d
Remove streq_hash in favor of htab_eq_string

Now that libiberty includes htab_eq_string, we can remove the
identical function from gdb.

gdb/ChangeLog
2021-05-07  Tom Tromey  <tom@tromey.com>

* breakpoint.c (ambiguous_names_p): Use htab_eq_string.
* utils.c (streq_hash): Remove.
* utils.h (streq_hash): Don't declare.
* completer.c (completion_tracker::discard_completions): Update
comment.
* ada-lang.c (_initialize_ada_language): Use htab_eq_string.
gdb/ChangeLog
gdb/ada-lang.c
gdb/breakpoint.c
gdb/completer.c
gdb/utils.c
gdb/utils.h