aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-02-29 02:58:28 +0000
committerDaniel Jacobowitz <drow@false.org>2004-02-29 02:58:28 +0000
commit7574fd537458959c90ac2835081e987c2b34217e (patch)
tree63603b5d1f94be0436e48ab1c52047d61ea9c5c5 /gdb
parentfaae5abe9acd037ad34843efd34304138b7a107f (diff)
downloadgdb-7574fd537458959c90ac2835081e987c2b34217e.zip
gdb-7574fd537458959c90ac2835081e987c2b34217e.tar.gz
gdb-7574fd537458959c90ac2835081e987c2b34217e.tar.bz2
* gdb.base/relocate.c (dummy): Initialize.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/relocate.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 493a67b..d23e034 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.base/relocate.c b/gdb/testsuite/gdb.base/relocate.c
index df8545d..90e70ff 100644
--- a/gdb/testsuite/gdb.base/relocate.c
+++ b/gdb/testsuite/gdb.base/relocate.c
@@ -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;