binutils-gdb/sim/bpf
Jose E. Marchesi 0316fb52d6 bpf: several small fixes in the simulator
This patch fixes the following problems:
- Missing includes in several files leading to implicit function
  declarations.
- Missing prototype for bpf_trace_printk in bpf-helpers.h
- The simulator bitsize was set to 32 bits, causing truncation of
  the program counter.

Tested in bpf-unknown-none.

sim/ChangeLog:

2020-09-03  Jose E. Marchesi  <jose.marchesi@oracle.com>

	* bpf/bpf.c: Include bpf-helpers.h.
	* bpf/bpf-helpers.h: Provide a prototype for bpf_trace_printk.
	* bpf/configure.ac: Set simulator bitsize to 64.
	* bpf/configure (includedir): Regenerate.
	* bpf/sim-if.c: Include stdlib.h.
	* bpf/traps.c: Likewise.
2020-09-03 18:22:08 +02:00
..
aclocal.m4
arch.c
arch.h
bpf-helpers.c
bpf-helpers.def
bpf-helpers.h bpf: several small fixes in the simulator 2020-09-03 18:22:08 +02:00
bpf-sim.h
bpf.c bpf: several small fixes in the simulator 2020-09-03 18:22:08 +02:00
config.in
configure bpf: several small fixes in the simulator 2020-09-03 18:22:08 +02:00
configure.ac bpf: several small fixes in the simulator 2020-09-03 18:22:08 +02:00
cpu.c
cpu.h
cpuall.h
decode-be.c
decode-be.h
decode-le.c
decode-le.h
decode.h
defs-be.h
defs-le.h
eng.h
Makefile.in
mloop.in
sem-be.c
sem-le.c
sim-if.c bpf: several small fixes in the simulator 2020-09-03 18:22:08 +02:00
sim-main.h
traps.c bpf: several small fixes in the simulator 2020-09-03 18:22:08 +02:00