RISC-V: Make riscv_isa_xlen a global function.
authorJim Wilson <jimw@sifive.com>
Wed, 8 Aug 2018 17:48:09 +0000 (10:48 -0700)
committerJim Wilson <jimw@sifive.com>
Wed, 8 Aug 2018 17:51:40 +0000 (10:51 -0700)
commit411baa470ef354e50b488c0c736ac7af8d856ded
treeb3720c632a22765c78c1d416c58d90cb97a6a2a3
parentf384a1f025084a4a6370d7ada6dc7198ad3454e4
RISC-V: Make riscv_isa_xlen a global function.

This allows the function to be used from riscv OS files, which also need to
depend on XLEN size.

gdb/
* riscv-tdep.c (riscv_isa_xlen): Drop static.
* riscv-tdep.h (riscv_isa_xlen): Add extern declaration.
gdb/ChangeLog
gdb/riscv-tdep.c
gdb/riscv-tdep.h