patches/gdb/6.8/200-tdep-opcode-include-workaround.patch
changeset 746 b150d6f590fc
parent 570 301eb285ae7d
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/gdb/6.8/200-tdep-opcode-include-workaround.patch	Mon Jul 28 21:08:01 2008 +0000
     1.3 @@ -0,0 +1,33 @@
     1.4 +Original patch from gentoo: gentoo/src/patchsets/gdb/6.8/20_all_gdb-tdep-opcode-include-workaround.patch
     1.5 +-= BEGIN original header =-
     1.6 +workaround build failure
     1.7 +
     1.8 +http://bugs.gentoo.org/216368
     1.9 +
    1.10 +-= END original header =-
    1.11 +diff -durN gdb-6.8.orig/gdb/frv-tdep.c gdb-6.8/gdb/frv-tdep.c
    1.12 +--- gdb-6.8.orig/gdb/frv-tdep.c	2008-01-11 14:19:59.000000000 +0100
    1.13 ++++ gdb-6.8/gdb/frv-tdep.c	2008-06-17 16:07:34.000000000 +0200
    1.14 +@@ -32,7 +32,7 @@
    1.15 + #include "gdb_assert.h"
    1.16 + #include "sim-regno.h"
    1.17 + #include "gdb/sim-frv.h"
    1.18 +-#include "opcodes/frv-desc.h"	/* for the H_SPR_... enums */
    1.19 ++#include "../opcodes/frv-desc.h"	/* for the H_SPR_... enums */
    1.20 + #include "symtab.h"
    1.21 + #include "elf-bfd.h"
    1.22 + #include "elf/frv.h"
    1.23 +diff -durN gdb-6.8.orig/gdb/mep-tdep.c gdb-6.8/gdb/mep-tdep.c
    1.24 +--- gdb-6.8.orig/gdb/mep-tdep.c	2008-01-11 14:20:02.000000000 +0100
    1.25 ++++ gdb-6.8/gdb/mep-tdep.c	2008-06-17 16:07:34.000000000 +0200
    1.26 +@@ -53,8 +53,8 @@
    1.27 + 
    1.28 + /* Get the user's customized MeP coprocessor register names from
    1.29 +    libopcodes.  */
    1.30 +-#include "opcodes/mep-desc.h"
    1.31 +-#include "opcodes/mep-opc.h"
    1.32 ++#include "../opcodes/mep-desc.h"
    1.33 ++#include "../opcodes/mep-opc.h"
    1.34 + 
    1.35 + 
    1.36 + /* The gdbarch_tdep structure.  */