]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix off-by-one error in complaint_internal
authorTom Tromey <tom@tromey.com>
Mon, 28 May 2018 03:36:44 +0000 (21:36 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 4 Oct 2018 19:40:10 +0000 (13:40 -0600)
commit9fdd7193e7fd041e9ff311a69dc02aecef53070f
treefcc637d9a16616e182d096b2ebd2f684fda7e292
parent3f2cf4dcd578d60fcdbbc28e720badffe8c15661
Fix off-by-one error in complaint_internal

complaint_internal had an off-by-one error, where it would allow one
extra complaint to be issued.

gdb/ChangeLog
2018-10-04  Tom Tromey  <tom@tromey.com>

* complaints.c (complaint_internal): Correctly check complaint
count.
gdb/ChangeLog
gdb/complaints.c