diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2018-09-04 11:51:10 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2018-09-04 11:52:25 +0100 |
commit | 6c9d681b07e32d07f7ca0774360be62bbf065b82 (patch) | |
tree | 7015bc45966c09e9e3ef991262a30da34d999cdc /gdb/riscv-tdep.c | |
parent | 70f95c89a14485b148251a126ba0de48e412b327 (diff) | |
download | gdb-6c9d681b07e32d07f7ca0774360be62bbf065b82.zip gdb-6c9d681b07e32d07f7ca0774360be62bbf065b82.tar.gz gdb-6c9d681b07e32d07f7ca0774360be62bbf065b82.tar.bz2 |
gdb/riscv: Fix an ARI warning
This patch fixes an ARI violation in riscv-tdep.c (line ends with
'+').
gdb/ChangeLog:
* riscv-tdep.c (riscv_frame_cache): Fix ARI warning, don't end a
line with '+'.
Diffstat (limited to 'gdb/riscv-tdep.c')
-rw-r--r-- | gdb/riscv-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/riscv-tdep.c b/gdb/riscv-tdep.c index b2247b5..254914c 100644 --- a/gdb/riscv-tdep.c +++ b/gdb/riscv-tdep.c @@ -2557,8 +2557,8 @@ riscv_frame_cache (struct frame_info *this_frame, void **this_cache) /* We can now calculate the frame base address. */ cache->frame_base - = (get_frame_register_signed (this_frame, cache->frame_base_reg) + - cache->frame_base_offset); + = (get_frame_register_signed (this_frame, cache->frame_base_reg) + + cache->frame_base_offset); if (riscv_debug_unwinder) fprintf_unfiltered (gdb_stdlog, "Frame base is %s ($%s + 0x%x)\n", core_addr_to_string (cache->frame_base), |