This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: stack-protector guard location


>>>>> "rth" == Richard Henderson <rth@redhat.com> writes:

rth> Even then I'd hope that the debugger returns a user decl before one
rth> that's marked DW_AT_artificial.

I am reasonably sure that current gdb won't do this.

You could introduce a new scope for the artificial variable.
Then if the user happened to use this name it would shadow the
artificial decl.  This doesn't work for parameter names, though.

Tom


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