0005-fix-sim-compile.patch 565 B

12345678910111213141516
  1. Fix compile on older systems with gcc 4.4.x.
  2. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
  3. diff -Nur gdb-7.10.1.orig//sim/common/sim-base.h gdb-7.10.1/sim/common/sim-base.h
  4. --- gdb-7.10.1.orig//sim/common/sim-base.h 2015-05-13 13:03:56.000000000 -0500
  5. +++ gdb-7.10.1/sim/common/sim-base.h 2016-07-08 07:44:17.000000000 -0500
  6. @@ -72,8 +72,6 @@
  7. #define INVALID_INSTRUCTION_ADDRESS ((address_word)0 - 1)
  8. #endif
  9. -/* TODO: Probably should just delete SIM_CPU. */
  10. -typedef struct _sim_cpu SIM_CPU;
  11. typedef struct _sim_cpu sim_cpu;
  12. #include "sim-module.h"