binutils-gdb/sim/m32r
Mike Frysinger 33b477e1c7 sim: m32r: namespace Linux syscall table
The use of __NR_ defines in here conflicts a lot with the standard
host syscalls, sometimes leading to build errors (when the numbers
happen to be the same we get duplicate case handlers), and other
times leading to misbehavior (where the m32r syscall # is not what
is actually checked).

Namespace these using the standard that we already use: change the
__NR_ to TARGET_LINUX_SYS_ with a simple `sed`.

Also add a few missing includes so the code at least compiles.
2021-07-01 20:36:42 -04:00
..
aclocal.m4 sim: unify scache settings 2021-06-30 13:33:18 -04:00
arch.c sim: namespace sim_machs 2021-06-30 01:52:51 -04:00
arch.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
ChangeLog sim: m32r: namespace Linux syscall table 2021-07-01 20:36:42 -04:00
configure sim: unify scache settings 2021-06-30 13:33:18 -04:00
configure.ac sim: unify scache settings 2021-06-30 13:33:18 -04:00
cpu.c sim: cgen: delete unused record_trace_results functions 2021-06-28 11:25:21 -04:00
cpu.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cpu2.c sim: cgen: delete unused record_trace_results functions 2021-06-28 11:25:21 -04:00
cpu2.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cpuall.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cpux.c sim: cgen: delete unused record_trace_results functions 2021-06-28 11:25:21 -04:00
cpux.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
decode.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
decode.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
decode2.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
decode2.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
decodex.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
decodex.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
dv-m32r_cache.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
dv-m32r_cache.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
dv-m32r_uart.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
dv-m32r_uart.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
m32r-sim.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
m32r.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
m32r2.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
m32rx.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
Makefile.in sim: hw: rework configure option & device selection 2021-06-21 21:36:51 -04:00
mloop.in Add missing stdlib.h includes to sim 2021-05-04 13:19:33 -06:00
mloop2.in Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mloopx.in Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
model.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
model2.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
modelx.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
README
sem-switch.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sem.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sem2-switch.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
semx-switch.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sim-if.c sim: move default model to the runtime sim state 2021-06-30 02:57:45 -04:00
sim-main.h sim: cgen: invert sim_state storage for cgen ports 2021-05-17 00:46:32 -04:00
syscall.h sim: m32r: namespace Linux syscall table 2021-07-01 20:36:42 -04:00
traps-linux.c sim: m32r: namespace Linux syscall table 2021-07-01 20:36:42 -04:00
traps.c sim: split sim-signal.h include out 2021-06-18 00:50:14 -04:00

This is the m32r simulator directory.

It is still work-in-progress.  The current sources are reasonably
well tested and lots of features are in.  However, there's lots
more yet to come.

There are lots of machine generated files in the source directory!
They are only generated if you configure with --enable-cgen-maint,
similar in behaviour to Makefile.in, configure under automake/autoconf.

For details on the generator, see ../../cgen.

devo/cgen isn't part of the comp-tools module yet.
You'll need to check it out manually (also akin to automake/autoconf).