diff options
author | Tom Tromey <tromey@redhat.com> | 2008-09-30 16:53:06 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2008-09-30 16:53:06 +0000 |
commit | 506800a969be975219e8f7c82efa68589d56b259 (patch) | |
tree | 2fb69a4d2f20d518ab08764961f27d4019774bad /gdb/testsuite/gdb.base/macscp1.c | |
parent | b796d39d3a974d7d0946366467c5bdf72460d4e5 (diff) | |
download | gdb-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.c | 4 |
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; } |