Open tromey opened 6 years ago
Well, maybe it is ok actually, since the problem gdb was seeing turned out to be elsewhere. However it also turns out that the current parser doesn't match all the input, which seems incorrect. If a parser fails to match everything then it should probably be an error.
If a parser fails to match everything then it should probably be an error.
Yeah, agreed.
I'm not sure how to accept an optional trailing separator with nom. Any ideas?
In this particular case I guess I could have it match a hex value followed by an optional ;
.
In this particular case I guess I could have it match a hex value followed by an optional ;.
This turns out to be surprisingly hard. nom confuses me sometimes.
It turns out that gdb sends a trailing ";" with a signal list:
However, the current parser doesn't accept this.
I'm not sure how to accept an optional trailing separator with nom. Any ideas?
Changing the parser would at least work; and I will probably do this, but it isn't really robust as this seems to be a bug in gdb.