Make z volatile.
authorLuis Machado <lgustavo@codesourcery.com>
Mon, 24 Aug 2015 15:56:15 +0000 (12:56 -0300)
committerLuis Machado <lgustavo@codesourcery.com>
Mon, 24 Aug 2015 15:56:15 +0000 (12:56 -0300)
This fixes a typo in gdb/testsuite/gdb.opt/inline-markers.c, making
z a volatile variable.

gdb/testsuite/ChangeLog:

2015-08-24  Luis Machado  <lgustavo@codesourcery.com>

* gdb.opt/inline-markers.c: Make z volatile.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.opt/inline-markers.c

index b788c0f8eca4d859433a6aba5b03bf5036b2c883..5dc7f92d109027b5404efa3c8e7e9853ee10c224 100644 (file)
@@ -1,3 +1,7 @@
+2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
+
+       * gdb.opt/inline-markers.c: Make z volatile.
+
 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
 
        * gdb.opt/inline-bt.c: New volatile global z.
index 5d5503331d4e3858e254959b01cad3c4b4f0ecc2..dabc5b53fb43c4d40957575947d58211899232f8 100644 (file)
@@ -13,7 +13,8 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-extern int x, y, z;
+extern int x, y;
+extern volatile z;
 
 void bar(void)
 {
This page took 0.030855 seconds and 4 git commands to generate.