aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.opt
diff options
context:
space:
mode:
authorLuis Machado <lgustavo@codesourcery.com>2015-08-24 12:56:15 -0300
committerLuis Machado <lgustavo@codesourcery.com>2015-08-24 12:56:15 -0300
commit91dddb86299bba404599551e9e2633b3c0e5c830 (patch)
tree30adeac87ba9a993285bf8ba2590b453832cbc0f /gdb/testsuite/gdb.opt
parenta48847eea5f39c1f9fbe4255c9e892647f13f995 (diff)
downloadgdb-91dddb86299bba404599551e9e2633b3c0e5c830.zip
gdb-91dddb86299bba404599551e9e2633b3c0e5c830.tar.gz
gdb-91dddb86299bba404599551e9e2633b3c0e5c830.tar.bz2
Make z volatile.
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.
Diffstat (limited to 'gdb/testsuite/gdb.opt')
-rw-r--r--gdb/testsuite/gdb.opt/inline-markers.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.opt/inline-markers.c b/gdb/testsuite/gdb.opt/inline-markers.c
index 5d55033..dabc5b5 100644
--- a/gdb/testsuite/gdb.opt/inline-markers.c
+++ b/gdb/testsuite/gdb.opt/inline-markers.c
@@ -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)
{