From: Andrew Burgess Date: Tue, 4 Sep 2018 10:51:10 +0000 (+0100) Subject: gdb/riscv: Fix an ARI warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6c9d681b07e32d07f7ca0774360be62bbf065b82;p=binutils-gdb.git 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 '+'. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7a809d5b746..f2526ca93c1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-09-04 Andrew Burgess + + * riscv-tdep.c (riscv_frame_cache): Fix ARI warning, don't end a + line with '+'. + 2018-09-03 Andrew Burgess * riscv-tdep.c: Add 'prologue-value.h' include. diff --git a/gdb/riscv-tdep.c b/gdb/riscv-tdep.c index b2247b59f6f..254914c9c7e 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),