diff options
author | Anton Blanchard <anton@samba.org> | 2015-03-25 13:44:28 +1100 |
---|---|---|
committer | Anton Blanchard <anton@samba.org> | 2015-03-26 09:12:50 +1100 |
commit | 27c49e9a8fc004de116243ba8887e054f1190b42 (patch) | |
tree | b55348c1527ae463e67ed7c58697a3fa41fef091 /opcodes/po | |
parent | c4e676f196560500d41ff8652d6be0c735758001 (diff) | |
download | gdb-27c49e9a8fc004de116243ba8887e054f1190b42.zip gdb-27c49e9a8fc004de116243ba8887e054f1190b42.tar.gz gdb-27c49e9a8fc004de116243ba8887e054f1190b42.tar.bz2 |
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.
Diffstat (limited to 'opcodes/po')
0 files changed, 0 insertions, 0 deletions