aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2018-09-04 11:51:10 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2018-09-04 11:52:25 +0100
commit6c9d681b07e32d07f7ca0774360be62bbf065b82 (patch)
tree7015bc45966c09e9e3ef991262a30da34d999cdc /gdb
parent70f95c89a14485b148251a126ba0de48e412b327 (diff)
downloadgdb-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')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/riscv-tdep.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7a809d5..f2526ca 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2018-09-04 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * riscv-tdep.c (riscv_frame_cache): Fix ARI warning, don't end a
+ line with '+'.
+
2018-09-03 Andrew Burgess <andrew.burgess@embecosm.com>
* riscv-tdep.c: Add 'prologue-value.h' include.
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),