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: Patch: fix #line directives in bison output


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> I'll admit being lazy this evening and not having the energy trying to
Joel> understand the incantations being used in the makefile, and why we have
Joel> to make the following targets non-.PRECIOUS.

If they are .PRECIOUS, then an interrupt means that the file will not be
removed.  However, the patched rule creates the target file as the
output of $(YLWRAP).  If an interrupt came just after ylwrap finished,
then an incorrect .c file would be left, breaking future builds.

Joel> Something did catch my eye, though:

>> -.PRECIOUS: ada-exp.c ada-lex.c
>> -.PRECIOUS: c-exp.c
>> -.PRECIOUS: f-exp.c
>> -.PRECIOUS: jv-exp.c
>> -.PRECIOUS: m2-exp.c
>> -.PRECIOUS: objc-exp.c
>> -.PRECIOUS: p-exp.c
>> +.PRECIOUS: ada-exp.c

Joel> Did you mean the last line to be "ada-lex.c"?

Yeah, oops.
I will fix it shortly.

Tom


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