Write return and parameter type names into the generated strace file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11446 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -281,7 +281,7 @@ public:
|
||||
|
||||
// create the syscall
|
||||
file << "\tsyscall = new Syscall(\"" << syscall.name << "\", "
|
||||
<< "handler);" << endl;
|
||||
<< "\"" << syscall.return_type << "\", "<< "handler);" << endl;
|
||||
file << "\tsyscalls.push_back(syscall);" << endl;
|
||||
|
||||
// add the parameters
|
||||
@@ -295,7 +295,8 @@ public:
|
||||
|
||||
// add the parameter
|
||||
file << "\tsyscall->AddParameter(\"" << parameter.name << "\", "
|
||||
<< parameter.offset << ", handler);" << endl;
|
||||
<< parameter.offset << ", \"" << parameter.type
|
||||
<< "\", handler);" << endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user