opcodes: blackfin: handle memory read errors
authorMike Frysinger <vapier@gentoo.org>
Sat, 5 Feb 2011 06:42:19 +0000 (01:42 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 13 Aug 2014 10:49:47 +0000 (06:49 -0400)
commitba32981791a749df5e742abbc4bc2f71a3161d6e
tree9e6b30348f37650cff6851d169d5a364743261cc
parent63e1777c6c20434c9909eb0f235b14f623d1f914
opcodes: blackfin: handle memory read errors

The current code ignores memory read errors which isn't a great idea.
So add a helper function which takes care of error checking and update
the code to use that.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
opcodes/ChangeLog
opcodes/bfin-dis.c