Fix non stopping breakpoint on newer compilers.
authorWalfred Tedeschi <walfred.tedeschi@intel.com>
Wed, 4 Nov 2015 10:09:03 +0000 (11:09 +0100)
committerWalfred Tedeschi <walfred.tedeschi@intel.com>
Wed, 4 Nov 2015 10:09:03 +0000 (11:09 +0100)
commit14cb1c0b38b120cf5325d9538cce1a0347e2b626
treec94190670190aa484d67772bbee2d718161769da
parent1a2ccd2e32ecf767973bf96b965e915bd0a04bf3
Fix non stopping breakpoint on newer compilers.

The breakpoint presented in the return statement was not activated while
compiling the test with gcc 4.9.2.  Added a dummy statement to allow the
breakpoint again.

2015-10-14  Walfred Tedeschi  <walfred.tedeschi@intel.com>

gdb/testsuite:

* i386-mpx-map.c (foo): Add dummy statement to trigger breakpoint.

Change-Id: I5293ca1c7f82a631e1e41cb650c30dd2d09ef3c2
Signed-off-by: Walfred Tedeschi <walfred.tedeschi@intel.com>
gdb/testsuite/gdb.arch/i386-mpx-map.c