* gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
* gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
+2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * gdb.cp/hang.exp: Use .cc instead of .C.
+ * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
+ * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
+
2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/gdb1250.exp: Remove perror.
set binfile ${objdir}/${subdir}/${testfile}
foreach file {hang1 hang2 hang3} {
- if {[gdb_compile "${srcdir}/${subdir}/${file}.C" "${file}.o" object {c++ debug}] != ""} {
+ if {[gdb_compile "${srcdir}/${subdir}/${file}.cc" "${file}.o" object {c++ debug}] != ""} {
untested hang.exp
return -1
}
+++ /dev/null
-#include "hang.H"
-
-int main (int argc, char **argv) { return 0; }
--- /dev/null
+#include "hang.H"
+
+int main (int argc, char **argv) { return 0; }
+++ /dev/null
-#include "hang.H"
-
-struct B
-{
- int member_of_B;
-};
-
-int var_in_b = 1729;
--- /dev/null
+#include "hang.H"
+
+struct B
+{
+ int member_of_B;
+};
+
+int var_in_b = 1729;
+++ /dev/null
-#include "hang.H"
-
-const struct B *const_B_ptr;
-int var_in_hang3 = 42;
--- /dev/null
+#include "hang.H"
+
+const struct B *const_B_ptr;
+int var_in_hang3 = 42;