[binutils-gdb] powerpc: Only initialise opcode indices once

sergiodj+buildbot@redhat.com sergiodj+buildbot@redhat.com
Thu Mar 26 00:06:00 GMT 2015


*** TEST RESULTS FOR COMMIT 27c49e9a8fc004de116243ba8887e054f1190b42 ***

Author: Anton Blanchard <anton@samba.org>
Branch: master
Commit: 27c49e9a8fc004de116243ba8887e054f1190b42

powerpc: Only initialise opcode indices once
The gdb TUI is calling gdb_print_insn() (which calls
disassemble_init_powerpc()) enough to show up high in profiles. As
suggested by Alan, only initialise if the indices are empty.

opcodes/ChangeLog:
2015-03-25  Anton Blanchard  <anton@samba.org>

	* ppc-dis.c (disassemble_init_powerpc): Only initialise
	powerpc_opcd_indices and vle_opcd_indices once.



More information about the Gdb-testers mailing list