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/ChangeLog | |
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/ChangeLog')
-rw-r--r-- | opcodes/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index b19a1b1..9fdcbe4 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,10 @@ 2015-03-25 Anton Blanchard <anton@samba.org> + * ppc-dis.c (disassemble_init_powerpc): Only initialise + powerpc_opcd_indices and vle_opcd_indices once. + +2015-03-25 Anton Blanchard <anton@samba.org> + * ppc-opc.c (powerpc_opcodes): Add slbfee. 2015-03-24 Terry Guo <terry.guo@arm.com> |