This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB 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]

[Bug gdb/17384] android arm gdb "Cannot access memory at address" when I "stepi" over "blx"


https://sourceware.org/bugzilla/show_bug.cgi?id=17384

--- Comment #20 from Pedro Alves <palves at redhat dot com> ---
> (gdb) disassemble /r 0x4e0dcc20,+10
> Dump of assembler code from 0x4e0dcc20 to 0x4e0dcc2a:
>    0x4e0dcc20:  04 c0 9f e5 ldr r12, [pc, #4]   ; 0x4e0dcc2c
>    0x4e0dcc24:  0c c0 8f e0 add r12, pc, r12
>    0x4e0dcc28:  1c ff 2f e1 bx  r12
> End of assembler dump.

I wonder whether that's some sort of trampoline the compiler/linker is
generating
and gdb is not grokking.

See arm_stub_unwind_sniffer and arm_skip_bx_reg.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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