dar(数据地址寄存器)包含处理器尝试访问的地址,这一行为将引发页面错误。
The dar (Data address Register) contains the address that the processor tried to access, which then caused a page fault.
在调试信号时,需要查看的一些重要寄存器包括GPR、指令指针(NIP)、机器状态寄存器(MSR)、Trap、数据地址寄存器(DAR)等等。
Important registers to look for when debugging through signals are the GPRs, instruction pointer (NIP), machine state register (MSR), trap, data address register (DAR), and so on.
在SIGILL的情况中,DAR可能不会提供任何有用的数据,因为这个寄存器在SIGSEGV的情况中就被用来存放故障地址。
In the case of SIGILL, the DAR might not provide useful data, because this register is used to store the fault address in the case of SIGSEGV.
应用推荐