summaryrefslogtreecommitdiff
path: root/gcc/config/i386/linux-unwind.h
diff options
context:
space:
mode:
authorfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-26 19:31:09 +0000
committerfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-26 19:31:09 +0000
commitad430e37cc1fcb3c3f23c6d25f8007a05b5035cd (patch)
tree8ed7134cd00f1eff920b22fc52f01f1b88f67c3c /gcc/config/i386/linux-unwind.h
parenta72f389704535fc5bfb238bd893db00e7aabbf79 (diff)
downloadgcc-ad430e37cc1fcb3c3f23c6d25f8007a05b5035cd.tar.gz
* gcc/unwind-dw2.h: Move cfa-related variables into
struct frame_state_reg_info to ensure that the CFA is properly handled when executing DW_CFA_{remember,restore}_state. * gcc/unwind-dw2.c, gcc/config/alpha/linux-unwind.h, gcc/config/alpha/vms-unwind.h, gcc/config/s390/tpf-unwind.h gcc/config/s390/linux-unwind.h, gcc/config/sparc/linux-unwind.h gcc/config/i386/linux-unwind.h, gcc/config/sh/linux-unwind.h gcc/config/rs6000/linux-unwind.h, gcc/config/rs6000/darwin-fallback.c, gcc/config/pa/linux-unwind.h, gcc/config/pa/hpux-unwind.h, gcc/config/mips/linux-unwind.h: Modify to use new cfa_* fields. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118068 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/linux-unwind.h')
-rw-r--r--gcc/config/i386/linux-unwind.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/config/i386/linux-unwind.h b/gcc/config/i386/linux-unwind.h
index 07979d319b6..58eb7333065 100644
--- a/gcc/config/i386/linux-unwind.h
+++ b/gcc/config/i386/linux-unwind.h
@@ -61,10 +61,10 @@ x86_64_fallback_frame_state (struct _Unwind_Context *context,
return _URC_END_OF_STACK;
new_cfa = sc->rsp;
- fs->cfa_how = CFA_REG_OFFSET;
+ fs->regs.cfa_how = CFA_REG_OFFSET;
/* Register 7 is rsp */
- fs->cfa_reg = 7;
- fs->cfa_offset = new_cfa - (long) context->cfa;
+ fs->regs.cfa_reg = 7;
+ fs->regs.cfa_offset = new_cfa - (long) context->cfa;
/* The SVR4 register numbering macros aren't usable in libgcc. */
fs->regs.reg[0].how = REG_SAVED_OFFSET;
@@ -151,9 +151,9 @@ x86_fallback_frame_state (struct _Unwind_Context *context,
return _URC_END_OF_STACK;
new_cfa = sc->REG_NAME(esp);
- fs->cfa_how = CFA_REG_OFFSET;
- fs->cfa_reg = 4;
- fs->cfa_offset = new_cfa - (long) context->cfa;
+ fs->regs.cfa_how = CFA_REG_OFFSET;
+ fs->regs.cfa_reg = 4;
+ fs->regs.cfa_offset = new_cfa - (long) context->cfa;
/* The SVR4 register numbering macros aren't usable in libgcc. */
fs->regs.reg[0].how = REG_SAVED_OFFSET;