aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.arch/gdb1558.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index c4aad69..d0f2f0d 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-02 Corinna Vinschen <vinschen@redhat.com>
+
+ * gdb.arch/gdb1558.c: Include stdio.h.
+
2005-10-31 Mark Kettenis <kettenis@gnu.org>
* gdb.asm/asm-source.exp: Use -e instead of --entry.
diff --git a/gdb/testsuite/gdb.arch/gdb1558.c b/gdb/testsuite/gdb.arch/gdb1558.c
index d1051cf..fc13be1 100644
--- a/gdb/testsuite/gdb.arch/gdb1558.c
+++ b/gdb/testsuite/gdb.arch/gdb1558.c
@@ -1,4 +1,4 @@
-/* Copyright 2004 Free Software Foundation, Inc.
+/* Copyright 2004, 2005 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
@@ -19,6 +19,8 @@
This file is part of the gdb testsuite. */
+#include <stdio.h>
+
sub1 ()
{
printf ("In sub1\n");