- Dec 11, 2013
-
-
Greg Clayton authored
Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. This has led to many test suite failures because of copy and paste where new test cases were based off of other test cases and the "mydir" variable wasn't updated. Now you can call your superclasses "compute_mydir()" function with "__file__" as the sole argument and the relative path will be computed for you. llvm-svn: 196985
-
Greg Clayton authored
We must make sure that all ValueObject objects always contain a valid target. llvm-svn: 196983
-
- Dec 10, 2013
-
-
Greg Clayton authored
llvm-svn: 196956
-
Greg Clayton authored
<rdar://problem/15622900> llvm-svn: 196952
-
Greg Clayton authored
<rdar://problem/14183288> llvm-svn: 196949
-
Ed Maste authored
llvm-svn: 196941
-
Sylvestre Ledru authored
As consistency, invoke python with /usr/bin/env (like it is done in the rest of the file). Thanks to Xavier De Gaye for the patch llvm-svn: 196933
-
Ed Maste authored
Also add decorator for an issue that this uncovered: llvm.org/pr18200 llvm-svn: 196920
-
Ed Maste authored
llvm-svn: 196919
-
- Dec 09, 2013
-
-
Jean-Daniel Dupas authored
This 'const' is not required and prevent us to defer the launch to the Host layer. llvm-svn: 196837
-
Ed Maste authored
Patch from Xavier de Gaye llvm-svn: 196830
-
Ed Maste authored
Previously, an opcode set via SetOpcode32 (for example) was later extracted via GetData() as a byte sequence in host order rather than target order. Review: http://llvm-reviews.chandlerc.com/D1838 llvm-svn: 196808
-
Jean-Daniel Dupas authored
Summary: Now that Host provide a MakeDirectory function, we can use it instead of relying on command line tool to create a directory. CC: lldb-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2356 llvm-svn: 196801
-
Jean-Daniel Dupas authored
Thanks to Xavier de Gaye for the pointer. llvm-svn: 196794
-
Ed Maste authored
llvm.org/pr18190 llvm.org/pr18191 llvm-svn: 196792
-
Ed Maste authored
llvm-svn: 196790
-
Ed Maste authored
Modelled in part on GDBRemoteCommunicationClient. Review: http://llvm-reviews.chandlerc.com/D2267 llvm-svn: 196787
-
Ed Maste authored
llvm.org/pr17944 llvm.org/pr17946 llvm-svn: 196786
-
Ed Maste authored
llvm.org/pr16706 llvm-svn: 196781
-
Ed Maste authored
Use the same LaunchProcessPosixSpawn as on FreeBSD and Linux. llvm-svn: 196742
-
- Dec 07, 2013
-
-
Jim Ingham authored
it succeeded, since the plan that was using it can figure out what to do from there. It should only say it failed if it truely went off into the weeds. <rdar://problem/15597807> llvm-svn: 196631
-
Jean-Daniel Dupas authored
llvm-svn: 196625
-
Sylvestre Ledru authored
Failure to install python packages now fails the make install. This patch properly handles the optional DESTDIR variable. Patch by Todd Fiala llvm-svn: 196624
-
- Dec 06, 2013
-
-
Jim Ingham authored
Do a little more prevention against SBValues getting used after the world has been torn down around them. llvm-svn: 196616
-
Greg Clayton authored
<rdar://problem/11549320> llvm-svn: 196613
-
Greg Clayton authored
Fixed the GDBRemoteCommuncation to return a new GDBRemoteCommuncation::PacketResult enum for all packet sends/receives. <rdar://problem/15600045> Due to other recent changes, all connections to GDB servers that didn't support the "QStartNoAckMode" packet would cause us to fail to attach to the remote GDB server. The problem was that SendPacket* and WaitForResponse* packets would return a size_t indicating the number of bytes sent/received. The other issue was WaitForResponse* packets would strip the leading '$' and the trailing "#CC" (checksum) bytes, so the unimplemented response packet of "$#00" would get stripped and the WaitForResponse* packets would return 0. These new error codes give us flexibility to to more intelligent things in response to what is returned. llvm-svn: 196610
-
Greg Clayton authored
llvm-svn: 196586
-
Jean-Daniel Dupas authored
llvm-svn: 196577
-
Jean-Daniel Dupas authored
This fixes CMake build on Darwin. llvm-svn: 196575
-
Arnaud A. de Grandmaison authored
llvm-svn: 196566
-
Greg Clayton authored
For logical backtrace work, lldb needs to track Module unloads etc & symoblicate an address based on a point in time <rdar://problem/15314403> This patch adds a new lldb_private::SectionLoadHistory class that tracks what shared libraries were loaded given a process stop ID. This allows us to keep a history of the sections that were loaded for a time T. Many items in history objects will rely upon the process stop ID in the future. llvm-svn: 196557
-
- Dec 05, 2013
-
-
Greg Clayton authored
Modified local spawning in debugserver processes to use a new --reverse-connect option so that debugserver actually connects back to LLDB instead of LLDB connecting to debugserver. This gets rid of our hacky "get_random_port()" which would grab a random port and tell debugserver to open that port. Now LLDB creates, binds, listens and accepts a connection by binding to port zero and sending the correctly bound port down as the host:port to connect back to. Fixed the "ConnectionFileDescriptor" to be able to correctly listen for connections from a specified host, localhost, or any host. Prior to this fix "listen://" only accepted the following format: listen://<port> But now it can accept: listen://<port> // Listen for connection from localhost on port <port> listen://<host>:<port> // Listen for connection from <host> and <port> listen://*:<port> // Listen for connection from any host on port <port> llvm-svn: 196547
-
Greg Clayton authored
@skipIfRemote is used to decorate test cases that don't make sense to run remotely. @skipIfRemoteDueToDeadlock indicates these tests need to be looked at and currently deadlock the running of the test suite when run on remote systems. These issues should be fixed soon. llvm-svn: 196543
-
Jean-Daniel Dupas authored
CC: lldb-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2337 llvm-svn: 196525
-
Sylvestre Ledru authored
Revert: "Patch from Todd Fiala that install the lldb.py module in the prefix directory and also makes install fail if the prefix directory can't be accessed" Does not respect the prefix llvm-svn: 196499
-
Sylvestre Ledru authored
llvm-svn: 196483
-
Enrico Granata authored
This is not being used yet, and in practice, more refactoring would be required to make this fully practical In practice, the way this should work is that CalculateNumChildren(), GetChildAtIndex(), GetIndexOfChildWithName() and MightHaveChildren() should all default to failure values when m_valid == false. Update() should be the only function actually setting/clearing the flag upon inspecting the backend ValueObject, if it determines it to be in an incongruent state Given refactoring of the FrontEnd APIs, this work could be automatically performed without the individual providers having to replicate this logic The way this works now is that each front end picks one or more “key ivars” and keys off those to detect invalidity This is a baby step 0 to a better world llvm-svn: 196452
-
- Dec 04, 2013
-
-
Greg Clayton authored
Patch from Todd Fiala that install the lldb.py module in the prefix directory and also makes install fail if the prefix directory can't be accessed llvm-svn: 196413
-
Greg Clayton authored
Allow the hostname to be specified when asking a platform to launch another debugserver in case you want to change it. The GDB server remote platform how has the debugserver that are launched on iOS devices to use localhost due to the use of a USB mux. llvm-svn: 196405
-
Greg Clayton authored
Enable POSIX_SPAWN_CLOEXEC_DEFAULT (a darwin specific flag) when available when using posix_spawn to spawn processes to close all file handles. llvm-svn: 196404
-