diff options
author | Matt Kopec <Matt.Kopec@intel.com> | 2013-03-06 17:20:48 +0000 |
---|---|---|
committer | Matt Kopec <Matt.Kopec@intel.com> | 2013-03-06 17:20:48 +0000 |
commit | 7de484640e3ea29f97890a3690c00f2d57a76425 (patch) | |
tree | a3ca93520db7a7e4f709966eda3c5ba8b850c0b1 /lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.h | |
parent | 15225aee178791b33cffb1ec070e10934bfe4550 (diff) | |
download | bcm5719-llvm-7de484640e3ea29f97890a3690c00f2d57a76425.tar.gz bcm5719-llvm-7de484640e3ea29f97890a3690c00f2d57a76425.zip |
Improve/Cleanup ptrace wrapper and remove dependency on user.h
Patch by Ashok Thirumurthi.
llvm-svn: 176558
Diffstat (limited to 'lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.h')
-rw-r--r-- | lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.h b/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.h index 1485f2bb249..bc0fbdf2aae 100644 --- a/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.h +++ b/lldb/source/Plugins/Process/FreeBSD/ProcessMonitor.h @@ -124,19 +124,19 @@ public: /// FIXME: The FreeBSD implementation of this function should use tid in order /// to enable support for debugging threaded programs. bool - ReadGPR(lldb::tid_t tid, void *buf); + ReadGPR(lldb::tid_t tid, void *buf, size_t buf_size); /// Reads all floating point registers into the specified buffer. /// FIXME: The FreeBSD implementation of this function should use tid in order /// to enable support for debugging threaded programs. bool - ReadFPR(lldb::tid_t tid, void *buf); + ReadFPR(lldb::tid_t tid, void *buf, size_t buf_size); /// Writes all general purpose registers into the specified buffer. /// FIXME: The FreeBSD implementation of this function should use tid in order /// to enable support for debugging threaded programs. bool - WriteGPR(lldb::tid_t tid, void *buf); + WriteGPR(lldb::tid_t tid, void *buf, size_t buf_size); /// Writes all floating point registers into the specified buffer. /// FIXME: The FreeBSD implementation of this function should use tid in order |