This is the mail archive of the gcc@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: [Patch, testsuite] Add missing -gdwarf-2 flag in debug/dwarf2 testcase


On 04/04/2013 11:48 AM, Senthil Kumar Selvaraj wrote:
+Common Var(dwarf_version, 4) Negative(gdwarf-)

I don't think you need to mention the variable on this line; it's already there and statically initialized for gdwarf-.

I wasn't able to get this done in a clean way. To make the gdwarf option
handling code detect this error, the only I found was to make it
JoinedOrMissing, and then raise the error if there was an argument
provided.

That sounds clean enough to me.

Jason


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