summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Windows/TargetThreadWindows.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix step over breakpoint on Windows (which was detected by ↵Adrian McCarthy2015-07-061-5/+1
| | | | | | TestCreateAfterAttach.py). llvm-svn: 241475
* Fix TestJoinAfterBreak test on WindowsAdrian McCarthy2015-06-011-2/+9
| | | | llvm-svn: 238787
* [Windows] Add a RegisterContextWindows_x64.Zachary Turner2015-04-271-2/+4
| | | | | | | With this patch, LLDB can debug x64 executables on Windows with the same level of functionality as for x86 executables. llvm-svn: 235935
* Fix warnings generated by clang-cl.Zachary Turner2015-04-021-1/+1
| | | | | | | | | | | | | | There were a couple of real bugs here regarding error checking and signed/unsigned comparisons, but mostly these were just noise. There was one class of bugs fixed here which is particularly annoying, dealing with MSVC's non-standard behavior regarding the underlying type of enums. See the comment in lldb-enumerations.h for details. In short, from now on please use FLAGS_ENUM and FLAGS_ANONYMOUS_ENUM when defining enums which contain values larger than can fit into a signed integer. llvm-svn: 233943
* Revert "Fix warnings found with clang-cl."Zachary Turner2015-02-251-1/+1
| | | | | | | SWIG doesn't like enum : unsigned. Revert this until I can fix this in a way that swig likes. llvm-svn: 230531
* Fix warnings found with clang-cl.Zachary Turner2015-02-251-1/+1
| | | | | | | | | | | Earlier this week I was able to get clang-cl on Windows to be able to self host. This opened the door to being able to get a whole new slew of warnings for the Windows build. This patch fixes all of the warnings, many of which were real bugs. llvm-svn: 230522
* Some fixes for thread stepping on Windows.Zachary Turner2015-01-151-22/+19
| | | | | | | | | | | | | This hooks up the changes necessary to set the trap flag on the CPU and properly manage the process and thread's resume state and private state so that the ThreadPlan does its thing. Stepping still doesn't work as of this change, because there are some issues with stack frames where it doesn't update the thread's frame list correctly when it breaks inside of a function, but I will try to fix that separately. llvm-svn: 226221
* Only compile RegisterContextWindows_x86.cpp for x86 host architecture.Zachary Turner2014-12-181-2/+14
| | | | | | | | | | This fixes compilation failures in the 64-bit build of LLDB on Windows. Patch by Aidan Dodds Differential Revision: http://reviews.llvm.org/D6704 llvm-svn: 224528
* [ProcessWindows] Implement a RegisterContextWindows for x86.Zachary Turner2014-11-201-5/+43
| | | | | | | | | | | | | | | This implements the skeleton of a RegisterContext for Windows. In particular, this implements support only for x86 general purpose registers. After this patch, LLDB on Windows can perform basic debugging operations in a single-threaded inferior process (breakpoint, register inspection, frame select, unwinding, etc). Differential Revision: http://reviews.llvm.org/D6322 Reviewed by: Greg Clayton llvm-svn: 222474
* Change HostThread::GetNativeThread() to return a derived reference.Zachary Turner2014-11-171-1/+1
| | | | | | | | Previously using HostThread::GetNativeThread() required an ugly cast to most-derived type. This solves the issue by simply returning the derived type directly. llvm-svn: 222185
* [ProcessWindows] Create a TargetThreadWindows class.Zachary Turner2014-11-171-0/+95
This creates a TargetThreadWindows class and updates the thread list of the Process with the main thread. Additionally, we fill out a few more overrides of Process base class methods. We do not yet update the thread list as threads are created and/or destroyed, and we do not yet propagate stop reasons to threads as their states change. llvm-svn: 222148
OpenPOWER on IntegriCloud