Hello everyone,
My OS is Linux Mint 18 Cinnamon 64-bit and Gem5 is in SE mode of x86.
main.cpp
#include <string>
#include <iostream>
#include <thread>
using namespace std;
void task1(string msg)
{
cout << "task1 says: " << msg<<endl;
}
int main()
{
thread t1(task1, "Hello");
t1.join();
}
I use this command to compile main.cpp
g++ -std=c++11 -pthread -o main main.cpp
And command for debug information
objdump --dwarf=info main
but there is no result showing. Anyone has same problem? Thank you
With best regards
Yunxia Zhu
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users