[Lldb-commits] [lldb] r233403 - Move debug register output into __amd64__ (FreeBSD)
Ed Maste
emaste at freebsd.org
Fri Mar 27 13:11:37 PDT 2015
Author: emaste
Date: Fri Mar 27 15:11:37 2015
New Revision: 233403
URL: http://llvm.org/viewvc/llvm-project?rev=233403&view=rev
Log:
Move debug register output into __amd64__ (FreeBSD)
This debug register diagnostic is really only applicable to amd64 at
present.
Modified:
lldb/trunk/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp
Modified: lldb/trunk/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp?rev=233403&r1=233402&r2=233403&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp (original)
+++ lldb/trunk/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp Fri Mar 27 15:11:37 2015
@@ -113,8 +113,6 @@ PtraceWrapper(int req, lldb::pid_t pid,
log->Printf("PT_GETREGS: bp=0x%lx", r->r_rbp);
log->Printf("PT_GETREGS: ax=0x%lx", r->r_rax);
}
-#endif
-#ifndef __powerpc__
if (req == PT_GETDBREGS || req == PT_SETDBREGS) {
struct dbreg *r = (struct dbreg *) addr;
char setget = (req == PT_GETDBREGS) ? 'G' : 'S';
More information about the lldb-commits
mailing list