[Bug 25057] New: On x86_64-FreeBSD Platform, LLDB hangs while debugging an inferior with 'int3' assembly instruction.

Bug ID 25057
Summary On x86_64-FreeBSD Platform, LLDB hangs while debugging an inferior with ‘int3’ assembly instruction.
Product lldb
Version unspecified
Hardware PC
OS FreeBSD
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter abhiinnitald@gmail.com
CC llvm-bugs@lists.llvm.org
Classification Unclassified

Created attachment 15005 [details]
Source file (compiled to produce the failure): The compiled inferior has
assembly instruction "int3". On debugging with LLDB, it should throw back
SIGTRAP signal on LLDB command line terminal.

Environment: FreeBSD 10.2-RELEASE on x86_64, Compiler: clang-3.7.0
LLDB : Built from source (Checked out from public repo; revision 249256)

Commands to compile inferior:
  clang++ -g -O0 -std=c++11 -fno-builtin -m64 source.cpp -o a.out

Commands executed to expose the bug:

$ lldb a.out
(lldb) run

lldb hangs and never returns control to the user.