OSDN Git Service

* gdb.base/relocate.c (dummy): Initialize.
authordrow <drow>
Sun, 29 Feb 2004 02:58:28 +0000 (02:58 +0000)
committerdrow <drow>
Sun, 29 Feb 2004 02:58:28 +0000 (02:58 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/relocate.c

index 493a67b..d23e034 100644 (file)
@@ -1,5 +1,9 @@
 2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
 
+       * gdb.base/relocate.c (dummy): Initialize.
+
+2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
+
        * gdb.base/chng-syms.exp: Anchor exit pattern.  Allow
        a breakpoint at exit.
 
index df8545d..90e70ff 100644 (file)
@@ -3,7 +3,7 @@ static int static_bar = 2;
 
 /* This padding is just for the benefit of the test harness.  It
    causes the globals to have different addresses than the functions.  */
-int dummy[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
+int dummy[] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1};
 
 int global_foo = 3;
 int global_bar = 4;