aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/unload.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 2c5bf98..e8315a8 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
+ * gdb.base/unload.c: Include <stdlib.h>.
+
+2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
+
From Paul Gilliam <pgilliam@us.ibm.com>:
* gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
synchronized after the "return".
diff --git a/gdb/testsuite/gdb.base/unload.c b/gdb/testsuite/gdb.base/unload.c
index 4d7d05d..5c5e3d3 100644
--- a/gdb/testsuite/gdb.base/unload.c
+++ b/gdb/testsuite/gdb.base/unload.c
@@ -17,6 +17,7 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <stdio.h>
+#include <stdlib.h>
#include <dlfcn.h>
int k = 0;