summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Improve watchpoint error reporting specially for arm/aarch64 targetsOmair Javaid2016-06-271-1/+1
| | | | | | Differential revision: http://reviews.llvm.org/D21164 llvm-svn: 273869
* Allow unaligned byte/word selection watchpoints for arm- linux/android targets.Omair Javaid2016-06-271-2/+39
| | | | | | Differential revision: http://reviews.llvm.org/D21516 llvm-svn: 273863
* Make the aarch64 lldb-server capable of debugging arm32 applicationsTamas Berghammer2016-01-111-7/+81
| | | | | | Differential revision: http://reviews.llvm.org/D15533 llvm-svn: 257322
* Fix for undefined behavior while updating PC value on arm-linuxOmair Javaid2016-01-051-1/+18
| | | | | | Differential revision: http://reviews.llvm.org/D15877 llvm-svn: 256847
* Add 64/128 bit arm neon register definitions on linuxTamas Berghammer2015-11-261-0/+51
| | | | | | Differential revision: http://reviews.llvm.org/D14985 llvm-svn: 254152
* Fix for Arm watchpoint cache corruption in case of ptrace failureOmair Javaid2015-10-271-0/+48
| | | | | | Differential revision: http://reviews.llvm.org/D14051 llvm-svn: 251386
* Corrects return values and typos in Arm watchpoint codeOmair Javaid2015-10-251-4/+4
| | | | | | | This is just a trivial patch that corrects a couple of return value account to function's return type. Also corrects typo in hardware breakpoint handler. llvm-svn: 251269
* Fix arm lldb-server on aarch64 deviceTamas Berghammer2015-10-231-0/+45
| | | | | | | | | | * Use PTRACE_GETVFPREGS/PTRACE_SETVFPREGS to access the floating point registers instead of the old PTRACE_GETFPREGS/PTRACE_SETFPREGS. The new call is available since armv5. * Work around a kernel issue in PTRACE_POKEUSER with reading out the full register set, modifying the neccessary value and then writing it back. llvm-svn: 251111
* Fix the handling of FPR offsets in Linux arm/aarch64 register contextsTamas Berghammer2015-09-071-4/+13
| | | | | | Differential revision: http://reviews.llvm.org/D12636 llvm-svn: 246959
* Adds support for hardware watchpoints on Arm targets.Omair Javaid2015-08-251-0/+484
| | | | | | | | | | | | | | http://reviews.llvm.org/D9703 This updated patches correct problems in arm hardware watchpoint support patch posted earlier. This patch has been tested on samsung chromebook (ARM - Linux) and PandaBoard using basic watchpoint test application. Also it was tested on Nexus 7 Android device. On chromebook linux we are able to set and clear all types of watchpoints but on android we end up getting a watchpoint packet error because we are not able to call hardware watchpoint ptrace functions successfully. llvm-svn: 245961
* Move register reading form NativeProcessLinux to NativeRegisterContextLinux*Tamas Berghammer2015-05-261-197/+31
| | | | | | | | | | | | | | | | | This change reorganize the register read/write code inside lldb-server on Linux with moving the architecture independent code into a new class called NativeRegisterContextLinux and all of the architecture dependent code into the appropriate NativeRegisterContextLinux_* class. As part of it the compilation of the architecture specific register contexts are only compiled on the specific architecture because they can't be used in other cases. The purpose of this change is to remove a lot of duplicated code from the different register contexts and to remove the architecture dependent codes from the global NativeProcessLinux class. Differential revision: http://reviews.llvm.org/D9935 llvm-svn: 238196
* Return the correct user register count for arm from NativeRegisterContextTamas Berghammer2015-05-121-0/+9
| | | | | | | | The defult implementation falls back to GetRegisterCount what includes the debug registers also what shouldn't be displayed to the user. llvm-svn: 237111
* Fix printf warnings about a size mismatch on MacOSX.Greg Clayton2015-04-141-3/+3
| | | | llvm-svn: 234941
* Adds Register Context Linux/POSIX for ARM Architecture Omair Javaid2015-04-141-0/+520
This patch is major step towards supporting lldb on ARM. This adds all the required bits to support register manipulation on Linux Arm. Also adds utility enumerations, definitions and register context classes for arm. llvm-svn: 234870
OpenPOWER on IntegriCloud