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 '+'.
This commit is contained in:
parent
70f95c89a1
commit
6c9d681b07
|
@ -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.
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue