3bf526ac0f51dda6f63be3421cd7de68720dd656 |
|
25-Jul-2013 |
Ed Maste <emaste@freebsd.org> |
tests: Mark expected FreeBSD failures due to pr16706 Watchpoints are not yet working on FreeBSD git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187134 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
|
3d4d51cd1bdef32ab61ba9e1de75d5a4f4c1dbed |
|
07-May-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Add watchpoint support for Linux on 64-bit host. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181341 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
|
edc4ddbef15572e68a500bfb11ecfeaf60b90894 |
|
26-Feb-2013 |
Jim Ingham <jingham@apple.com> |
Mark a few more tests as "basic_process". git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176132 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
|
40c9d75f2f6402227fed4e0a25daf18b683cb5e7 |
|
23-Nov-2012 |
Daniel Malea <daniel.malea@intel.com> |
Update test status on Linux - add decorators @expectedFailLinux and @skipOnLinux - skip/mark xfail cases due to open bugzillas # 14323, 14416, 14423, 14424, 14425, 14426 Patch by Ashok Thirumurthi! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@168529 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
|
431d839a33e9a274e705f7a268a1c9de2ffc2da2 |
|
22-Sep-2012 |
Jim Ingham <jingham@apple.com> |
Fix all the test case breakages caused by folks writing tests all over the place that depended explicitly on the output of "break set". Please don't do this sort of thing!!!!! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164433 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
|
a3ed7d834b0e0c6924ac95629e740682bbcd15ba |
|
06-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add a new option to the test driver, -N dsym or -N dwarf, in order to exclude tests decorated with either @dsym_test or @dwarf_test to be executed during the testsuite run. There are still lots of Test*.py files which have not been decorated with the new decorator. An example: # From TestMyFirstWatchpoint.py -> class HelloWatchpointTestCase(TestBase): mydir = os.path.join("functionalities", "watchpoint", "hello_watchpoint") @dsym_test def test_hello_watchpoint_with_dsym_using_watchpoint_set(self): """Test a simple sequence of watchpoint creation and watchpoint hit.""" self.buildDsym(dictionary=self.d) self.setTearDownCleanup(dictionary=self.d) self.hello_watchpoint() @dwarf_test def test_hello_watchpoint_with_dwarf_using_watchpoint_set(self): """Test a simple sequence of watchpoint creation and watchpoint hit.""" self.buildDwarf(dictionary=self.d) self.setTearDownCleanup(dictionary=self.d) self.hello_watchpoint() # Invocation -> [17:50:14] johnny:/Volumes/data/lldb/svn/ToT/test $ ./dotest.py -N dsym -v -p TestMyFirstWatchpoint.py LLDB build dir: /Volumes/data/lldb/svn/ToT/build/Debug LLDB-137 Path: /Volumes/data/lldb/svn/ToT URL: https://johnny@llvm.org/svn/llvm-project/lldb/trunk Repository Root: https://johnny@llvm.org/svn/llvm-project Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8 Revision: 154133 Node Kind: directory Schedule: normal Last Changed Author: gclayton Last Changed Rev: 154109 Last Changed Date: 2012-04-05 10:43:02 -0700 (Thu, 05 Apr 2012) Session logs for test failures/errors/unexpected successes will go into directory '2012-04-05-17_50_49' Command invoked: python ./dotest.py -N dsym -v -p TestMyFirstWatchpoint.py compilers=['clang'] Configuration: arch=x86_64 compiler=clang ---------------------------------------------------------------------- Collected 2 tests 1: test_hello_watchpoint_with_dsym_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) Test a simple sequence of watchpoint creation and watchpoint hit. ... skipped 'dsym tests' 2: test_hello_watchpoint_with_dwarf_using_watchpoint_set (TestMyFirstWatchpoint.HelloWatchpointTestCase) Test a simple sequence of watchpoint creation and watchpoint hit. ... ok ---------------------------------------------------------------------- Ran 2 tests in 1.138s OK (skipped=1) Session logs for test failures/errors/unexpected successes can be found in directory '2012-04-05-17_50_49' [17:50:50] johnny:/Volumes/data/lldb/svn/ToT/test $ git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154154 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
|
2b05e2937e4ff82951a0e3b288acd15d2e278ff3 |
|
14-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Remove the functionality of using 'frame variable -w' to set a watchpoint now that 'watchpoint set variable/expression' is working. Also update the relevant test cases. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150514 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
|
42404d284b22750851b26ae9a4ab42101f673089 |
|
08-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
After discussions with Jim and Greg, modify the 'watchpoint set' command to become a mutiword command with subcommand 'expression' and 'variable'. The first subcommand is for supplying an expression to be evaluated into an address to watch for, while the second is for watching a variable. 'watchpoint set expression' is a raw command, which means that you need to use the "--" option terminator to end the '-w' or '-x' option processing and to start typing your expression. Also update several test cases to comply and add a couple of test cases into TestCompletion.py, in particular, test that 'watchpoint set ex' completes to 'watchpoint set expression ' and that 'watchpoint set var' completes to 'watchpoint set variable '. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150109 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
|
6183fccd61b67e814d9e7e85b25516a28edfe864 |
|
08-Feb-2012 |
Johnny Chen <johnny.chen@apple.com> |
Refine the 'watchpoint set' command to now require either the '-v' option (for watching of a variable) or the '-e' option (for watching of an address) to be present. Update some existing test cases with the required option and add some more test cases. Since the '-v' option takes <variable-name> and the '-e' option takes <expr> as the command arg, the existing infrastructure for generating the option usage can produce confusing help message, like: watchpoint set -e [-w <watch-type>] [-x <byte-size>] <variable-name | expr> watchpoint set -v [-w <watch-type>] [-x <byte-size>] <variable-name | expr> The solution adopted is to provide an extra member field to the struct CommandArgumentData called (uint32_t)arg_opt_set_association, whose purpose is to link this particular argument data with some option set(s). Also modify the signature of CommandObject::GetFormattedCommandArguments() to: GetFormattedCommandArguments (Stream &str, uint32_t opt_set_mask = LLDB_OPT_SET_ALL) it now takes an additional opt_set_mask which can be used to generate a filtered formatted command args for help message. Options::GenerateOptionUsage() impl is modified to call the GetFormattedCommandArguments() appropriately. So that the help message now looks like: watchpoint set -e [-w <watch-type>] [-x <byte-size>] <expr> watchpoint set -v [-w <watch-type>] [-x <byte-size>] <variable-name> rdar://problem/10703256 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@150032 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
|
55a2d5a49d82fcfc0fe72825293f6c04d1970e21 |
|
30-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add "watch set" command as a more general interface in conjunction with "frame var -w". Also add test cases for watching a variable as well as a location expressed as an expression. o TestMyFirstWatchpoint.py: Modified to test "watchpoint set -w write global". o TestWatchLocationWithWatchSet.py: Added to test "watchpoint set -w write -x 1 g_char_ptr + 7" where a contrived example program with several threads is supposed to only access the array index within the range [0..6], but there's some misbehaving thread writing past the range. rdar://problem/10701761 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@149280 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
|
9351b4ff5bd824856dd9894d2005b29a020dfdd8 |
|
27-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Undo r142549 and r142543 which temporarily relax the expected substrings for watchpoint creation output due to wrong debug info from clang. It has been fixed. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@143118 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
|
076f0e086abebc232ed2e5a0846e136265196659 |
|
19-Oct-2011 |
Johnny Chen <johnny.chen@apple.com> |
Temporarily relax the expected substrings for watchpoint creation output due a bug in the decl file info of a global variable emitted by clang. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@142543 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
|
01acfa76010b8db2e77016c144963c4dd70f1392 |
|
22-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add initial implementation of watchpoint commands for list, enable, disable, and delete. Test cases to be added later. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140322 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
|
10b12b3aa8542721fa9485c1d520433de0e0e720 |
|
16-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a declaraion info member field to the WatchpointLocation class. Modify CommandObjectFrame.cpp to populate this field when creating a watchpoint location. Update the test case to verify that the declaration info matches the file and line number. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139946 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
|
58c66e2c4273c101a82ce02e17cc10d338b825bb |
|
15-Sep-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a simple watchpoint test to exercise watchpoint creation followed by watchpoint hit events. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139847 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py
|