mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 12:26:52 +08:00
Move debug register output into __amd64__ (FreeBSD)
This debug register diagnostic is really only applicable to amd64 at present. llvm-svn: 233403
This commit is contained in:
@@ -113,8 +113,6 @@ PtraceWrapper(int req, lldb::pid_t pid, void *addr, int data,
|
||||
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';
|
||||
|
||||
Reference in New Issue
Block a user