From 9c62cc58b8e228e8296630e47b95c15c4a3753a0 Mon Sep 17 00:00:00 2001
From: wdenk <wdenk>
Date: Sat, 3 May 2003 23:33:47 +0000
Subject: [PATCH] Fix problem with usage of "true" (undefined in current
 versions of bfd.h)

---
 CHANGELOG          | 2 ++
 tools/gdb/astest.c | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG b/CHANGELOG
index 09ad4f6f126..1e44b408364 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,8 @@
 Changes since U-Boot 0.3.1:
 ======================================================================
 
+* Fix problem with usage of "true" (undefined in current versions of bfd.h)
+
 * Add support for Promess ATC board
 
 * Patch by Keith Outwater, 28 Apr 2003:
diff --git a/tools/gdb/astest.c b/tools/gdb/astest.c
index 8c8ed2819a9..dbe55fe5b1f 100644
--- a/tools/gdb/astest.c
+++ b/tools/gdb/astest.c
@@ -81,7 +81,7 @@ main(int ac, char **av)
 	close(ifd);
 	Error("bfd_fdopenr of file '%s' failed", ifn);
     }
-    bfdp->cacheable = true;
+    bfdp->cacheable = 1;
 
     if (!bfd_check_format(bfdp, bfd_object) ||
       (bfd_get_file_flags(bfdp) & EXEC_P) == 0) {
-- 
GitLab