binutils-gdb/sim/cris
Sergei Trofimovich 33b90f59f3 sim: fix BFD_VMA format arguments on 32-bit hosts [PR gdb/29184]
Noticed format mismatch when attempted to build gdb on i686-linux-gnu
in --enable-64-bit-bfd mode:

    sim/../../sim/cris/sim-if.c:576:28:
        error: format '%lx' expects argument of type 'long unsigned int',
        but argument 4 has type 'bfd_size_type' {aka 'long long unsigned int'} [-Werror=format=]
      576 |       sim_do_commandf (sd, "memory region 0x%" BFD_VMA_FMT "x,0x%lx",
          |                            ^~~~~~~~~~~~~~~~~~~
      577 |          interp_load_addr, interpsiz);
          |                            ~~~~~~~~~
          |                            |
          |                            bfd_size_type {aka long long unsigned int}

While at it fixed format string for time-related types.
2022-06-15 23:12:56 +01:00
..
arch.c
arch.h
ChangeLog-2021
cpuall.h
cpuv10.c
cpuv10.h
cpuv32.c
cpuv32.h
cris-sim.h
cris-tmpl.c
crisv10f.c
crisv32f.c
decodev10.c
decodev10.h
decodev32.c
decodev32.h
dv-cris_900000xx.c
dv-cris.c
dv-rv.c
local.mk
Makefile.in
mloop.in
modelv10.c
modelv32.c
rvdummy.c
semcrisv10f-switch.c
semcrisv32f-switch.c
sim-if.c sim: fix BFD_VMA format arguments on 32-bit hosts [PR gdb/29184] 2022-06-15 23:12:56 +01:00
sim-main.h
traps.c