| 92 | } |
| 93 | |
| 94 | std::unique_ptr<Record> MIParser::parsePrompt() |
| 95 | { |
| 96 | ADVANCE_PTR('('); |
| 97 | MATCH_PTR(Token_identifier); |
| 98 | if (m_lex->currentTokenText() != "gdb") |
| 99 | return {}; |
| 100 | m_lex->nextToken(); |
| 101 | ADVANCE_PTR(')'); |
| 102 | |
| 103 | return std::unique_ptr<Record>(new PromptRecord); |
| 104 | } |
| 105 | |
| 106 | std::unique_ptr<Record> MIParser::parseStreamRecord() |
| 107 | { |
nothing calls this directly
no test coverage detected