Comment 9 for bug 891970

Revision history for this message
Ulrich Weigand (uweigand) wrote :

>(gdb) p *entry->unwinder
>$7 = {type = NORMAL_FRAME, stop_reason = 0x806baeb <msp430_epilogue_frame_this_id>, this_id = 0x806c7db ><msp430_frame_prev_register>, prev_register = 0, unwind_data = 0x806c814, sniffer = 0, dealloc_cache = 0,
> prev_arch = 0}
>
>sniffer is NULL, but what is it and where is it coming from?

It seems this is some out-of-tree patch? In any case, "struct frame_unwind" earlier this year gained a new member "stop_reason"; it seems that the msp430 code has a struct initializer that was not updated to take that into account (the "this_id" routine is in the stop_reason field, the "prev_register" routine is in the this_id field etc.)

I guess you need to insert "default_frame_unwind_stop_reason" (or some appropriate stop_reason routine) into that initializer at the appropriate place.