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
arm
avr
bfin
common
cr16
cris
d10v
erc32
frv
ft32
h8300
igen
iq2000
lm32
m32c
m32r
m68hc11
mcore
microblaze Correct check for endianness 2017-06-02 08:04:59 -07:00
mips
mn10300
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
rx
sh
sh64
testsuite
v850
.gitignore
ChangeLog
configure
configure.ac
configure.tgt
MAINTAINERS
Makefile.in
README-HACKING