Bug 15131 - sim: arm: does not handle v6 thumb insn: ea4f
Summary: sim: arm: does not handle 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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-10 19:55 UTC by vaclavpe
Modified: 2022-11-03 10:27 UTC (History)
3 users (show)

See Also:
Host:
Target: arm-*
Build:
Last reconfirmed:


Attachments

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:
(gdb)
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.
Comment 3 Luis Machado 2022-11-02 11:34:08 UTC
Hi Nick, are you still planning to address this?
Comment 4 Nick Clifton 2022-11-03 10:27:23 UTC
(In reply to Luis Machado from comment #3)
> Hi Nick, are you still planning to address this?

No sorry - I am really not able to work on ARM SIM issues any more.