gdb/riscv: Make some target description functions constant
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 29 Nov 2018 15:38:29 +0000 (15:38 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 30 Nov 2018 18:13:42 +0000 (18:13 +0000)
commit0ff80bf7b9901b5e3c6805b99d30fd555f512d69
tree2fd4179ca12d7166e18363ddd6241c1996127298
parent81fbbaf96216ed88973a069e4ed25379d7421ec8
gdb/riscv: Make some target description functions constant

Makes more of the interface related to fetching target descriptions
constant.

gdb/ChangeLog:

* arch/riscv.h (riscv_create_target_description): Make return type
const.
* arch/riscv.c (riscv_create_target_description): Likewise.
* riscv-tdep.c (riscv_find_default_target_description): Likewise.
gdb/ChangeLog
gdb/arch/riscv.c
gdb/arch/riscv.h
gdb/riscv-tdep.c