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:
Ingo Weinhold
2005-02-22 12:33:49 +00:00
parent baf98f1cd8
commit 3f38375acc
+3 -2
View File
@@ -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;
}
}