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 08:33:00 -0000 Message-id: <3AFA0E37.3020906@cygnus.com> References: <87ae4p3rkz.fsf@dynamic-addr-83-177.resnet.rochester.edu> X-SW-Source: 2001-05/msg00214.html > So i've got the dwarf2 CFA info being used now, when available, to > find the location of a register. (What exactly does CFA mean. I know what you're refering to, just not the acronym). > gdbarch functions aren't stackable, so i can't just implement a > dwarf2_get_saved_register that uses the dwarf2 cfa info, and if it's > not available, calls the next lower level get_saved_register function. I don't think a stack is applicable here. As you move between frames the debug info could change and the get_saved_register() functions should adapt accordingly. Having a stack would imply a specific heirichy and that isn't correct in this case. Andrew