mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-28 09:13:45 +00:00
fixes to stack trace code under x64 (from work):
- displaying symbol values requires stack pointer, not frame pointer - update debug_IsPointerBogus - skip-n-frames code changed to skip-all-frames-up-to-func (more reliable in the face of inlining) debug.cpp: cleanup This was SVN commit r6410.
This commit is contained in:
@@ -140,6 +140,7 @@ ERROR_ASSOCIATE(ERR::LOGIC, "Logic error in code", -1);
|
||||
ERROR_ASSOCIATE(ERR::TIMED_OUT, "Timed out", -1);
|
||||
ERROR_ASSOCIATE(ERR::REENTERED, "Single-call function was reentered", -1);
|
||||
ERROR_ASSOCIATE(ERR::CORRUPTED, "File/memory data is corrupted", -1);
|
||||
ERROR_ASSOCIATE(ERR::ASSERTION_FAILED, "Assertion failed", -1);
|
||||
|
||||
ERROR_ASSOCIATE(ERR::INVALID_PARAM, "Invalid function argument", EINVAL);
|
||||
ERROR_ASSOCIATE(ERR::INVALID_HANDLE, "Invalid Handle (argument)", -1);
|
||||
|
||||
Reference in New Issue
Block a user