| 20 | using namespace KDevMI::MI; |
| 21 | |
| 22 | QString getFunctionOrAddress(const Value &frame) |
| 23 | { |
| 24 | if (frame.hasField(QStringLiteral("func"))) |
| 25 | return frame[QStringLiteral("func")].literal(); |
| 26 | else |
| 27 | return frame[QStringLiteral("addr")].literal(); |
| 28 | } |
| 29 | |
| 30 | QPair<QString, int> getSource(const Value &frame) |
| 31 | { |
no test coverage detected