- Aug 30, 2013
-
-
Ed Maste authored
http://www.llvm.org/pr16697 llvm-svn: 189668
-
Ed Maste authored
A FreeBSD implementation of Host::FindProcesses was added in r189295. Note that some tests still fail as the implementation returns a truncated name for processes with long names. http://www.llvm.org/pr16699 llvm-svn: 189667
-
Ed Maste authored
On Linux there is no separate notion of a process (vs. a thread) for ptrace(); each thread needs to be individually detached. On FreeBSD we have a separate process context, and we detach just it. Review: http://llvm-reviews.chandlerc.com/D1418 llvm-svn: 189666
-
- Aug 29, 2013
-
-
Ed Maste authored
Testing shows it works for at least trivial cases, while the USE_STANDARD_JIT case does not even work for those. Thus, don't define USE_STANDARD_JIT on FreeBSD. I've left the #if block choosing the appropriate #include in case it's useful for testing. llvm-svn: 189611
-
Ed Maste authored
llvm-svn: 189608
-
Ed Maste authored
This fixes a crash on FreeBSD llvm-svn: 189607
-
Ed Maste authored
A FreeBSD implementation was added in r189295. llvm-svn: 189598
-
Daniel Malea authored
- s/LogSP/Log */ in ProcessMonitorFreeBSD.cpp llvm-svn: 189589
-
Hafiz Abid Qadeer authored
Some stubs only support g/G packets for registers. This change makes sure that we check if remote stub supports 'p' packet before using it. llvm-svn: 189576
-
- Aug 28, 2013
-
-
Daniel Malea authored
- should help with FreeBSD buildbot llvm-svn: 189487
-
Hafiz Abid Qadeer authored
llvm-svn: 189484
-
Virgile Bello authored
- factorize unistd.h and stdbool.h in lldb-types.h. - Add <functional> and <string> where required. llvm-svn: 189477
-
Hafiz Abid Qadeer authored
The change was taken from a patch by Virgile Bello. llvm-svn: 189470
-
- Aug 27, 2013
-
-
Daniel Malea authored
- add default timeout of 10s (unil qPlatform_RunCommand supports timeout packets and CommandObjectPlatform is updated to read a timeout flag/setting) - add a few tests for platform shell llvm-svn: 189405
-
Daniel Malea authored
- move LaunchProcessPosixSpawn() and Host::LaunchProcess() from freebsd host plugin to common (linux/freebsd section) - modify MonitorChildProcessThreadFunction to use pid_t from sys/types.h to avoid Linux/FreeBSD/Mac warnings when calling waitpid() llvm-svn: 189404
-
Greg Clayton authored
Moved the static s_regex into a function body to allow it to be lazily initialized when/if it is ever used. We try to avoid global constructors when building shared libraries on Darwin. llvm-svn: 189397
-
Michael Sartain authored
llvm-svn: 189393
-
Daniel Malea authored
- removed needless defines that snuck in as part of the lldb-platform-work merge llvm-svn: 189392
-
Virgile Bello authored
llvm-svn: 189367
-
Virgile Bello authored
llvm-svn: 189366
-
Virgile Bello authored
llvm-svn: 189365
-
Virgile Bello authored
- mode_t is defined in <sys/types.h> - reorganized S_* user rights into win32.h - Use Host::Kill instead of kill - Currently #ifdef functions using pread/pwrite. llvm-svn: 189364
-
Daniel Malea authored
Thanks for catching this Ed! llvm-svn: 189361
-
Daniel Malea authored
llvm-svn: 189360
-
Ashok Thirumurthi authored
llvm-svn: 189355
-
Charles Davis authored
More fallout from my mass-Mach-O-renaming. llvm-svn: 189323
-
Charles Davis authored
llvm-svn: 189317
-
Charles Davis authored
Since I renamed most of the LLVM Mach-O enums in r189314, I had to go fix LLDB to use the new names. While I was here, I decided that a COFF plugin really shouldn't be using Mach-O enums. llvm-svn: 189316
-
Jason Molenda authored
should not split up that pathname itself or require quoting to avoid the same. This fixing a bug where target create -c "core file" or target create -s "symbol file" will fail with an error message that the paths haven't been properly quoted. Working around it required target create -c "core\ file" to survive both attemps at tokenizing. <rdar://problem/14230629> llvm-svn: 189313
-
Jason Molenda authored
out of a binary, if the Mach-O binary is MH_PRELOAD ("standalone"), don't let the OS be set to "ios" or "macosx" - there will be no dynamic loader used when debugging this process. <rdar://problem/9956443> llvm-svn: 189305
-
Daniel Malea authored
Summary: This merge brings in the improved 'platform' command that knows how to interface with remote machines; that is, query OS/kernel information, push and pull files, run shell commands, etc... and implementation for the new communication packets that back that interface, at least on Darwin based operating systems via the POSIXPlatform class. Linux support is coming soon. Verified the test suite runs cleanly on Linux (x86_64), build OK on Mac OS X Mountain Lion. Additional improvements (not in the source SVN branch 'lldb-platform-work'): - cmake build scripts for lldb-platform - cleanup test suite - documentation stub for qPlatform_RunCommand - use log class instead of printf() directly - reverted work-in-progress-looking changes from test/types/TestAbstract.py that work towards running the test suite remotely. - add new logging category 'platform' Reviewers: Matt Kopec, Greg Clayton Review: http://llvm-reviews.chandlerc.com/D1493 llvm-svn: 189295
-
- Aug 26, 2013
-
-
Michael Sartain authored
llvm-svn: 189231
-
- Aug 25, 2013
-
-
Virgile Bello authored
llvm-svn: 189192
-
Virgile Bello authored
llvm-svn: 189191
-
- Aug 24, 2013
-
-
Jason Molenda authored
llvm-svn: 189163
-
Jason Molenda authored
SBProcess::ReadMemory - it will fail for anything with the high bit set. llvm-svn: 189154
-
- Aug 23, 2013
-
-
Virgile Bello authored
llvm-svn: 189107
-
Jason Molenda authored
llvm-svn: 189082
-
Sean Callanan authored
live beyont parsing. This is important because all the ClangASTImporter::Minions for a parser's ASTContext are cleared when ClangExpressionDeclMap is deleted. This resolves many hard-to-reproduce crashes, especially ones involving breakpoint conditions. <rdar://problem/14775391> llvm-svn: 189080
-
Jason Molenda authored
llvm-svn: 189077
-