Remove struct complaints
authorTom Tromey <tom@tromey.com>
Thu, 17 May 2018 05:25:09 +0000 (23:25 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 23 May 2018 15:17:03 +0000 (09:17 -0600)
commita8be540e8ae8d16da5854c75d4724f3875aeba2e
tree0e9630b55bee568465fa6c05d4b409c672be76a8
parentff1cf532dbabdee0d34974a77809bf2fa23d43a5
Remove struct complaints

struct complaints now just holds a single enum value, so remove it and
symfile_complaint_book and replace it with a global variable.

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

* complaints.c (struct complaints): Remove.
(symfile_complaint_book): Remove.
(series): New global.
(complaint_internal): Update.
(clear_complaints): Update.
gdb/ChangeLog
gdb/complaints.c