1
0
forked from mirrors/0ad

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:
janwas
2008-09-27 10:05:11 +00:00
parent 699ab8865f
commit aea2368300
34 changed files with 296 additions and 342 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ ScopeTimer::~ScopeTimer()
// note that overflow isn't an issue either way (63 bit cycle counts
// at 10 GHz cover intervals of 29 years).
#if ARCH_IA32 && CONFIG2_TIMER_ALLOW_RDTSC
#if ARCH_X86_X64 && CONFIG2_TIMER_ALLOW_RDTSC
void TimerUnit::SetToZero()
{