diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2016-03-24 16:54:37 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2016-04-14 17:15:18 +0100 |
commit | cb040366b36ca624874e036805ca1fca740dae9f (patch) | |
tree | 774830bc95253881147800e16dbf1ab067da3d9d /ChangeLog | |
parent | 7634c4e679156fc6a93ccb8b33898f5cf41eb233 (diff) | |
download | gdb-cb040366b36ca624874e036805ca1fca740dae9f.zip gdb-cb040366b36ca624874e036805ca1fca740dae9f.tar.gz gdb-cb040366b36ca624874e036805ca1fca740dae9f.tar.bz2 |
opcodes/arc: Move instruction length logic to new function
Move the logic that calculates the instruction length out to a new
function. Restructure the code to make it simpler.
opcodes/ChangeLog:
* arc-dis.c (arc_insn_length): New function.
(print_insn_arc): Use arc_insn_length, change insnLen to unsigned.
(find_format): Change insnLen parameter to unsigned.
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions