This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Make z volatile.
- From: Luis Machado <luisgpm at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 24 Aug 2015 15:58:40 -0000
- Subject: [binutils-gdb] Make z volatile.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=91dddb86299bba404599551e9e2633b3c0e5c830
commit 91dddb86299bba404599551e9e2633b3c0e5c830
Author: Luis Machado <lgustavo@codesourcery.com>
Date: Mon Aug 24 12:56:15 2015 -0300
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.
Diff:
---
gdb/testsuite/ChangeLog | 4 ++++
gdb/testsuite/gdb.opt/inline-markers.c | 3 ++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index b788c0f..5dc7f92 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
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.
* gdb.opt/inline-cmds.c: Likewise.
* gdb.opt/inline-locals.c: Likewise.
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)
{