Skip to content
  1. Oct 09, 2010
  2. Oct 07, 2010
    • Greg Clayton's avatar
      Cleaned up the SWIG stuff so all includes happen as they should, no pulling · 05faeb71
      Greg Clayton authored
      tricks to get types to resolve. I did this by correctly including the correct
      files: stdint.h and all lldb-*.h files first before including the API files.
      This allowed me to remove all of the hacks that were in the lldb.swig file
      and it also allows all of the #defines in lldb-defines.h and enumerations
      in lldb-enumerations.h to appear in the lldb.py module. This will make the
      python script code a lot more readable.
      
      Cleaned up the "process launch" command to not execute a "process continue"
      command, it now just does what it should have with the internal API calls
      instead of executing another command line command.
      
      Made the lldb_private::Process set the state to launching and attaching if
      WillLaunch/WillAttach return no error respectively.
      
      llvm-svn: 115902
      05faeb71
  3. Oct 06, 2010
  4. Sep 21, 2010
    • Johnny Chen's avatar
      Added the capability to source the configFile specified via the "-c" option in · 209cdbef
      Johnny Chen authored
      order to customize the running of the test suite.  For the time being, the
      supported customizations are:
      
      o redirecting stdout and/or stderr
      o specifying a list of compilers to build the test programs
      o specifying a list of architectures to build the test programs for
      
      Also checked into the examples/test directory some example files which
      demonstrate the usage for the above customizations.
      
      $ ./dotest.py -v -c ~/.lldbtest-config persistent_variables
      $ cat ~/.lldbtest-config
      sys.stderr = open("/tmp/lldbtest-stderr", "w")
      sys.stdout = open("/tmp/lldbtest-stdout", "w")
      compilers = ["gcc", "llvm-gcc"]
      archs = ["x86_64", "i386"]
      $ cat /tmp/lldbtest-stderr
      ----------------------------------------------------------------------
      Collected 1 test
      
      
      Configuration: arch=x86_64 compiler=gcc
      test_persistent_variables (TestPersistentVariables.PersistentVariablesTestCase)
      Test that lldb persistent variables works correctly. ... ok
      
      ----------------------------------------------------------------------
      Ran 1 test in 1.397s
      
      OK
      
      Configuration: arch=x86_64 compiler=llvm-gcc
      test_persistent_variables (TestPersistentVariables.PersistentVariablesTestCase)
      Test that lldb persistent variables works correctly. ... ok
      
      ----------------------------------------------------------------------
      Ran 1 test in 1.282s
      
      OK
      
      Configuration: arch=i386 compiler=gcc
      test_persistent_variables (TestPersistentVariables.PersistentVariablesTestCase)
      Test that lldb persistent variables works correctly. ... ok
      
      ----------------------------------------------------------------------
      Ran 1 test in 1.297s
      
      OK
      
      Configuration: arch=i386 compiler=llvm-gcc
      test_persistent_variables (TestPersistentVariables.PersistentVariablesTestCase)
      Test that lldb persistent variables works correctly. ... ok
      
      ----------------------------------------------------------------------
      Ran 1 test in 1.269s
      
      OK
      $ cat /tmp/lldbtest-stdout
      $ 
      
      llvm-svn: 114380
      209cdbef
  5. Sep 10, 2010
Loading