This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]