Re: [PATCH] "tfind" across unavailable-stack frames.

Yao Qi
2013-12-17T12:39:49Z

On 12/17/2013 06:09 PM, Pedro Alves wrote:
> It is clear, but it is not as precise or sufficient. A wild
> card means that given these frame ids:
>
> fid1: {code_p,stack_p,special_p}
> fid2: {!code_p,stack_p,!special_p}
>
> fid3: {code_p,stack_p,special_p}
> fid4: {code_p,stack_p,!special_p}
>
> {fid1, fid2} with same stack addresses,
> and {fid3, fid4} with same code and stack addresses,
> both:
>
> frame_id_eq(fid1, fid2)
> frame_id_eq(fid3, fid4)
>
> return true.
>
>> > I don't see
>> > any extra information the last sentence "Otherwise, xxxxx" delivered
>> > except confusion.
> The extra information indicates that e.g., frame_id_eq(fid3, fid4)
> above returns true, not false, as one might at first expect.

Thanks for giving these examples.

>
> Whether this whole wildcarding business is a good idea, is
> another story.

Anyway, I've got use to it now. :)

--
Yao (é½å°§)