-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
signal commands are broken #43
Comments
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. |
Yeah, agreed. |
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.
The text was updated successfully, but these errors were encountered: