summaryrefslogtreecommitdiff
path: root/patches/gdb/6.8a/120-tdep-opcode-include-workaround.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/gdb/6.8a/120-tdep-opcode-include-workaround.patch')
-rw-r--r--patches/gdb/6.8a/120-tdep-opcode-include-workaround.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/patches/gdb/6.8a/120-tdep-opcode-include-workaround.patch b/patches/gdb/6.8a/120-tdep-opcode-include-workaround.patch
new file mode 100644
index 0000000..61fdef4
--- /dev/null
+++ b/patches/gdb/6.8a/120-tdep-opcode-include-workaround.patch
@@ -0,0 +1,33 @@
+Original patch from gentoo: gentoo/src/patchsets/gdb/6.8/20_all_gdb-tdep-opcode-include-workaround.patch
+-= BEGIN original header =-
+workaround build failure
+
+http://bugs.gentoo.org/216368
+
+-= END original header =-
+diff -durN gdb-6.8.orig/gdb/frv-tdep.c gdb-6.8/gdb/frv-tdep.c
+--- gdb-6.8.orig/gdb/frv-tdep.c 2008-01-11 14:19:59.000000000 +0100
++++ gdb-6.8/gdb/frv-tdep.c 2008-06-17 16:07:34.000000000 +0200
+@@ -32,7 +32,7 @@
+ #include "gdb_assert.h"
+ #include "sim-regno.h"
+ #include "gdb/sim-frv.h"
+-#include "opcodes/frv-desc.h" /* for the H_SPR_... enums */
++#include "../opcodes/frv-desc.h" /* for the H_SPR_... enums */
+ #include "symtab.h"
+ #include "elf-bfd.h"
+ #include "elf/frv.h"
+diff -durN gdb-6.8.orig/gdb/mep-tdep.c gdb-6.8/gdb/mep-tdep.c
+--- gdb-6.8.orig/gdb/mep-tdep.c 2008-01-11 14:20:02.000000000 +0100
++++ gdb-6.8/gdb/mep-tdep.c 2008-06-17 16:07:34.000000000 +0200
+@@ -53,8 +53,8 @@
+
+ /* Get the user's customized MeP coprocessor register names from
+ libopcodes. */
+-#include "opcodes/mep-desc.h"
+-#include "opcodes/mep-opc.h"
++#include "../opcodes/mep-desc.h"
++#include "../opcodes/mep-opc.h"
+
+
+ /* The gdbarch_tdep structure. */