diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-08 15:36:23 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-08 15:46:02 -0500 |
commit | c583a2520616c2736cffc389c89a48b159366e6c (patch) | |
tree | b4925f26506fcee96c16119431c01760f05db95d /gdb/arch/arm-linux.c | |
parent | ca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff) | |
download | binutils-users/simark/clang-format.zip binutils-users/simark/clang-format.tar.gz binutils-users/simark/clang-format.tar.bz2 |
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdb/arch/arm-linux.c')
-rw-r--r-- | gdb/arch/arm-linux.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/gdb/arch/arm-linux.c b/gdb/arch/arm-linux.c index bafbc52..5fbf2a3 100644 --- a/gdb/arch/arm-linux.c +++ b/gdb/arch/arm-linux.c @@ -26,10 +26,8 @@ /* Calculate the offset from stack pointer of the pc register on the stack in the case of a sigreturn or sigreturn_rt syscall. */ int -arm_linux_sigreturn_next_pc_offset (unsigned long sp, - unsigned long sp_data, - unsigned long svc_number, - int is_sigreturn) +arm_linux_sigreturn_next_pc_offset (unsigned long sp, unsigned long sp_data, + unsigned long svc_number, int is_sigreturn) { /* Offset of R0 register. */ int r0_offset = 0; @@ -62,8 +60,7 @@ arm_linux_sigreturn_next_pc_offset (unsigned long sp, for arm-linux. */ CORE_ADDR -arm_linux_get_next_pcs_fixup (struct arm_get_next_pcs *self, - CORE_ADDR nextpc) +arm_linux_get_next_pcs_fixup (struct arm_get_next_pcs *self, CORE_ADDR nextpc) { /* The Linux kernel offers some user-mode helpers in a high page. We can not read this page (as of 2.6.23), and even if we could then we @@ -119,7 +116,7 @@ arm_linux_get_next_pcs_fixup (struct arm_get_next_pcs *self, } else { - if (bits (insn, 24, 27) == 0xb /* BL <label> */ + if (bits (insn, 24, 27) == 0xb /* BL <label> */ || bits (insn, 4, 27) == 0x12fff3 /* BLX Rm */) bl_blx_p = 1; } |