This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] S/390 DWARF-2 CFI frame support
- From: Ulrich Weigand <weigand at i1 dot informatik dot uni-erlangen dot de>
- To: rth at redhat dot com (Richard Henderson)
- Cc: weigand at i1 dot informatik dot uni-erlangen dot de (Ulrich Weigand), gdb-patches at sources dot redhat dot com, uweigand at de dot ibm dot com
- Date: Fri, 5 Dec 2003 03:16:32 +0100 (CET)
- Subject: Re: [PATCH] S/390 DWARF-2 CFI frame support
Richard Henderson wrote:
> On Fri, Dec 05, 2003 at 03:03:52AM +0100, Ulrich Weigand wrote:
> > However, there is one point that requires special consideration
> > in any case: what if the stack pointer is unspecified? On s390,
> > treating it as preserved from the inner frame is correct, but
> > on i386 and other platforms I guess this would be wrong -- it
> > needs to be set to the CFA there (which is wrong on s390 due
> > to the CFA bias we have).
>
> I thought s390 always provided a REG_SAVED for the stack pointer?
Except in leaf functions ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
weigand@informatik.uni-erlangen.de