mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 19:34:56 +00:00
parent
f60cf697d2
commit
8f4fbce2d6
@ -40,17 +40,6 @@ namespace Genode {
|
||||
return size_log2 > MAX_MAP_LOG2 ? MAX_MAP_LOG2 : size_log2;
|
||||
}
|
||||
|
||||
|
||||
inline void backtrace()
|
||||
{
|
||||
using namespace Genode;
|
||||
log("\nbacktrace");
|
||||
log(" ", __builtin_return_address(0));
|
||||
log(" ", __builtin_return_address(1));
|
||||
log(" ", __builtin_return_address(2));
|
||||
log(" ", __builtin_return_address(3));
|
||||
log(" ", __builtin_return_address(4));
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* _CORE__INCLUDE__UTIL_H_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user