diff options
author | Jose E. Marchesi <jose.marchesi@oracle.com> | 2020-09-03 16:24:51 +0200 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2020-09-03 18:22:08 +0200 |
commit | 0316fb52d6eaca5f2398843f57ba08f8d3746056 (patch) | |
tree | df544c67ceacb4fcf00168b98bd20b6694076a02 /sim/ChangeLog | |
parent | 1d01693f555be09f78cea4e2454c24457777f057 (diff) | |
download | gdb-0316fb52d6eaca5f2398843f57ba08f8d3746056.zip gdb-0316fb52d6eaca5f2398843f57ba08f8d3746056.tar.gz gdb-0316fb52d6eaca5f2398843f57ba08f8d3746056.tar.bz2 |
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.
Diffstat (limited to 'sim/ChangeLog')
-rw-r--r-- | sim/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sim/ChangeLog b/sim/ChangeLog index 5f5f5b8..28d78a3 100644 --- a/sim/ChangeLog +++ b/sim/ChangeLog @@ -1,5 +1,14 @@ 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 Jose E. Marchesi <jose.marchesi@oracle.com> + * configure.ac: Do not configure sim/testsuite nor sim/igen if the primary target doesn't have a simulator. * configure: Regenerate. |