aboutsummaryrefslogtreecommitdiff
path: root/gdb/obsd-tdep.h
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2015-03-25 13:44:28 +1100
committerAnton Blanchard <anton@samba.org>2015-03-26 09:12:50 +1100
commit27c49e9a8fc004de116243ba8887e054f1190b42 (patch)
treeb55348c1527ae463e67ed7c58697a3fa41fef091 /gdb/obsd-tdep.h
parentc4e676f196560500d41ff8652d6be0c735758001 (diff)
downloadgdb-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 'gdb/obsd-tdep.h')
0 files changed, 0 insertions, 0 deletions