harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r481564 - /harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/linux/x86_64/hysignal_context.c
Date Sat, 02 Dec 2006 14:32:52 GMT
Author: hindessm
Date: Sat Dec  2 06:32:51 2006
New Revision: 481564

URL: http://svn.apache.org/viewvc?view=rev&rev=481564
Log:
Adding missing registers.

Modified:
    harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/linux/x86_64/hysignal_context.c

Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/linux/x86_64/hysignal_context.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/linux/x86_64/hysignal_context.c?view=diff&rev=481564&r1=481563&r2=481564
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/linux/x86_64/hysignal_context.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/linux/x86_64/hysignal_context.c
Sat Dec  2 06:32:51 2006
@@ -165,6 +165,46 @@
       *name = "RDX";
       *value = &info->platformSignalInfo.sigContext->rdx;
       return HYPORT_SIG_VALUE_ADDRESS;
+    case HYPORT_SIG_GPR_AMD64_R8:
+    case 6:
+      *name = "R8";
+      *value = &info->platformSignalInfo.sigContext->r8;
+      return HYPORT_SIG_VALUE_ADDRESS;
+    case HYPORT_SIG_GPR_AMD64_R9:
+    case 7:
+      *name = "R9";
+      *value = &info->platformSignalInfo.sigContext->r9;
+      return HYPORT_SIG_VALUE_ADDRESS;
+    case HYPORT_SIG_GPR_AMD64_R10:
+    case 8:
+      *name = "R10";
+      *value = &info->platformSignalInfo.sigContext->r10;
+      return HYPORT_SIG_VALUE_ADDRESS;
+    case HYPORT_SIG_GPR_AMD64_R11:
+    case 9:
+      *name = "R11";
+      *value = &info->platformSignalInfo.sigContext->r11;
+      return HYPORT_SIG_VALUE_ADDRESS;
+    case HYPORT_SIG_GPR_AMD64_R12:
+    case 10:
+      *name = "R12";
+      *value = &info->platformSignalInfo.sigContext->r12;
+      return HYPORT_SIG_VALUE_ADDRESS;
+    case HYPORT_SIG_GPR_AMD64_R13:
+    case 11:
+      *name = "R13";
+      *value = &info->platformSignalInfo.sigContext->r13;
+      return HYPORT_SIG_VALUE_ADDRESS;
+    case HYPORT_SIG_GPR_AMD64_R14:
+    case 12:
+      *name = "R14";
+      *value = &info->platformSignalInfo.sigContext->r14;
+      return HYPORT_SIG_VALUE_ADDRESS;
+    case HYPORT_SIG_GPR_AMD64_R15:
+    case 13:
+      *name = "R15";
+      *value = &info->platformSignalInfo.sigContext->r15;
+      return HYPORT_SIG_VALUE_ADDRESS;
     default:
       return HYPORT_SIG_VALUE_UNDEFINED;
     }
@@ -187,6 +227,14 @@
       *name = "RIP";
       *value = (void *) &(info->platformSignalInfo.sigContext->rip);
       return HYPORT_SIG_VALUE_ADDRESS;
+    case 1:
+      *name = "GS";
+      *value = (void *) &(info->platformSignalInfo.sigContext->gs);
+      return HYPORT_SIG_VALUE_ADDRESS;
+    case 2:
+      *name = "FS";
+      *value = (void *) &(info->platformSignalInfo.sigContext->fs);
+      return HYPORT_SIG_VALUE_ADDRESS;
     case HYPORT_SIG_CONTROL_SP:
     case 3:
       *name = "RSP";
@@ -204,6 +252,22 @@
     case 6:
       *name = "RBP";
       *value = &info->platformSignalInfo.sigContext->rbp;
+      return HYPORT_SIG_VALUE_ADDRESS;
+    case 7:
+      *name = "ERR";
+      *value = &info->platformSignalInfo.sigContext->err;
+      return HYPORT_SIG_VALUE_ADDRESS;
+    case 8:
+      *name = "TRAPNO";
+      *value = &info->platformSignalInfo.sigContext->trapno;
+      return HYPORT_SIG_VALUE_ADDRESS;
+    case 9:
+      *name = "OLDMASK";
+      *value = &info->platformSignalInfo.sigContext->oldmask;
+      return HYPORT_SIG_VALUE_ADDRESS;
+    case 10:
+      *name = "CR2";
+      *value = &info->platformSignalInfo.sigContext->cr2;
       return HYPORT_SIG_VALUE_ADDRESS;
     default:
       return HYPORT_SIG_VALUE_UNDEFINED;



Mime
View raw message