Work around an incorrect string dump syntax produced by some gdb versions.
commit41ab224d0485134f171f9c2dc3455f26eca83f98
authorJohannes Sixt <j6t@kdbg.org>
Sun, 24 Jun 2012 12:42:46 +0000 (24 14:42 +0200)
committerJohannes Sixt <j6t@kdbg.org>
Sun, 24 Jun 2012 12:42:46 +0000 (24 14:42 +0200)
tree2658794687d2ca7f0fa5489332e8c6de39abe2ab
parent12bb7b6913ed6a8114d28288bf7d22f876cebd7a
Work around an incorrect string dump syntax produced by some gdb versions.

When a repeated character is followed by an incomplete multi-byte
character, gdb prints that byte and the comma + space after the repeat
count in an incorrect order, for example:

    'a' <repeats 20 times>"\240, b"

Update the string parser to recognize this condition and to accept this
as string.
kdbg/gdbdriver.cpp
kdbg/testprogs/repeats.cpp