[Dwarf-Discuss] Possible ambiguity with DW_CFA_remember_state/store_state

Paul Pluzhnikov ppluzhnikov@google.com
Sat Jun 13 18:57:24 GMT 2009


On Sat, Jun 13, 2009 at 11:39 AM, John
DelSignore<jdelsign at totalviewtech.com> wrote:

> It seems to work OK:

> Thread 1.1 received a signal (Segmentation violation)
> d1.<> w
>> ?0 foo ? ? ? ? ? ? ?PC=0x004004a7, FP=0x7fbfffd488
> ? 1 main ? ? ? ? ? ? PC=0x00400488, FP=0x7fbfffd498
> ? 2 __libc_start_main PC=0x2a95689a99, FP=0x7fbfffd560
> ? 3 _start ? ? ? ? ? PC=0x004003e5, FP=0x7fbfffd570

Right. So (I believe) this proves that GDB is in the wrong here:
everything else treats DW_CFA_restore_state as restoring the virtual
CFA register along with all the other ones.

Thanks,
-- 
Paul Pluzhnikov




More information about the Dwarf-discuss mailing list