blob: a55081320a1e9d709b27ac89168599a97e92cd86 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
qemu-system-arm segfaults on "smulbb r7, r5, r5"
I'll attach a binary that runs fine with qemu-system-arm V2.2.0 but V2.7.0 segfaults.
By stepping through with gdb I found that the segfaults happens when executing the line "smulbb r7, r5, r5" (where r7=0x1, r5=0x12).
I'll also attach a debugger screenshot.
call and output:
/opt/qemu-system-arm -M integratorcp -cpu cortex-m3 -semihosting -nographic -monitor null -serial null -no-reboot -kernel 0MFW_SafetyFunctions_ParameteruP1_CUNIT.elf
------------ CUnit_MFW_SafetyFunctions_Parameter ------------
CUnit - A Unit testing framework for C - Version 2.1-0
http://cunit.sourceforge.net/
Suite: Suite_MFW_SafetyFunctions_Parameter
Test: MFW_SafetyFunctions_Parameter_PositionLimiter ... Segmentation fault (core dumped)
|