[libopcodes] Switching manually between print_insn_arm and print_insn_thumb(16|32)

Emmanuel Fleury fleury@labri.fr
Mon Aug 18 12:56:00 GMT 2014


Hello,

On 08/18/2014 11:38 AM, Dr. David Alan Gilbert wrote:
> 
> I used the following to do it:
> 
> https://github.com/penguin42/pocketdisassembler/blob/master/jni/binutilsglue.c#L46
> 
> there's also an option you can pass to force thumb mode. I think it's 'force-thumb'

Thanks for your answer.

Indeed, the 'force-thumb' is far enough to switch between the two modes.

And, the code you pointed on GitHub gave me the right direction for
coding what I want (I think that my original problem was indeed coming
from my code and not the binutils code).

Thanks again !

Regards
-- 
Emmanuel Fleury

What if everything is an illusion and nothing exists?
In that case, I definitely overpaid for my carpet.
  -- Woody Allen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://sourceware.org/pipermail/binutils/attachments/20140818/e73e4fe3/attachment.sig>


More information about the Binutils mailing list