Andrew Burgess
5ccd31931e
opcodes/riscv: prevent future use of disassemble_info::fprintf_func
...
The previous commit removed a use of disassemble_info::fprintf_func
which had been added to the RISC-V disassembler after the disassembler
had been switched to use ::fprintf_styled_func, for styled output.
To prevent future mistakes, I propose adding a #define to rename
fprintf_func to something which does not exist. If this had been in
place then the before the previous commit libopcodes would have failed
to compile, like this:
../../src/opcodes/riscv-dis.c: In function ‘print_reg_list’:
../../src/opcodes/riscv-dis.c:229:7: error: ‘disassemble_info’ {aka ‘struct disassemble_info’} has no member named ‘please_use_fprintf_styled_func_instead’
229 | info->fprintf_func (info->stream, "%s", riscv_gpr_names[X_RA]);
| ^~
If this commit is accepted then I'll follow up with another commit
that adds the same #define to every disassembler that has been
converted to use styled output.
As the RISC-V disassembler is now fully styled, this commit should
make no difference at all.
2024-06-06 10:33:33 +01:00
..
2024-04-05 07:02:56 +00:00
2024-05-28 10:16:23 +01:00
2024-05-28 17:28:29 +01:00
2024-05-28 17:28:29 +01:00
2024-05-28 17:28:29 +01:00
2024-05-28 17:28:29 +01:00
2024-05-28 17:28:29 +01:00
2024-05-28 17:28:29 +01:00
2024-04-03 10:42:44 +02:00
2024-05-28 17:28:29 +01:00
2024-05-28 17:28:29 +01:00
2024-05-28 17:28:29 +01:00
2024-05-22 12:02:09 +01:00
2024-05-28 17:28:29 +01:00
2023-11-15 12:53:04 +00:00
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-02-14 11:36:52 +01:00
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-02-14 11:36:52 +01:00
2024-06-05 17:45:45 +01:00
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-02-15 15:11:44 +01:00
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-02-15 15:11:44 +01:00
2023-11-15 12:53:04 +00:00
2024-01-15 15:13:36 +00:00
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-04-17 13:57:50 +08:00
2024-05-22 16:15:47 +08:00
2024-04-07 17:28:25 +08:00
2024-04-17 13:57:50 +08:00
2024-05-22 16:15:47 +08:00
2024-05-22 16:15:47 +08:00
2024-05-29 10:03:00 +02:00
2024-01-05 09:28:52 +01:00
2024-05-22 16:15:47 +08:00
2024-05-29 10:03:00 +02:00
2024-05-29 10:03:00 +02:00
2024-02-23 11:59:09 +01:00
2024-05-29 10:03:00 +02:00
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-02-20 12:07:57 +01:00
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-11 14:08:24 +08:00
2024-01-26 16:49:43 +08:00
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-03-13 18:23:26 +00:00
2024-03-13 18:23:26 +00:00
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-02-29 21:07:04 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-04-19 10:00:57 +09:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-06-05 13:30:27 +01:00
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-02-09 10:52:23 -06:00
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-06-06 10:33:33 +01:00
2024-06-06 16:10:53 +08:00
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-03-01 12:45:14 +01:00
2024-03-01 11:12:40 +01:00
2024-03-01 12:45:14 +01:00
2024-04-09 17:17:02 +02:00
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-22 18:16:42 +01:00
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30
2024-01-04 22:58:12 +10:30