binutils-gdb/sim
Mike Frysinger 119da46568 sim: unify target->subdir handling for default tests
The testsuite subdir has a note about unifying the target->subdir logic,
so do just that.  The end goal here is to have `make check` work out of
the box without having to delve into dejagnu internals.

The target-specific logic is split out of the top level configure.ac file
and into a dedicated configure.tgt similar to other subprojects (gdb and
ld and etc...) with the difference that this file has to be included at
the m4 level instead of the shell level.  This is necessary only because
autoconf requires AC_CONFIG_SUBDIRS be given a string literal and not a
variable value.

Then the toplevel and the testsuite configure files pull this in, the sim
subdir gets expanded into testsuite/site.exp, and the default sim run code
uses this info to set the sim path to the local compiled run file if it
hasn't already been specified.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-04-26 16:23:24 +00:00
..
arm sim: constify sim_write source buffer (part 2) 2010-04-14 07:38:06 +00:00
avr sim: constify sim_write source buffer (part 2) 2010-04-14 07:38:06 +00:00
common sim: fix fpu missing initializer warnings 2010-04-23 15:39:15 +00:00
cr16 sim: constify sim_write source buffer (part 2) 2010-04-14 07:38:06 +00:00
cris sim: update device_error() prototype 2010-03-30 20:38:26 +00:00
d10v sim: constify sim_write source buffer (part 2) 2010-04-14 07:38:06 +00:00
erc32 sim: constify sim_write source buffer (part 2) 2010-04-14 07:38:06 +00:00
frv sim: profile: implement --profile-file backend 2010-04-22 00:40:44 +00:00
h8300 sim: constify sim_write source buffer (part 2) 2010-04-14 07:38:06 +00:00
igen Update copyright notices to add year 2010. 2010-01-01 10:03:36 +00:00
iq2000 Regenerate cgen-derived files. 2010-02-12 02:44:26 +00:00
lm32 Regenerate cgen-derived files. 2010-02-12 02:44:26 +00:00
m32c sim: constify sim_write source buffer (part 2) 2010-04-14 07:38:06 +00:00
m32r sim: update device_error() prototype 2010-03-30 20:38:26 +00:00
m68hc11 Sync Libtool from GCC. 2010-01-09 21:11:44 +00:00
mcore sim: constify sim_write source buffer (part 2) 2010-04-14 07:38:06 +00:00
microblaze sim: constify sim_write source buffer (part 2) 2010-04-14 07:38:06 +00:00
mips sim: constify sim_write source buffer (part 2) 2010-04-14 07:38:06 +00:00
mn10300 sim: mn10300: convert to new sockser status code 2010-04-19 19:03:28 +00:00
moxie sim: constify sim_write source buffer (part 2) 2010-04-14 07:38:06 +00:00
ppc sim: constify sim_write source buffer (part 2) 2010-04-14 07:38:06 +00:00
rx sim: constify sim_write source buffer (part 2) 2010-04-14 07:38:06 +00:00
sh sim: constify sim_write source buffer (part 2) 2010-04-14 07:38:06 +00:00
sh64 regenerate cgen-based files 2010-02-13 04:44:41 +00:00
testsuite sim: unify target->subdir handling for default tests 2010-04-26 16:23:24 +00:00
v850 sim: v850: fix build failure after watchpoint constification 2010-03-30 23:43:03 +00:00
ChangeLog sim: unify target->subdir handling for default tests 2010-04-26 16:23:24 +00:00
configure sim: unify target->subdir handling for default tests 2010-04-26 16:23:24 +00:00
configure.ac sim: unify target->subdir handling for default tests 2010-04-26 16:23:24 +00:00
configure.tgt sim: unify target->subdir handling for default tests 2010-04-26 16:23:24 +00:00
MAINTAINERS
Makefile.in Update copyright notices to add year 2010. 2010-01-01 10:03:36 +00:00
README-HACKING sim: add more hacking notes 2010-04-12 21:44:46 +00:00