Re: What does "incomplete sequence" mean
Tom Tromey <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "David" == frank ernest <[email protected]> writes: David> I'm getting a single report of David> <code> David> $4 = {__buffer = 0xc1f1c0 "\200", <incomplete sequence \302>, David> I have yet to apply the code to my program and am wondering if David> this is a bad sign. I don't get an "incomplete sequence" message from David> the first struct in the array. It means that gdb is trying to decode the bytes of the string according to the "target-charset" setting, and the string ends with a sequence that is incomplete according to the charset. You probably have UTF-8 as the target-charset, and in UTF-8, \302 is the start of a 2-byte sequence, and so should not appear at the end of the string. Tom