Add frame_is_callee_p(), use in dwarf2-frame.c?

Andrew Cagney ac131313@redhat.com
Thu Jul 3 16:18:00 GMT 2003


> On Wed, Jul 02, 2003 at 03:28:50PM -0400, Andrew Cagney wrote:
> 
>> >Regardless, for a ``normal frame'' test, I'd like to suggest 
> 
>> >>``frame_is_callee_p()'' as something suitable descriptive.  Thoughts?
> 
>> >
>> >
>> >You've leapt ahead of me again.  What would frame_is_callee_p mean?
> 
>> 
>> The frame is a callee, it has a caller with a call instruction?
> 
> 
> Oh, makes sense to me.

But if you can think of a better name :-)

The flip side would be to try something like ``frame is interrupt'' or 
`frame unwind is correct'', but then that gets into refinements like 
``frame might be correct because of decr pc after break'' ....

Andrew




More information about the Gdb-patches mailing list