2017-02-13 39 views
0

什麼是Solaris walkcontext的Linux等價物? 編號:https://docs.oracle.com/cd/E19683-01/816-0213/6m6ne38fv/index.html 在Linux上,我得到的錯誤爲:Linux相當於Solaris walkcontext

error: walkcontext was not declared in this scope 

當我使用:walkcontext(&uc, walk_callback, &ctx);

+0

沒有這樣* Linux *的特定功能,但也有特殊的編譯器(GCC或Clang)函數可用於獲取函數調用堆棧。如果你搜索一點,你應該能夠找到它。 –

回答