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: [RFA v2 00/13] various frame filter fixes and cleanups


On 08/14/2017 02:57 PM, Phil Muldoon wrote:

> I'd prefer a "hidden" attribute to the frame decorators (or a callback
> API like the rest of the functions). Returns True or False. GDB would
> honour this and print/not print the frame according to the value
> returned. This is better, to me, than a global override printing/not
> printing all elided frames. 
> The bt command should still have a global
> override (IE, elide, or hidden, or show-hidden, or whatever) as
> discussed in the patch, and that would allow the user final and manual
> control of what is printed or not. I prefer frame decorators to be
> able to decide what should, or should not, be printed as the default
> as it's the presentation layer.
> 
> What do you think?

Hmm, I think I'm missing the point of the difference?  Can you expand on
when would a filter want to hide elided frames, and when would it want
to show  them?  When would it want to non-elided, but hidden frame?
What's semantically different between an elided frame and a hidden 
frame?  Because "hidden" and "elided" sound like synonyms to me:
<https://en.wiktionary.org/wiki/elide> - "To leave out or omit (something).".

Thanks,
Pedro Alves


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