Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: gdb/testsuite/gdb.cp/virtfunc.cc

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/testsuite/gdb.cp/virtbase.exp ('k') | gdb/testsuite/gdb.cp/virtfunc.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.cp/virtfunc.cc
diff --git a/gdb/testsuite/gdb.cp/virtfunc.cc b/gdb/testsuite/gdb.cp/virtfunc.cc
index eac3c9b9c95972998d8ba796f8db3eb053ebe78b..e319863bd441bab61c3481dbb158424d97cb6070 100644
--- a/gdb/testsuite/gdb.cp/virtfunc.cc
+++ b/gdb/testsuite/gdb.cp/virtfunc.cc
@@ -111,6 +111,7 @@ D d;
E e;
V v;
VB vb;
+VA va;
A* pAa = &a;
@@ -182,19 +183,9 @@ void test_calls()
TEST(pEe->D::vg(), 102);
printf("Did %d tests, of which %d failed.\n", all_count, failed_count);
}
-#ifdef usestubs
-extern "C" {
- void set_debug_traps();
- void breakpoint();
-};
-#endif
int main()
{
-#ifdef usestubs
- set_debug_traps();
- breakpoint();
-#endif
init();
e.w = 7;
« no previous file with comments | « gdb/testsuite/gdb.cp/virtbase.exp ('k') | gdb/testsuite/gdb.cp/virtfunc.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698