This is the mail archive of the gdb-patches@sources.redhat.com 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: revamped gdb_mbuild.sh


On Wed, 27 Nov 2002 13:05:35 -0500, Andrew Cagney <ac131313@redhat.com> said:


The new script, once it has successfully configured, built, and run
a target, replaces the BUILDDIR/TARGET directory with a
BUILDDIR/TARGET file (-f removes this, this is how the script knows
to not try to re-do a build).

At present both build and config logs, and the build directory get
removed.  Only architecture output is left.

I think this is ok since, unlike before, the command is restartable.
If the build fails, just restart it with a more verbose option.

Just checking: if the build fails, the logs aren't removed, right?
That's what you seem to be saying above, and that seems to be what the
script does if I'm reading it correctly, but given that I'm not sure I
understand your last paragraph.
Yes.

If the build fails, nothing, for that build, is removed. The directory is still there, the logs are still there. You can even cd to the corresponding build directory and try finishing the build by hand. The next time the script is run, it will pick up from where you left off.

Certainly I think it would be bad if the logs were deleted if the
build fails, but I don't mind if they're deleted if the build
succeeds.
Andrew



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