mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 14:26:03 -04:00
lldb: Move debug register output into __amd64__
This debug register diagnostic is really only applicable to amd64 at present. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
cbfe0ae64b
commit
acf33b5c74
1 changed files with 0 additions and 2 deletions
|
|
@ -112,8 +112,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';
|
||||
|
|
|
|||
Loading…
Reference in a new issue