This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]