Grok gdb 7's <incomplete sequence> marker in strings.
commit03da8a5ec97c8c7b125b2bd453d2f1c3a018d477
authorJohannes Sixt <j6t@kdbg.org>
Tue, 30 Nov 2010 21:47:40 +0000 (30 22:47 +0100)
committerJohannes Sixt <j6t@kdbg.org>
Tue, 30 Nov 2010 21:47:40 +0000 (30 22:47 +0100)
tree52e738dcf73929f5d36b0fa500ffc07349c10abd
parentc2968ebcd49918111496446bce08731a30cf9086
Grok gdb 7's <incomplete sequence> marker in strings.

When a string ends in an incomplete multi-byte sequence, gdb adds an
<incomplete sequence...> fragment to the end of the string. Previously,
this resulted in a parse error and incomplete variable information.

Reported by Kevin Lemay.
kdbg/gdbdriver.cpp
kdbg/testprogs/testfile.cpp