gdb: gdbserver: xtensa: make C0_NREGS available
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 22 Feb 2017 01:14:37 +0000 (17:14 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 27 Mar 2017 19:57:07 +0000 (12:57 -0700)
commitc56054f9a80e157e3d2d5109821abd191b68f0ea
tree986bbcb1abb739dae8b5f287ca7e8e159edc3084
parenta43986283d61ffd4d7dc9b20c0ecb73cd345206c
gdb: gdbserver: xtensa: make C0_NREGS available

Both gdb and gdbserver need this definition to properly work with call0
ABI. Make it available to both.

gdb/
2017-03-27  Max Filippov  <jcmvbkbc@gmail.com>

* arch/xtensa.h (C0_NREGS): Add definition.
* xtensa-tdep.c (C0_NREGS): Remove definition.
gdb/ChangeLog
gdb/arch/xtensa.h
gdb/xtensa-tdep.c