summaryrefslogtreecommitdiff
path: root/src/core_dump_handler/i686/dlt_cdh_cpuinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core_dump_handler/i686/dlt_cdh_cpuinfo.c')
-rw-r--r--src/core_dump_handler/i686/dlt_cdh_cpuinfo.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core_dump_handler/i686/dlt_cdh_cpuinfo.c b/src/core_dump_handler/i686/dlt_cdh_cpuinfo.c
index 2e547a2..aee7441 100644
--- a/src/core_dump_handler/i686/dlt_cdh_cpuinfo.c
+++ b/src/core_dump_handler/i686/dlt_cdh_cpuinfo.c
@@ -27,11 +27,11 @@
#include "../dlt_cdh_cpuinfo.h"
-void get_registers(prstatus_t* prstatus, cdh_registers_t* registers)
+void get_registers(prstatus_t *prstatus, cdh_registers_t *registers)
{
- struct user_regs_struct* ptr_reg = (struct user_regs_struct*) prstatus->pr_reg;
+ struct user_regs_struct *ptr_reg = (struct user_regs_struct *)prstatus->pr_reg;
- registers->pc = ptr_reg->ecx; // [REG_PROC_COUNTER];
- registers->ip = ptr_reg->eip; // [REG_INSTR_POINTER];
- registers->lr = ptr_reg->ebp; // [REG_LINK_REGISTER];
+ registers->pc = ptr_reg->ecx; /* [REG_PROC_COUNTER]; */
+ registers->ip = ptr_reg->eip; /* [REG_INSTR_POINTER]; */
+ registers->lr = ptr_reg->ebp; /* [REG_LINK_REGISTER]; */
}