Bug 15131 - arm sim does not handl v6 thumb insn: ea4f
Summary: arm sim does not handl v6 thumb insn: ea4f
Status: NEW
Alias: None
Product: gdb
Classification: Unclassified
Component: sim (show other bugs)
Version: HEAD
: P2 normal
Target Milestone: ---
Assignee: Nick Clifton
Depends on:
Reported: 2013-02-10 19:55 UTC by vaclavpe
Modified: 2015-03-29 22:08 UTC (History)
2 users (show)

See Also:
Target: arm-*
Last reconfirmed:


Note You need to log in before you can comment on or make changes to this bug.
Description vaclavpe 2013-02-10 19:55:03 UTC
Hello, I use following gdb version from Yagatro tools:
>arm-none-eabi-gdb --version
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-mingw32 --target=arm-none-eabi".

I step through these instructions:
20000002:	f640 0368 	movw	r3, #2152	; 0x868
20000006:	f2c2 0300 	movt	r3, #8192	; 0x2000
2000000a:	685d      	ldr	r5, [r3, #4]
2000000c:	f1a5 054e 	sub.w	r5, r5, #78	; 0x4e
20000010:	ea4f 1525 	mov.w	r5, r5, asr #4

For the last instruction, I am getting:
Unhandled v6 thumb insn: ea4f
0x00000004 in ?? ()

Is this instruction handled in newer GDBs or not yet ?
Comment 1 Jan Kratochvil 2013-02-10 20:08:31 UTC
It does not seem so in sim/arm/thumbemu.c .
At least I hope we both talk about the ARM simulator.
Comment 2 vaclavpe 2013-02-10 21:26:02 UTC
Hello, yes, I used "target sim" in GDB. I am sorry for confusion.