This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch][obv] Fix gdb.cp/minsym-fallback "undefined reference to `__gxx_personality_v0'"
- From: ppluzhnikov at google dot com (Paul Pluzhnikov)
- To: gdb-patches at sourceware dot org
- Cc: ppluzhnikov at google dot com
- Date: Thu, 14 Jul 2011 09:37:48 -0700 (PDT)
- Subject: [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
}