projects
/
tools
/
apitrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a26cf3e
)
Specify which call caused an error.
author
Zack Rusin
<zack@kde.org>
Sat, 6 Aug 2011 21:21:55 +0000
(17:21 -0400)
committer
Zack Rusin
<zack@kde.org>
Sat, 6 Aug 2011 21:21:55 +0000
(17:21 -0400)
trace_parser.cpp
patch
|
blob
|
history
diff --git
a/trace_parser.cpp
b/trace_parser.cpp
index
f3f4c4f
..
ebb6f07
100644
(file)
--- a/
trace_parser.cpp
+++ b/
trace_parser.cpp
@@
-195,7
+195,8
@@
bool Parser::parse_call_details(Call *call) {
call->ret = parse_value();
break;
default:
- std::cerr << "error: unknown call detail " << c << "\n";
+ std::cerr << "error: ("<<call->name()<< ") unknown call detail "
+ << c << "\n";
exit(1);
case -1:
return false;