summaryrefslogtreecommitdiff
path: root/cmds
diff options
context:
space:
mode:
authorYi Jin <jinyithu@google.com>2018-02-20 14:32:54 -0800
committerYi Jin <jinyithu@google.com>2018-02-20 15:06:32 -0800
commit6bd2f25f19c6710e7652155f273cfcf330f6e98c (patch)
tree01b44f6dbd45ee1e0fc5f5ab07738b60fb27262f /cmds
parentf759af6f3bced14b13fe0891eec4cd6c423c5a67 (diff)
Add HighAtomic to pagetypeinfo, and don't fail if a header can't be
found in proto definition. Bug: 73656242 Test: atest incident_helper Change-Id: Ib89b1a9189445a0598ec5da0c32046f75de3b0c5
Diffstat (limited to 'cmds')
-rw-r--r--cmds/incident_helper/src/parsers/PageTypeInfoParser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/incident_helper/src/parsers/PageTypeInfoParser.cpp b/cmds/incident_helper/src/parsers/PageTypeInfoParser.cpp
index 45a0e7b459d2..ab4382ac13f4 100644
--- a/cmds/incident_helper/src/parsers/PageTypeInfoParser.cpp
+++ b/cmds/incident_helper/src/parsers/PageTypeInfoParser.cpp
@@ -104,7 +104,8 @@ PageTypeInfoParser::Parse(const int in, const int out) const
for (size_t i=0; i<blockHeader.size(); i++) {
if (!table.insertField(&proto, blockHeader[i], blockCounts[i+1])) {
- return BAD_VALUE;
+ fprintf(stderr, "Header %s has bad data %s\n", blockHeader[i].c_str(),
+ blockCounts[i+1].c_str());
}
}
} else return BAD_VALUE;