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 sim: cris: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
cris-tmpl.c sim: cris: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
crisv10f.c sim: cris: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
crisv32f.c sim: cris: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
decodev10.c
decodev10.h
decodev32.c
decodev32.h
dv-cris_900000xx.c
dv-cris.c sim: cris: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
dv-rv.c sim: cris: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
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 sim: remove use of PTR 2022-05-13 14:32:54 +09:30