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/22645] gdb hangs on 32-bit ARM armv7l at SIGTRAP from "bkpt" instruction 0xe1200070


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

--- Comment #1 from John Reiser <jreiser at BitWagon dot com> ---
The same bad behavior also occurs when the bkpt is not the first instruction:
=====
        .globl _start
_start:
        nop
        bkpt
        nop
=====

In the past gdb has had trouble when the very first instruction after execve
generated a trap:
   https://bugzilla.redhat.com/show_bug.cgi?id=162775
   "gdb ignores SIGTRAP at entry address"
   2008-03-10  [almost ten years ago]

but the revised test case above, where the SIGTRAP is at the second
instruction, still hangs under gdb.

-- 
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]