X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftestsuite%2Fgdb.base%2Fcall-sc.c;h=cec4b340b23b2804640efd2d3cbd5641696901f2;hb=6a3cb8e88a739c967bb9b2d8774bf96b87a7fda4;hp=99810afd764322784bbe8b2339d06bc6c708948f;hpb=7b6bb8daaceb9ecf3f42dea57ae82733d6a3b2f6;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/gdb.base/call-sc.c b/gdb/testsuite/gdb.base/call-sc.c index 99810afd76..cec4b340b2 100644 --- a/gdb/testsuite/gdb.base/call-sc.c +++ b/gdb/testsuite/gdb.base/call-sc.c @@ -1,6 +1,6 @@ /* This testcase is part of GDB, the GNU debugger. - Copyright 2004, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + Copyright 2004-2014 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -58,17 +58,13 @@ zed () int main() { -#ifdef usestubs - set_debug_traps(); - breakpoint(); -#endif int i; Fun(foo); /* An infinite loop that first clears all the variables and then calls the function. This "hack" is to make re-testing easier - - "advance fun" is guaranteed to have always been preceeded by a + "advance fun" is guaranteed to have always been preceded by a global variable clearing zed call. */ zed ();