binutils-gdb/sim
John Baldwin 625ce09c1c Define an error function in the PPC simulator library.
Previously this used the error function from GDB directly when linked
against GDB instead of the error method in the host callbacks
structure.  This was exposed via a link error when GDB was converted
to C++.  The error function invokes the error callback similar to
sim_io_error.

Note that there are also error functions in sim/ppc/main.c and
sim/ppc/misc.c.  The ppc libsim.a expects each consumer to provide
several symbols used by the library including "error".  sim-calls.c
provides these symbols when the library is linked into gdb.  The dgen,
igen, tmp-filter, tmp-ld-decode, tmp-ld-cache, and tmp-ld-insn programs
use the functions from misc.c.  psim uses the functions from main.c.

sim/ppc/ChangeLog:

	PR sim/20863
	* sim_calls.c (error): New function.
2017-09-04 19:56:00 -07:00
..
aarch64 Fix ldn/stn multiple instructions. Fix testcases with unaligned data. 2017-04-22 16:36:01 -07:00
arm sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations 2017-02-13 01:26:21 -05:00
avr update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
bfin update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
common Refactor disassembler selection 2017-05-24 17:23:52 +01:00
cr16 update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
cris sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations 2017-02-13 01:26:21 -05:00
d10v update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
erc32 update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
frv sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations 2017-02-13 01:26:21 -05:00
ft32 update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
h8300 update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
igen update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
iq2000 sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations 2017-02-13 01:26:21 -05:00
lm32 sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations 2017-02-13 01:26:21 -05:00
m32c sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations 2017-02-13 01:26:21 -05:00
m32r sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations 2017-02-13 01:26:21 -05:00
m68hc11 sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations 2017-02-13 01:26:21 -05:00
mcore update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
microblaze Correct check for endianness 2017-06-02 08:04:59 -07:00
mips update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mn10300 update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
moxie Fix simulator 2017-09-04 10:00:37 -04:00
msp430 Fix simulation of MSP430's open system call. 2017-08-29 14:09:58 +01:00
ppc Define an error function in the PPC simulator library. 2017-09-04 19:56:00 -07:00
rl78 update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
rx sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations 2017-02-13 01:26:21 -05:00
sh sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations 2017-02-13 01:26:21 -05:00
sh64 sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations 2017-02-13 01:26:21 -05:00
testsuite Fix ldn/stn multiple instructions. Fix testcases with unaligned data. 2017-04-22 16:36:01 -07:00
v850 update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
.gitignore sim: drop common/cconfig.h in favor of a single config.h 2016-01-09 03:52:30 -05:00
ChangeLog Add self to aarch64 maintainers. Fix mla instruction. 2017-02-14 15:23:12 -08:00
MAINTAINERS Add self to aarch64 maintainers. Fix mla instruction. 2017-02-14 15:23:12 -08:00
Makefile.in update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
README-HACKING sim: punt WITH_DEVICES & tconfig.h support 2015-12-26 20:38:31 -05:00
configure sim: stop configuring common subdir 2016-01-09 03:52:30 -05:00
configure.ac sim: stop configuring common subdir 2016-01-09 03:52:30 -05:00
configure.tgt sim: stop configuring common subdir 2016-01-09 03:52:30 -05:00