summaryrefslogtreecommitdiffstats
path: root/lldb/source/Breakpoint/WatchpointLocationList.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SBValue::Watch() and SBValue::WatchPointee() are now the official API for ↵Johnny Chen2011-10-141-242/+0
| | | | | | | | | | | | | | | | | | creating a watchpoint for either the variable encapsulated by SBValue (Watch) or the pointee encapsulated by SBValue (WatchPointee). Removed SBFrame::WatchValue() and SBFrame::WatchLocation() API as a result of that. Modified the watchpoint related test suite to reflect the change. Plus replacing WatchpointLocation with Watchpoint throughout the code base. There are still cleanups to be dome. This patch passes the whole test suite. Check it in so that we aggressively catch regressions. llvm-svn: 141925
* Add SB API class SBWatchpointLocation and some extra methods to the SBTarget ↵Johnny Chen2011-09-261-1/+0
| | | | | | | | | | | class to iterate on the available watchpoint locations and to perform watchpoint manipulations. I still need to export the SBWatchpointLocation class as well as the added watchpoint manipulation methods to the Python interface. And write test cases for them. llvm-svn: 140575
* Add initial implementation of watchpoint commands for list, enable, disable, ↵Johnny Chen2011-09-221-35/+16
| | | | | | | | and delete. Test cases to be added later. llvm-svn: 140322
* Add some watchpoint maintenance methods to the Target class.Johnny Chen2011-09-201-2/+16
| | | | | | Plus some minor changes to the WatchpointLocationList and WatchpointLocation classes. llvm-svn: 140211
* Update declarations for all functions/methods that accept printf-styleJason Molenda2011-09-201-1/+1
| | | | | | | | stdarg formats to use __attribute__ format so the compiler can flag incorrect uses. Fix all incorrect uses. Most of these are innocuous, a few were resulting in crashes. llvm-svn: 140185
* Add GetByIndex() methods to the WatchpointLocationList class to facilitate ↵Johnny Chen2011-09-191-1/+38
| | | | | | | | iteration through the watchpoint locations by index. llvm-svn: 140071
* Add a declaraion info member field to the WatchpointLocation class.Johnny Chen2011-09-161-1/+7
| | | | | | | 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. llvm-svn: 139946
* Add cleanup of watchpoint locations during Target::DeleteCurrentProcess().Johnny Chen2011-09-151-0/+10
| | | | llvm-svn: 139840
* Watchpoint WIP:Johnny Chen2011-09-131-0/+5
| | | | | | | | | | | | | | | | | o WatchpointLocationList: Add a GetListMutex() method. o WatchpointLocation: Fix Dump() method where there was an extra % in the format string. o Target.cpp: Add implementation to CreateWatchpointLocation() to create and enable a watchpoint. o DNBArchImplX86_64.cpp: Fix bugs in SetWatchpoint()/ClearWatchpoint() where '==' was used, instead of '=', to assign/reset the data break address to a debug register. Also fix bugs where a by reference debug_state should have been used, not by value. llvm-svn: 139666
* Add a data type WatchpointLocationList to the repository. A Target contains ↵Johnny Chen2011-09-061-0/+190
an instance of watchpoint location list. Also add a typefed for WatchpointLocationSP to lldb-forward-rtti.h. llvm-svn: 139166
OpenPOWER on IntegriCloud