Fix opcodes includes

Now that gdb can unconditionally use a -I pointing at the top of the
source tree, we can remove the ugly "../opcodes/" formulation that was
needed earlier.  This patch adds the -I and cleans up these includes.

gdb/ChangeLog
2019-10-23  Tom Tromey  <tom@tromey.com>

	* arc-tdep.c: Remove ".." from include.
	* frv-tdep.c: Remove ".." from include.
	* lm32-tdep.c: Remove ".." from include.
	* microblaze-tdep.c: Remove ".." from include.
	* or1k-tdep.h: Remove ".." from include.
	* s12z-tdep.c: Remove ".." from include.
	* Makefile.in (OPCODES_CFLAGS): Add comment.
	(TOP_CFLAGS): New variable.
	(INTERNAL_CFLAGS_BASE): Add TOP_CFLAGS.

Change-Id: I21428726d55f9fab0c9da90b56f6664f258cf91a
This commit is contained in:
Tom Tromey 2019-10-05 18:27:29 -06:00
parent 6999161a2a
commit f16f7b7c74
9 changed files with 27 additions and 11 deletions

View file

@ -48,8 +48,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. */