aboutsummaryrefslogtreecommitdiff
path: root/ld/cdtest-foo.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-09-27 22:25:04 +0000
committerIan Lance Taylor <ian@airs.com>1994-09-27 22:25:04 +0000
commit262c876349e7b12a4c8fbd6d283cd190e7970a24 (patch)
tree251433f91a61231e5e7eaf3517de7cd2a13d03e1 /ld/cdtest-foo.h
parent5c680d3f29a0f7073b32e00bc5d4fda17c5e89f0 (diff)
downloadgdb-262c876349e7b12a4c8fbd6d283cd190e7970a24.zip
gdb-262c876349e7b12a4c8fbd6d283cd190e7970a24.tar.gz
gdb-262c876349e7b12a4c8fbd6d283cd190e7970a24.tar.bz2
* Makefile.in (CC): Define.
(CXX): Move definition, change from g++ to gcc. (EXPECT, RUNTEST): Copy definitions from top level Makefile.in. (RUNTEST_CC, RUNTEST_CFLAGS): Remove. (RUNTEST_CXX, RUNTEST_CXXFLAGS): Remove. (CC_FOR_TARGET, CXX_FOR_TARGET): Copy from top level Makefile.in. (.cc.o): Comment out. (testdir): Remove. (site.exp): Don't create testdir or set tmpdir. (check): Run checks even if not running native. Use CC_FOR_TARGET instead of RUNTEST_CC, and likewise for CXX. (cdtest targets): Comment out. * config/solaris2.mh (HOSTING_LIBS): Only mention crtend.o once. * cdtest-bar.cc, cdtest-foo.cc, cdtest-foo.h: Remove. * cdtest-main.cc, cdtest.exp: Remove.
Diffstat (limited to 'ld/cdtest-foo.h')
-rw-r--r--ld/cdtest-foo.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/ld/cdtest-foo.h b/ld/cdtest-foo.h
deleted file mode 100644
index 0ba2d37..0000000
--- a/ld/cdtest-foo.h
+++ /dev/null
@@ -1,24 +0,0 @@
-// Class Foo
-
-#pragma interface
-
-#define FOOLISH_NUMBER -4711
-
-#ifndef FOO_MSG_LEN
-#define FOO_MSG_LEN 80
-#endif
-
-class Foo {
- static int foos;
- int i;
- const len = FOO_MSG_LEN;
- char message[len];
-public:
- static void init_foo ();
- static int nb_foos() { return foos; }
- Foo();
- Foo( char* message);
- Foo(const Foo&);
- Foo & operator= (const Foo&);
- ~Foo ();
-};