0x00008260 <+64>: ldr r3, [pc, #240] 0x00008264 <+68>: cmp r1, #0 => 0x00008268 <+72>: beq 0x8270 0x0000826c <+76>: mov r3, r1 0x00008270 <+80>: mov sp, r3
(gdb) p/x $r1 $2 = 0xfffef690
But r1 is not zero when using Gdb remote-debug, so it will enter 0x0000826c <+76>: mov r3, r1
QEMU 5.0.0. GNU gdb (GDB; SUSE Linux Enterprise 12) 8.0.1
0x00008260 <+64>: ldr r3, [pc, #240]
0x00008264 <+68>: cmp r1, #0
=> 0x00008268 <+72>: beq 0x8270
0x0000826c <+76>: mov r3, r1
0x00008270 <+80>: mov sp, r3
(gdb) p/x $r1
$2 = 0xfffef690
But r1 is not zero when using Gdb remote-debug, so it will enter
0x0000826c <+76>: mov r3, r1
QEMU 5.0.0.
GNU gdb (GDB; SUSE Linux Enterprise 12) 8.0.1