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]

[patch][obv] Fix gdb.cp/minsym-fallback "undefined reference to `__gxx_personality_v0'"


Greetings,

I've committed the patch below under the obvious rule.

Thanks,

--
Paul Pluzhnikov

2011-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>

	* gdb.cp/minsym-fallback.exp: Link in C++ mode.

Index: testsuite/gdb.cp/minsym-fallback.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/minsym-fallback.exp,v
retrieving revision 1.2
diff -u -p -r1.2 minsym-fallback.exp
--- testsuite/gdb.cp/minsym-fallback.exp	1 Jul 2011 20:19:03 -0000	1.2
+++ testsuite/gdb.cp/minsym-fallback.exp	14 Jul 2011 16:31:52 -0000
@@ -26,7 +26,7 @@ set objmainfile $objdir/$subdir/${testfi
 set binfile $objdir/$subdir/$executable
 if {[gdb_compile $srcdir/$subdir/$srcfile $objfile object {}] != ""
     || [gdb_compile $srcdir/$subdir/$srcmainfile $objmainfile object {debug}] != ""
-    || [gdb_compile "$objfile $objmainfile" $binfile executable {}] != ""} {
+    || [gdb_compile "$objfile $objmainfile" $binfile executable {c++}] != ""} {
     untested ${testfile}.exp
     return -1
 }


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