- Sep 02, 2010
-
-
Johnny Chen authored
method where they belong. Also fixed a logic error in maintaining the command interface flag (runStarted) indicating whether the lldb "run"/"process launch" command has been issued. It was erroneously cleared. Modified the test cases to take advantage of the refactoring. llvm-svn: 112863
-
Johnny Chen authored
llvm-svn: 112824
-
Johnny Chen authored
llvm-svn: 112750
-
Johnny Chen authored
llvm-svn: 112749
-
- Sep 01, 2010
-
-
Johnny Chen authored
llvm-svn: 112732
-
Johnny Chen authored
llvm-svn: 112688
-
Johnny Chen authored
argument when issuing a "run" lldb command within the test case meant to exercise the Python APIs, but is using the command interface due to certain reason (such as target.LaunchProcess() does not reliably bring up the inferior). llvm-svn: 112682
-
Johnny Chen authored
llvm-svn: 112670
-
Johnny Chen authored
expectedFailure because in dwarf format, "variable list this" returns an error. llvm-svn: 112660
-
- Aug 31, 2010
-
-
Johnny Chen authored
llvm-svn: 112646
-
Johnny Chen authored
llvm-svn: 112607
-
Johnny Chen authored
to delegate the building of binaries to a sys.platform-sepcific plugin. Modified the dotest.py test driver to add the "plugins" directory to the PYTHONPATH as well. darwin.py is the Mac OS X plugin module. llvm-svn: 112606
-
Johnny Chen authored
process being debugged in the TestBase.tearDown() instead of letting it continue and finish. llvm-svn: 112556
-
Johnny Chen authored
of os command to lldbtest.TestBase.system() method. llvm-svn: 112547
-
Johnny Chen authored
them from test cases instead of issuing "make clean; make ..." os command. llvm-svn: 112542
-
- Aug 30, 2010
-
-
Johnny Chen authored
taken from Python 2.7's subprocess.check_output() convenience function. The purpose of this method is to run the os command with arguments and return its output as a byte string. Modified hello_world/TestHelloWorld.py to have two test cases: o test_with_dsym_and_run_command o test_with_dwarf_and_process_launch_api with the dsym case conditioned on sys.platform.startswith("darwin") being true. The two cases utilize the system() method to invoke "make clean; make MAKE_DYSM=YES/NO" to prepare for the appropriate debugging format before running the test logic. llvm-svn: 112530
-
- Aug 28, 2010
-
-
Johnny Chen authored
llvm-svn: 112328
-
Johnny Chen authored
breakpoint by FileSpec and line number and exercises some FileSpec APIs. Also, RUN_STOPPED is a bad assert name, RUN_SUCCEEDED is better. llvm-svn: 112327
-
Johnny Chen authored
llvm-svn: 112311
-
- Aug 27, 2010
-
-
Johnny Chen authored
llvm-svn: 112293
-
Johnny Chen authored
and process. Added comment within the file about issues of using LaunchProcess of SBTarget to launch a process (rdar://problem/8364687). llvm-svn: 112276
-
Johnny Chen authored
Added a utility method to TestBase class to debug print an SBValue object. llvm-svn: 112247
-
Johnny Chen authored
llvm-svn: 112236
-
Johnny Chen authored
llvm-svn: 112231
-
- Aug 26, 2010
-
-
Johnny Chen authored
llvm-svn: 112226
-
Johnny Chen authored
llvm-svn: 112223
-
Johnny Chen authored
with the only exception of launching the process from SBTarget which is under investigation. o build-swig-Python.sh should also checks the timestamp of ${swig_input_file} for update eligibility. Also, once an update is in order, there's no need to check the remaining header files for timestamps. o Coaches swig to treat StopReason as an int type, instead of a C++ class. llvm-svn: 112210
-
Johnny Chen authored
llvm-svn: 112103
-
Johnny Chen authored
o SBDebugger.GetCurrentTarget() o SBTarget.GetProcess() o SBProcess.GetAddressByteSize() in order to make sure that, indeed, 64-bit, followed by 32-bit processes have been launched. Added invoke() method to TestBase to factor in the tracing logic in one place. This method allows an object to call a method with no arg reflectively. llvm-svn: 112102
-
- Aug 25, 2010
-
-
Johnny Chen authored
there's no point matching further sub strings; the expect() already fails. Also cleaned up the assert message for VARIABLES_DISPLAYED_CORRECTLY. llvm-svn: 112074
-
Johnny Chen authored
mechanism seems to work fine on my MacBook Pro in some limited test cases. The default maxLaunchCount and timeWait variables used in the scheme can be overridden by the env variables LLDB_MAX_LAUNCH_COUNT and LLDB_TIME_WAIT. llvm-svn: 112071
-
Johnny Chen authored
llvm-svn: 112000
-
Johnny Chen authored
correctly after all. It was my own configuration error (I was building x86_64 only). llvm-svn: 111992
-
Johnny Chen authored
currently fails: rdar://problem/8349784. Forgot to check in lldbtest.py in the previous commit r111958. llvm-svn: 111975
-
- Aug 24, 2010
-
-
Johnny Chen authored
llvm-svn: 111961
-
Johnny Chen authored
llvm-svn: 111960
-
Johnny Chen authored
llvm-svn: 111958
-
Johnny Chen authored
llvm-svn: 111939
-
Johnny Chen authored
llvm-svn: 111938
-
rdar://problem/8348251Johnny Chen authored
"variable list bits" display bits variable correctly, but not "variable list". llvm-svn: 111937
-