This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Switch ARM, SPARC and i386 to generic dummy frames (PC_IN_CALL_DUMMY)?
> Sorry, you've lost me. BTW, the line:
>
>> >> - generic: looks for the FP in the list of dummy frames
>
>> isn't a typo.
>
>
> Certainly. But didn't you say "fix the first one (search for the PC)"?
>
> My concern is if we have multiple call frames from (to?) the same PC.
> That's easy enough to do; I've done it by accident plenty of times.
Sorry, you've still lost me.
PC_IN_CALL_DUMMY() returns non-zero if the PC is in a ``call dummy''
(any call dummy). Having multiple call dummies at the same address is
normal (as with AT_ENTRY).
Andrew