diff options
author | Walfred Tedeschi <walfred.tedeschi@intel.com> | 2015-11-04 11:09:02 +0100 |
---|---|---|
committer | Walfred Tedeschi <walfred.tedeschi@intel.com> | 2015-11-04 11:09:02 +0100 |
commit | 1a2ccd2e32ecf767973bf96b965e915bd0a04bf3 (patch) | |
tree | d4e78c2dba0102a13f01a0aee94638f6b84736f6 /gdb | |
parent | e00b3c9bc1cb8f0ce1ee39f07d7a216ab12c3064 (diff) | |
download | gdb-1a2ccd2e32ecf767973bf96b965e915bd0a04bf3.zip gdb-1a2ccd2e32ecf767973bf96b965e915bd0a04bf3.tar.gz gdb-1a2ccd2e32ecf767973bf96b965e915bd0a04bf3.tar.bz2 |
Changing compiler flags for MPX tests.
Adapts tests to use actual GCC flags, previous used flags were
related to an internal GCC release.
2015-06-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
gdb/testsuite:
* gdb.arch/i386-mpx-map.exp (comp_flags): Use released GCC flags.
* gdb.arch/i386-mpx.exp (comp_flags): Use released GCC flags.
Change-Id: Id4c4551693a8df071ed4b71bb5dfb46a526ed5db
Signed-off-by: Walfred Tedeschi <walfred.tedeschi@intel.com>
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/gdb.arch/i386-mpx-map.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.arch/i386-mpx.exp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.arch/i386-mpx-map.exp b/gdb/testsuite/gdb.arch/i386-mpx-map.exp index 47efb16..a3488c0 100644 --- a/gdb/testsuite/gdb.arch/i386-mpx-map.exp +++ b/gdb/testsuite/gdb.arch/i386-mpx-map.exp @@ -23,7 +23,7 @@ if { ![istarget i?86-*-*] && ![istarget x86_64-*-* ] } { standard_testfile -set comp_flags "-fmpx -I${srcdir}/../nat/" +set comp_flags "-mmpx -fcheck-pointer-bounds -I${srcdir}/../nat/" if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} \ [list debug nowarnings additional_flags=${comp_flags}]] } { diff --git a/gdb/testsuite/gdb.arch/i386-mpx.exp b/gdb/testsuite/gdb.arch/i386-mpx.exp index 2db6401..a4166ba 100644 --- a/gdb/testsuite/gdb.arch/i386-mpx.exp +++ b/gdb/testsuite/gdb.arch/i386-mpx.exp @@ -27,7 +27,7 @@ if { ![istarget i?86-*-*] && ![istarget x86_64-*-* ] } { return } -set comp_flags "-fmpx -I${srcdir}/../nat/" +set comp_flags "-mmpx -fcheck-pointer-bounds -I${srcdir}/../nat/" if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} \ [list debug nowarnings additional_flags=${comp_flags}]] } { |