Date: Tue, 9 Feb 2016 10:18:22 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r295432 - head/sys/arm64/arm64 Message-ID: <201602091018.u19AIMU0070199@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Tue Feb 9 10:18:22 2016 New Revision: 295432 URL: https://svnweb.freebsd.org/changeset/base/295432 Log: Use designated initialisers for the db disassembler interface to help with finding the struct when searching for one of its members. Modified: head/sys/arm64/arm64/db_disasm.c Modified: head/sys/arm64/arm64/db_disasm.c ============================================================================== --- head/sys/arm64/arm64/db_disasm.c Tue Feb 9 10:06:06 2016 (r295431) +++ head/sys/arm64/arm64/db_disasm.c Tue Feb 9 10:18:22 2016 (r295432) @@ -41,9 +41,9 @@ static void db_disasm_printaddr(vm_offse /* Glue code to interface db_disasm to the generic ARM disassembler */ static const struct disasm_interface db_disasm_interface = { - db_disasm_read_word, - db_disasm_printaddr, - db_printf + .di_readword = db_disasm_read_word, + .di_printaddr = db_disasm_printaddr, + .di_printf = db_printf, }; static u_int
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602091018.u19AIMU0070199>