diff options
author | Christoph Lipka <clipka@de.adit-jv.com> | 2018-12-20 14:58:19 +0100 |
---|---|---|
committer | Christoph Lipka <clipka@de.adit-jv.com> | 2018-12-21 10:23:41 +0100 |
commit | dca8ab254aa0a687c32009079d85e4d8f960b213 (patch) | |
tree | e63b6a552fd9f61873892110a56a89ef354864cd /src/core_dump_handler/x86_64 | |
parent | 0d0c74640c8b792db37cb9f884f89f7561ea551f (diff) | |
download | DLT-daemon-dca8ab254aa0a687c32009079d85e4d8f960b213.tar.gz |
Code beautification using uncrustify
Signed-off-by: Christoph Lipka <clipka@de.adit-jv.com>
Diffstat (limited to 'src/core_dump_handler/x86_64')
-rw-r--r-- | src/core_dump_handler/x86_64/dlt_cdh_cpuinfo.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core_dump_handler/x86_64/dlt_cdh_cpuinfo.c b/src/core_dump_handler/x86_64/dlt_cdh_cpuinfo.c index 6e526ea..f18720e 100644 --- a/src/core_dump_handler/x86_64/dlt_cdh_cpuinfo.c +++ b/src/core_dump_handler/x86_64/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->rcx; // [REG_PROC_COUNTER]; - registers->ip = ptr_reg->rip; // [REG_INSTR_POINTER]; - registers->lr = ptr_reg->rsp; // [REG_LINK_REGISTER]; + registers->pc = ptr_reg->rcx; /* [REG_PROC_COUNTER]; */ + registers->ip = ptr_reg->rip; /* [REG_INSTR_POINTER]; */ + registers->lr = ptr_reg->rsp; /* [REG_LINK_REGISTER]; */ } |