This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[obv] gdb.linespec/linespec.exp: Fix C++ build compat.


Hi,

on RHEL-6.2 x86_64:
gdb compile failed, gdb/testsuite.unix.-m64/gdb.linespec/lspec0.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
gdb/testsuite.unix.-m64/gdb.linespec/lspec1.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
gdb/testsuite.unix.-m64/gdb.linespec/lspec2.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'

At least Fedora-Rawhide no longer needs to use g++ in this case.

Checked in.


Regards,
Jan


http://sourceware.org/ml/gdb-cvs/2011-12/msg00236.html

--- src/gdb/testsuite/ChangeLog	2011/12/23 18:01:25	1.3001
+++ src/gdb/testsuite/ChangeLog	2011/12/24 23:54:20	1.3002
@@ -1,5 +1,9 @@
 2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
+	* gdb.linespec/linespec.exp: Compile using {c++}.
+
+2011-12-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
 	* gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
 	(print destructor of template typedef): Extend it for gcc/51668 XFAIL.
 	(verify GCC PR debug/51668): New test.
--- src/gdb/testsuite/gdb.linespec/linespec.exp	2011/12/06 18:54:43	1.1
+++ src/gdb/testsuite/gdb.linespec/linespec.exp	2011/12/24 23:54:20	1.2
@@ -30,7 +30,7 @@
 
 if {[prepare_for_testing ${testfile}.exp $exefile \
 	 [list lspec.cc $baseone $basetwo] \
-	 {debug nowarnings}]} {
+	 {debug nowarnings c++}]} {
     return -1
 }
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]