[lldb-dev] [Bug 37194] New: TestGoUserExpression test hanging on FreeBSD

2018-04-21 Thread via lldb-dev
https://bugs.llvm.org/show_bug.cgi?id=37194

Bug ID: 37194
   Summary: TestGoUserExpression test hanging on FreeBSD
   Product: lldb
   Version: unspecified
  Hardware: PC
OS: Windows NT
Status: NEW
  Severity: enhancement
  Priority: P
 Component: All Bugs
  Assignee: lldb-dev@lists.llvm.org
  Reporter: ema...@freebsd.org
CC: llvm-b...@lists.llvm.org

Test suite is hanging on FreeBSD in TestGoUserExpression with python spinning
at 100% CPU.

Cursory investigation shows it's looping over many ptrace(PT_IO, ...) and
occasional ptrace(PT_GETREGS, ...) calls.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] Does LLDB work on windows?

2018-04-21 Thread Levo DeLellis via lldb-dev
 I had LLDB working without any effort on linux however I can't seem to get
it working on windows. On this page titled LLDB Status
https://lldb.llvm.org/status.html it says LLDB is working on Windows
(i386). I'm unsure if this means win32 apps, release or OS. I executed the
below using llvm 64bit binary then tried again after uninstalling llvm and
using the win32 binary

LLDB can't seem to find my source file location. Doing a quick search and
looking in https://lldb.llvm.org/lldb-gdb.html I tried using `settings set
target.source-map MYPATH` but it didn't seem to help. `source list` gives
me nothing. I'm using llvm 6. Specifically this build
http://releases.llvm.org/6.0.0/LLVM-6.0.0-win32.exe

$ cat a.c
#include 
int main() {
puts("Hello");
return 0;
}
$ clang -g -m32 a.c
$ ./a.exe
Hello
$ lldb a.exe
(lldb) target create "a.exe"
Current executable set to 'a.exe' (i686).
b main
(lldb) b main
Breakpoint 1: no locations (pending).
WARNING:  Unable to resolve breakpoint to any actual locations.
r
(lldb) r
Process 2908 launching
(lldb) Process 2908 launched: 'C:\Users\LD\Desktop\test\a.exe' (i686)
Hello
Process 2908 exited with status = 0 (0x)
(lldb) exit
(lldb) exit
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev