diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/riscv-tdep.c | 4 |
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), |