aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--daemon/main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/daemon/main.c b/daemon/main.c
index eb77bb7..91e9087 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -387,6 +387,8 @@ LONG WINAPI exception_handler( PEXCEPTION_POINTERS ei )
for( i = 0; i < ei->ExceptionRecord->NumberParameters; i++ )
fprintf( stderr, "\t%lX\n", ei->ExceptionRecord->ExceptionInformation[i] );
+#if defined(_X86_)
+
fprintf( stderr,
"ContextFlags=%lX\n"
"CS=%lX DS=%lX ES=%lX SS=%lX FS=%lX GS=%lX\n"
@@ -412,6 +414,11 @@ LONG WINAPI exception_handler( PEXCEPTION_POINTERS ei )
ei->ContextRecord->EFlags );
addr = (LPBYTE) (ei->ContextRecord->Esp);
+
+#else
+ fprintf( stderr, "FIXME: add more machines\n" );
+#endif
+
while( !IsBadReadPtr( addr, 16 ) )
{
int skip = ((DWORD) addr) & 15;