From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Randolph Chung Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfa/hppa] Use frame pointer for unwinding Date: Sun, 16 May 2004 16:32:00 -0000 Message-id: <40A78B63.9020102@gnu.org> References: <20040516020703.GZ566@tausq.org> X-SW-Source: 2004-05/msg00470.html One more patch -- Currently we don't use the frame pointer to unwind the stack, we rely only on unwinding records. However, this doesn't work for functions that call alloca() because the unwinding record does not account for the variable-sized stack frame. In this case, the ABI requires that the compiler always maintain a frame pointer. Fixes these two FAILs from the testsuite, no new regressions. +PASS: gdb.base/funcargs.exp: backtrace from call_after_alloca_subr +PASS: gdb.base/selftest.exp: backtrace through signal handler ok to apply? randolph 2004-05-15 Randolph Chung * hppa-tdep.c (hppa_frame_cache): If a frame pointer is available, use it for unwinding the stack. + if (get_frame_type (next_frame) == NORMAL_FRAME The unwinder shouldn't need to doing things conditional on the type of the next frame. What does ``Variable_Frame'' mean? Andrew.