]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR other/43838
authorJakub Jelinek <jakub@redhat.com>
Thu, 10 Jun 2010 15:42:01 +0000 (15:42 +0000)
committerJakub Jelinek <jakub@redhat.com>
Thu, 10 Jun 2010 15:42:01 +0000 (15:42 +0000)
commit3baae9d67ef47142e1d2681aa11a4640414a9748
treea316bf0d926b6199dfdc3de338bddad2eecf0fdb
parente466bc6e485561699f25fc02085b1b128bb95dfb
PR other/43838
* cp-demangle.c (struct d_print_info): Add flush_count field.
(d_print_init): Initialize it to 0.
(d_print_flush): Increment it.
(d_print_comp): If needed flush before appending ", ".  Only
decrement dpi->len if no flushes happened during the recursive
call.
* testsuite/demangle-expected: Add a test for this.
libiberty/ChangeLog
libiberty/cp-demangle.c
libiberty/testsuite/demangle-expected