Centralize printing "<optimized out>".
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / checkpoint.c
index 7b956f181c3bf6bc77509e946f51a70cc521f00e..1be19eff98838f9b0591e93c1cdc9ff87e5489aa 100644 (file)
@@ -1,6 +1,7 @@
 /* This testcase is part of GDB, the GNU debugger.
 
-   Copyright 2005, 2006, 2007 Free Software Foundation, Inc.
+   Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011
+   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
@@ -40,9 +41,9 @@ main()
   for (i = 0; ; i++)
     {
       if (ftell (in) != i)
-       fprintf (stderr, "Input error at %d\n", i);
+       fprintf (stderr, "Input error at %ld\n", i);
       if (ftell (out) != i)
-       fprintf (stderr, "Output error at %d\n", i);
+       fprintf (stderr, "Output error at %ld\n", i);
       c = fgetc (in);
       if (c == '\n')
        lines++;        /* breakpoint 1 */
This page took 0.042765 seconds and 4 git commands to generate.