On Wed, Oct 05, 2011 at 10:10:44AM -0400, Diego Novillo wrote:
> > Why
> > not use the artificial attribute on them instead?  At least what is 
> > documented
> > is exactly what we want (well, at least it seems to me).
> 
> Yes, I forgot to mention in my reply.  I tried it, but you still step
> into the functions.  If this is a bug with the attribute, then it
> could be fixed.

If it doesn't work, then something should be done about it in gdb.
Hiding the inlines altogether from the debugger is undesirable, it is
better if the debugger has choice what to do, still the default should
be that it ignores the artificial inlines in the backtraces as well as when
stepping through, e.g. glibc headers use artificial attribute heavily
for inlines which are of no interest to users to step through too.

        Jakub

Reply via email to