This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] opcodes/arc: Move instruction length logic to new function
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 14 Apr 2016 12:55:10 -0400
- Subject: [binutils-gdb] opcodes/arc: Move instruction length logic to new function
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT cb040366b36ca624874e036805ca1fca740dae9f ***
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: cb040366b36ca624874e036805ca1fca740dae9f
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.