summaryrefslogtreecommitdiff
path: root/gcc/config/alpha/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/alpha/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/alpha/linux-unwind.h')
-rw-r--r--gcc/config/alpha/linux-unwind.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/alpha/linux-unwind.h b/gcc/config/alpha/linux-unwind.h
index 1f1c2af7216..23151ad30af 100644
--- a/gcc/config/alpha/linux-unwind.h
+++ b/gcc/config/alpha/linux-unwind.h
@@ -60,9 +60,9 @@ alpha_fallback_frame_state (struct _Unwind_Context *context,
else
return _URC_END_OF_STACK;
new_cfa = sc->sc_regs[30];
- fs->cfa_how = CFA_REG_OFFSET;
- fs->cfa_reg = 30;
- fs->cfa_offset = new_cfa - (long) context->cfa;
+ fs->regs.cfa_how = CFA_REG_OFFSET;
+ fs->regs.cfa_reg = 30;
+ fs->regs.cfa_offset = new_cfa - (long) context->cfa;
for (i = 0; i < 30; ++i)
{
fs->regs.reg[i].how = REG_SAVED_OFFSET;