]> sourceware.org Git - cgen.git/commit
binutils opcodes error messages
authorAlan Modra <amodra@gmail.com>
Sat, 3 Mar 2018 01:31:31 +0000 (01:31 +0000)
committerAlan Modra <amodra@gmail.com>
Sat, 3 Mar 2018 01:31:31 +0000 (01:31 +0000)
commit9d8f8b558d0ab0ff791c908bab56319b818fb4ce
tree55f5c45871f26c8278726190ce26409e11d981f3
parent506d7b8e86f08a004d6731c98eef5a54f278ad2f
binutils opcodes error messages

This patch is aimed at making binutils/opcodes files comply with the
GNU coding standard regarding error messages, that is, they should
start with the program name followed by a colon, then a lower case
message.  Accomplished by calling opcodes_error_handler to output the
program name (and final '\n'), rather than calling fprintf.

* desc-cpu.scm (opcodes_error_handler): Define.
(@arch@_cgen_rebuild_tables): Use opcodes_error_handler.
(@arch@_cgen_cpu_open): Likewise.
* opc-asmdis.scm (@arch@_cgen_parse_operand): Likewise.
(@arch@_cgen_print_operand): Likewise.
* opc-ibld.scm (@arch@_cgen_get_int_operand): Likewise.
(@arch@_cgen_get_vma_operand): Likewise.
(@arch@_cgen_set_int_operand): Likewise.
(@arch@_cgen_set_vma_operand): Likewise.
(@arch@_cgen_insert_operand): Likewise.
(@arch@_cgen_extract_operand): Likewise.
* utils.scm: Update emitted copyright dates.
ChangeLog
desc-cpu.scm
opc-asmdis.scm
opc-ibld.scm
utils.scm
This page took 0.024458 seconds and 5 git commands to generate.