Introduce the notion of a 'sample comment'.
- presence of the sample's reported.by file is now mandatory.
- when saving a sample, reporter name & URL are queried, to avoid operator forget about creating the reported.by file.
- when saving a sample, one can store a few-liner comment.
- when recalling a sample, the reporter name, URL and comment (if present) are printed.
- update the powerpc-e500v2-linux-gnuspe sample to include Nate's comment (from his original mail).
- update all samples that were missing the reported.by file.
/trunk/scripts/saveSample.sh | 46 35 11 0 ++++++++++++++++++------
/trunk/scripts/showSamples.sh | 12 6 6 0 +++---
/trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by | 15 15 0 0 ++++++++
/trunk/samples/samples.mk | 22 17 5 0 +++++++++--
4 files changed, 73 insertions(+), 22 deletions(-)
1 # Taken from http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config.gcc.diff?r1=1.91&r2=1.92
3 # Configuration x86_64-host_unknown-linux-gnu not supported
4 # when configuring gcc-2.95 on x86_64 build for i686 target
5 # It's a bit silly, since tm_file refers to files that don't exist,
6 # but as long as x86_64 is just the build machine, that doesn't matter.
8 --- gcc-2.95.3/gcc/configure.old 2004-03-24 12:17:44.000000000 -0800
9 +++ gcc-2.95.3/gcc/configure 2004-03-24 12:19:30.000000000 -0800
20 @@ -3643,6 +3646,19 @@
26 + tm_file="i386/biarch64.h i386/i386.h i386/att.h linux.h i386/x86-64.h \
28 + tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff"
29 + extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
32 + if test x$enable_threads = xyes; then