aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/macscp2.h
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2002-06-11 20:27:50 +0000
committerJim Blandy <jimb@codesourcery.com>2002-06-11 20:27:50 +0000
commit6827a8f8fe10eb8f47681e3d8566a50e310faf29 (patch)
treeff24a960757b0c15a89a9d5d1ab8d02b442b883c /gdb/testsuite/gdb.base/macscp2.h
parent475b08678044b12807e00bc0cb1bb4882711af91 (diff)
downloadgdb-6827a8f8fe10eb8f47681e3d8566a50e310faf29.zip
gdb-6827a8f8fe10eb8f47681e3d8566a50e310faf29.tar.gz
gdb-6827a8f8fe10eb8f47681e3d8566a50e310faf29.tar.bz2
* macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
tests.
Diffstat (limited to 'gdb/testsuite/gdb.base/macscp2.h')
-rw-r--r--gdb/testsuite/gdb.base/macscp2.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/macscp2.h b/gdb/testsuite/gdb.base/macscp2.h
new file mode 100644
index 0000000..ef0feaa
--- /dev/null
+++ b/gdb/testsuite/gdb.base/macscp2.h
@@ -0,0 +1,25 @@
+#define IN_MACSCP2_H
+
+#undef WHERE
+#define WHERE before macscp2_1
+#define BEFORE_MACSCP2_1
+#undef UNTIL_MACSCP2_1
+void
+macscp2_1 ()
+{
+ puts ("macscp2_1");
+}
+
+#include "macscp4.h"
+
+#undef WHERE
+#define WHERE before macscp2_2
+#define BEFORE_MACSCP2_2
+#undef UNTIL_MACSCP2_2
+void
+macscp2_2 ()
+{
+ puts ("macscp2_2");
+}
+
+#undef IN_MACSCP2_H