GNOME Bugzilla – Bug 560377
support new running async output record in GDB trunk (6.8.50.20081111)
Last modified: 2008-11-13 13:14:53 UTC
When the GDB/MI command -exec-continue is used, MI sends a new out-of-band record that has the form: *running,thread-id="<thread-id>". We need to support that, otherwise nemiver hangs.
Created attachment 122432 [details] [review] candidate fix This patch adds the said functionality and passes make check.
Only a couple minor comments: cur += 9; should probably be cur += strlen(PREFIX_STOPPED_ASYNC_OUTPUT); (in a couple places) I'm not a fan of LOG_PARSING_ERROR2. The name doesn't say anything about what's different about it. Something like LOG_PARSING_ERROR_MSG might be slightly nicer. Otherwise it seems fine, though I haven't tested it since I'm not running GDB Trunk ;)
Thanks for the comments. I have updated the patch and pushed to trunk, in changeset #944.