diff options
author | wtc <devnull@localhost> | 1998-05-07 01:52:43 +0000 |
---|---|---|
committer | wtc <devnull@localhost> | 1998-05-07 01:52:43 +0000 |
commit | c33e67cbbe9cda68559d6c7528d769bf0b3f5baa (patch) | |
tree | 87952758343c21da3bce55f56cc499e2d5f5e0e8 | |
parent | 6cdd9b05911c2bf865c056671e09bc877344ae08 (diff) | |
download | nspr-hg-c33e67cbbe9cda68559d6c7528d769bf0b3f5baa.tar.gz |
The stack pointer is the 0th element in the jmp_buf.
-rw-r--r-- | pr/include/md/_darwin.h | 2 | ||||
-rw-r--r-- | pr/include/md/_rhapsody.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pr/include/md/_darwin.h b/pr/include/md/_darwin.h index 44404ba5..b7b99482 100644 --- a/pr/include/md/_darwin.h +++ b/pr/include/md/_darwin.h @@ -50,7 +50,7 @@ #define CONTEXT(_th) ((_th)->md.context) -#define _MD_GET_SP(_th) (_th)->md.context[2] +#define _MD_GET_SP(_th) (_th)->md.context[0] #define PR_NUM_GCREGS _JBLEN /* diff --git a/pr/include/md/_rhapsody.h b/pr/include/md/_rhapsody.h index 44404ba5..b7b99482 100644 --- a/pr/include/md/_rhapsody.h +++ b/pr/include/md/_rhapsody.h @@ -50,7 +50,7 @@ #define CONTEXT(_th) ((_th)->md.context) -#define _MD_GET_SP(_th) (_th)->md.context[2] +#define _MD_GET_SP(_th) (_th)->md.context[0] #define PR_NUM_GCREGS _JBLEN /* |