diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-06-10 15:42:01 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2010-06-10 15:42:01 +0000 |
commit | 3baae9d67ef47142e1d2681aa11a4640414a9748 (patch) | |
tree | a316bf0d926b6199dfdc3de338bddad2eecf0fdb /depcomp | |
parent | e466bc6e485561699f25fc02085b1b128bb95dfb (diff) | |
download | gdb-3baae9d67ef47142e1d2681aa11a4640414a9748.zip gdb-3baae9d67ef47142e1d2681aa11a4640414a9748.tar.gz gdb-3baae9d67ef47142e1d2681aa11a4640414a9748.tar.bz2 |
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.
Diffstat (limited to 'depcomp')
0 files changed, 0 insertions, 0 deletions