diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-07-09 00:19:18 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-24 22:51:42 +0200 |
commit | 9068fe0dea774fb35620b31f71b51e663b35167b (patch) | |
tree | 305787d18477e50f993decc08fe4df3155ec798b /package/gdb/7.11.1/0001-fix-sim-compile.patch | |
parent | 4846700a1b51e7f2c48639dafdb5143ad8e9de41 (diff) | |
download | buildroot-9068fe0dea774fb35620b31f71b51e663b35167b.tar.gz buildroot-9068fe0dea774fb35620b31f71b51e663b35167b.zip |
board: add blackfin gdb simulator support
With this config you can bootup a Linux kernel
in GDB simulator and test Blackfin kernel and
userland.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/gdb/7.11.1/0001-fix-sim-compile.patch')
-rw-r--r-- | package/gdb/7.11.1/0001-fix-sim-compile.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/package/gdb/7.11.1/0001-fix-sim-compile.patch b/package/gdb/7.11.1/0001-fix-sim-compile.patch new file mode 100644 index 0000000000..ecb0514074 --- /dev/null +++ b/package/gdb/7.11.1/0001-fix-sim-compile.patch @@ -0,0 +1,16 @@ +Fix compile on older systems with gcc 4.4.x + +Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> + +diff -Nur gdb-7.11.1.orig//sim/common/sim-base.h gdb-7.11.1/sim/common/sim-base.h +--- gdb-7.11.1.orig//sim/common/sim-base.h 2016-02-09 21:19:39.000000000 -0600 ++++ gdb-7.11.1/sim/common/sim-base.h 2016-07-08 08:02:09.000000000 -0500 +@@ -72,8 +72,6 @@ + #define INVALID_INSTRUCTION_ADDRESS ((address_word)0 - 1) + #endif + +-/* TODO: Probably should just delete SIM_CPU. */ +-typedef struct _sim_cpu SIM_CPU; + typedef struct _sim_cpu sim_cpu; + + #include "sim-module.h" |