diff options
author | Alan Modra <amodra@gmail.com> | 2002-10-14 10:55:39 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-10-14 10:55:39 +0000 |
commit | 7c3e3b337eba718a947bfe3a4164f19e1234493b (patch) | |
tree | df8e14af3b3731da560754b2f45676e747551aeb | |
parent | ea6a213a6fc3f3ba670a820710cd49c7cf69853a (diff) | |
download | fsf-binutils-gdb-7c3e3b337eba718a947bfe3a4164f19e1234493b.zip fsf-binutils-gdb-7c3e3b337eba718a947bfe3a4164f19e1234493b.tar.gz fsf-binutils-gdb-7c3e3b337eba718a947bfe3a4164f19e1234493b.tar.bz2 |
* cgen-trace.h: Test __BFD_H_SEEN__ rather than BFD_VERSION.
-rw-r--r-- | sim/common/ChangeLog | 4 | ||||
-rw-r--r-- | sim/common/cgen-trace.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index ae252fd..eb38a7b 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 5e796fb..be1dd1d 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_, |