]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Convert all_bfds to new hash table
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 4 Nov 2024 18:27:51 +0000 (13:27 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 26 Nov 2024 03:07:04 +0000 (22:07 -0500)
commit6a9a1e7fb9b19639e331ae8c2962f05b7e7e92d0
treee06f7ba4df5517f64b1283fceb93a13149a7e05f
parent56246f3099f918409627e71705724d94bbeeeb52
Convert all_bfds to new hash table

This converts gdb_bfd.c to use the new hash table for all_bfds.

This patch slightly changes the htab_t pretty-printer test, which was
relying on all_bfds.  Note that with the new hash table, gdb-specific
printers aren't needed; the libstdc++ printers suffice -- in fact,
they are better, because the true types of the contents are available.

Change-Id: I48b7bd142085287b34bdef8b6db5587581f94280
Co-Authored-By: Tom Tromey <tom@tromey.com>
Approved-By: Tom Tromey <tom@tromey.com>
gdb/gdb_bfd.c
gdb/testsuite/gdb.gdb/python-helper.exp