This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/testsuite] stack check
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Jerome Guitton <guitton at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 2 Sep 2008 23:01:46 +0200
- Subject: Re: [RFA/testsuite] stack check
- References: <20080901170203.GB226@adacore.com>
> 2008-09-01 Jerome Guitton <guitton@adacore.com>
>
> * (stack-checking.c, stack-checking.exp): New testcase.
OK, except for a little nit: You forgot to add a copyright header
in the C file...
Also:
> if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [concat debug optimize=-fstack-check nowarnings]] != "" } {
I would think that the "optimize" flag was only meant to force a certain
optimization level. Perhaps you should use additional_flags instead.
--
Joel