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: [RFC] Avoid multiple unnecessary execution of regformats/regdat.sh script


"Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr> writes:

>   On Cygwin/Mingw targets,
> compilation of gdbserver is lengthy because
> it recompiles i386.c and similar files
> over and over again.
>
>   The patch below avoids this by touching
> the generated file, if it is unchanged but older
> that the script or the data file sued by the script.

The right way to fix that is to use a stamp file.  That avoids
unnecessary rebuilding of the targets that depend on the generated
files.

Andreas.

-- 
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."


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