summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-10-14 10:55:39 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-10-14 10:55:39 +0000
commitf7f10a6353c616422c924d521b953f84ad59778e (patch)
tree3d3ae77694e80b1ebffdb265efbbd38dd4b8fe8c /sim
parent81c37183f402d493a6f5a1d9141b65492c21bc01 (diff)
downloadgdb-f7f10a6353c616422c924d521b953f84ad59778e.tar.gz
* cgen-trace.h: Test __BFD_H_SEEN__ rather than BFD_VERSION.
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/cgen-trace.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index ae252fd2769..eb38a7bf944 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,7 @@
+2002-10-14 Alan Modra <amodra@bigpond.net.au>
+
+ * cgen-trace.h: Test __BFD_H_SEEN__ rather than BFD_VERSION.
+
2002-08-29 Dave Brolley <brolley@redhat.com>
* Make-common.in (CGEN_READ_SCM): Remove ../../cgen/stamp-cgen.
diff --git a/sim/common/cgen-trace.h b/sim/common/cgen-trace.h
index 5e796fbf061..be1dd1dff4e 100644
--- a/sim/common/cgen-trace.h
+++ b/sim/common/cgen-trace.h
@@ -78,7 +78,7 @@ typedef struct {
extern int sim_disasm_sprintf (SFILE *, const char *, ...);
/* For opcodes based disassemblers. */
-#ifdef BFD_VERSION
+#ifdef __BFD_H_SEEN__
struct disassemble_info;
extern int
sim_disasm_read_memory (bfd_vma memaddr_, bfd_byte *myaddr_, int length_,