[binutils-gdb] Remove struct complain

sergiodj+buildbot@sergiodj.net sergiodj+buildbot@sergiodj.net
Wed May 23 19:44:00 GMT 2018


*** TEST RESULTS FOR COMMIT ff1cf532dbabdee0d34974a77809bf2fa23d43a5 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: ff1cf532dbabdee0d34974a77809bf2fa23d43a5

Remove struct complain

At this point, struct complain is just holds a key, a value, and a
"next" pointer to form a linked list.  It's simpler to replace this
with an unordered map.

gdb/ChangeLog
2018-05-23  Tom Tromey  <tom@tromey.com>

	* complaints.c (counters): New global.
	(struct complain): Remove.
	(struct complaints) <root>: Remove.
	(complaint_sentinel): Remove.
	(symfile_complaint_book): Update.
	(find_complaint) Remove.
	(complaint_internal, clear_complaints): Update.

gdb/testsuite/ChangeLog
2018-05-23  Tom Tromey  <tom@tromey.com>

	* gdb.gdb/complaints.exp (test_initial_complaints): Simplify.



More information about the Gdb-testers mailing list