From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Daniel Berlin Cc: gdb@sources.redhat.com Subject: Re: Integrating DWARF2 CFA info Date: Thu, 10 May 2001 10:04:00 -0000 Message-id: <3AFAC8BB.7040306@cygnus.com> References: X-SW-Source: 2001-05/msg00226.html > Well, actually, IMHO, it is. > The CFA info gives us the location of all saved registers for the entire > procedure. > It's always correct, even in the presence of optimization. > Given the pc for the frame, it can tell you exactly where all the saved > registers are, at that particular point in time. > Therefore, it is strictly better to use the CFA info, than scan the > instructions. > > So I see a strict hiearchy of what to use: > Dwarf2 CFA Info > This assumes that dwarf2 info is more correct than some other sort of info. Andrew