summaryrefslogtreecommitdiffstats
path: root/package/gdb
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-07-09 00:19:18 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-24 22:51:42 +0200
commit9068fe0dea774fb35620b31f71b51e663b35167b (patch)
tree305787d18477e50f993decc08fe4df3155ec798b /package/gdb
parent4846700a1b51e7f2c48639dafdb5143ad8e9de41 (diff)
downloadbuildroot-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')
-rw-r--r--package/gdb/7.10.1/0005-fix-sim-compile.patch16
-rw-r--r--package/gdb/7.11.1/0001-fix-sim-compile.patch16
2 files changed, 32 insertions, 0 deletions
diff --git a/package/gdb/7.10.1/0005-fix-sim-compile.patch b/package/gdb/7.10.1/0005-fix-sim-compile.patch
new file mode 100644
index 0000000000..c88636304b
--- /dev/null
+++ b/package/gdb/7.10.1/0005-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.10.1.orig//sim/common/sim-base.h gdb-7.10.1/sim/common/sim-base.h
+--- gdb-7.10.1.orig//sim/common/sim-base.h 2015-05-13 13:03:56.000000000 -0500
++++ gdb-7.10.1/sim/common/sim-base.h 2016-07-08 07:44:17.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"
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"
OpenPOWER on IntegriCloud