diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-02-01 11:12:56 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-02-08 11:01:07 +0000 |
commit | b9fe995797542ac6a2bd05c1864eeb53dbfdebf7 (patch) | |
tree | c7557b6bb2ab942a9f1c3b49b06412b8426c37c8 /gdb/python | |
parent | 4b426396368fd250a502a9c547da7143af4afbe0 (diff) | |
download | gdb-b9fe995797542ac6a2bd05c1864eeb53dbfdebf7.zip gdb-b9fe995797542ac6a2bd05c1864eeb53dbfdebf7.tar.gz gdb-b9fe995797542ac6a2bd05c1864eeb53dbfdebf7.tar.bz2 |
sim/rx: provide a format string for printf
Calling printf with the format being a non constant string results in
a GCC warning:
warning: format not a string literal and no format arguments [-Wformat-nonliteral]
Provide a constant format string to printf in the few places this
warning is triggered.
sim/rx/ChangeLog:
* reg.c (fpsw2str): Provide a format string to printf.
(trace_register_changes): Likewise.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions