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


>>>>> "Roland" == Roland McGrath <roland@redhat.com> writes:

Roland> Giving it this name does mean you can suddenly make use of it
Roland> without any new debugger support.

Users will still need a name for it to refer to it from the debugger.

Roland> I think I'd rather go with no name.  Also, I think someone should try it
Roland> and verify whether the fake variable DIE confuses GDB at all before we
Roland> firmly decide what to emit.

>From what I can see, GDB ignores variables with no name.

I don't anticipate any problems from either of these approaches, but I
agree, trying it out first would be good.

Tom


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