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] make info regression on --with-system-readline


On Sat, 01 Jan 2011 11:02:02 +0100, Eli Zaretskii wrote:
> I prefer to do with GDBvn.texi what many projects do with config.h:
> regenerate it on a temporary file, then use move-if-change to move it
> into the real file.  Would that resolve your problem?  It certainly
> resolves mine.

./configure; make; ./configure; time make
real  0m12.498s
./configure; make; time make 
real  0m0.976s
make gdb.info; rm gdb.info; time make gdb.info
real  0m0.425s

I do not see the point playing with gdb.info build optimization.  It makes the
currently situation worse only by 3.4%.

The same optimization should be applied first to version.in / version.c as
currently whole gdb + gdbtui get relinked.  This is outside of the scope of
this patch.

Or which operation would you like optimized?


Regards,
Jan


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