aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/macscp1.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-09-30 16:53:06 +0000
committerTom Tromey <tromey@redhat.com>2008-09-30 16:53:06 +0000
commit506800a969be975219e8f7c82efa68589d56b259 (patch)
tree2fb69a4d2f20d518ab08764961f27d4019774bad /gdb/testsuite/gdb.base/macscp1.c
parentb796d39d3a974d7d0946366467c5bdf72460d4e5 (diff)
downloadgdb-506800a969be975219e8f7c82efa68589d56b259.zip
gdb-506800a969be975219e8f7c82efa68589d56b259.tar.gz
gdb-506800a969be975219e8f7c82efa68589d56b259.tar.bz2
* gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
everywhere. * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
Diffstat (limited to 'gdb/testsuite/gdb.base/macscp1.c')
-rw-r--r--gdb/testsuite/gdb.base/macscp1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/macscp1.c b/gdb/testsuite/gdb.base/macscp1.c
index 200ac26..0be78c6 100644
--- a/gdb/testsuite/gdb.base/macscp1.c
+++ b/gdb/testsuite/gdb.base/macscp1.c
@@ -69,9 +69,9 @@ macscp_expr (void)
int foo = -1;
foo = 0; /* set breakpoint here */
-#define M foo
+#define MACRO_TO_EXPAND foo
foo = 1;
-#undef M
+#undef MACRO_TO_EXPAND
foo = 2;
}