binutils-gdb/gdb/features
Michael Eager 164224e96c Fix for remote G Packet message too long error for baremetal.
Prior to version MicroBlaze v8.10.a,EDK 13.1, XMD's gdbserver stub returned 57
registers in response to GDB's G request. Starting with version MicroBlaze
v8.10.a, EDK 13.1, XMD added the slr and shr register, for a count of 59
registers. This patch adds these registers to the expected G response. This patch
fixes the above problem for baremetal and also supports the backward compatibility.

ChangeLog:
2014-07-02  Ajit Agarwal  <ajitkum@xilinx.com>

	* microblaze-tdep.c (microblaze_register_names): Add
	the rshr and rslr register names.
	(microblaze_gdbarch_init): Use of tdesc_has_registers.
	Use of tdesc_find_feature. Use of tdesc_data_alloc.
	Use of tdesc_numbered_register. Use of
	microblaze_register_g_packet_guesses. Use of
	tdesc_use_registers. Use of set_gdbarch_register_type.
	(microblaze_register_g_packet_guesses): New.
	* microblaze-tdep.h (microblaze_reg_num): Add
	field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
	MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
	(microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
	* features/microblaze-core.xml: New file.
	* features/microblaze-stack-protect.xml: New file.
	* features/microblaze-with-stack-protect.c: New file.
	* features/microblaze-with-stack-protect.xml: New file.
	* features/microblaze.xml: New file.
	* features/microblaze.c: New file.
	* features/Makefile (microblaze-with-stack-protect): Add
	microblaze-with-stack-protect microblaze and
	microblaze-expedite.
	* regformats/microblaze-with-stack-protect.dat: New file.
	* regformats/microblaze.dat: New file.
	* doc/gdb.texinfo (MicroBlaze Features): New.

Signed-off-by:Ajit Agarwal ajitkum@xilinx.com
2014-07-19 17:47:52 -07:00
..
i386 Add AVX512 registers support to GDB and GDBserver. 2014-04-24 16:30:03 +02:00
rs6000 Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
Makefile Fix for remote G Packet message too long error for baremetal. 2014-07-19 17:47:52 -07:00
aarch64-core.xml AARCH64: Change cpsr type to be 64bit. 2014-01-07 14:31:55 -08:00
aarch64-fpu.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
aarch64.c AARCH64: Change cpsr type to be 64bit. 2014-01-07 14:31:55 -08:00
aarch64.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
arm-core.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
arm-fpa.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
arm-m-profile.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
arm-vfpv2.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
arm-vfpv3.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
arm-with-iwmmxt.c
arm-with-iwmmxt.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
arm-with-m-fpa-layout.c
arm-with-m-fpa-layout.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
arm-with-m-vfp-d16.c
arm-with-m-vfp-d16.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
arm-with-m.c
arm-with-m.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
arm-with-neon.c
arm-with-neon.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
arm-with-vfpv2.c
arm-with-vfpv2.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
arm-with-vfpv3.c
arm-with-vfpv3.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
btrace.dtd Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
feature_to_c.sh Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
gdb-target.dtd Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
gdbserver-regs.xsl
library-list-aix.dtd Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
library-list-svr4.dtd Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
library-list.dtd Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
m68k-core.xml
microblaze-core.xml Fix for remote G Packet message too long error for baremetal. 2014-07-19 17:47:52 -07:00
microblaze-stack-protect.xml Fix for remote G Packet message too long error for baremetal. 2014-07-19 17:47:52 -07:00
microblaze-with-stack-protect.c Fix for remote G Packet message too long error for baremetal. 2014-07-19 17:47:52 -07:00
microblaze-with-stack-protect.xml Fix for remote G Packet message too long error for baremetal. 2014-07-19 17:47:52 -07:00
microblaze.c Fix for remote G Packet message too long error for baremetal. 2014-07-19 17:47:52 -07:00
microblaze.xml Fix for remote G Packet message too long error for baremetal. 2014-07-19 17:47:52 -07:00
mips-cp0.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mips-cpu.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mips-dsp-linux.c
mips-dsp-linux.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mips-dsp.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mips-fpu.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mips-linux.c
mips-linux.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mips64-cp0.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mips64-cpu.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mips64-dsp-linux.c
mips64-dsp-linux.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mips64-dsp.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mips64-fpu.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
mips64-linux.c
mips64-linux.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
nios2-cpu.xml Fix type of "fp" and other registers for Nios II. 2014-03-25 21:00:17 -07:00
nios2-linux.c Fix type of "fp" and other registers for Nios II. 2014-03-25 21:00:17 -07:00
nios2-linux.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
nios2.c Fix type of "fp" and other registers for Nios II. 2014-03-25 21:00:17 -07:00
nios2.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
number-regs.xsl
osdata.dtd Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
s390-acr.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
s390-core32.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
s390-core64.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
s390-fpr.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
s390-linux32.c
s390-linux32.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
s390-linux32v1.c
s390-linux32v1.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
s390-linux32v2.c
s390-linux32v2.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
s390-linux64.c
s390-linux64.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
s390-linux64v1.c
s390-linux64v1.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
s390-linux64v2.c
s390-linux64v2.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
s390-tdb.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
s390-te-linux64.c gdb/ChangeLog: 2013-09-13 14:17:31 +00:00
s390-te-linux64.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
s390x-core64.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
s390x-linux64.c
s390x-linux64.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
s390x-linux64v1.c
s390x-linux64v1.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
s390x-linux64v2.c
s390x-linux64v2.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
s390x-te-linux64.c gdb/ChangeLog: 2013-09-13 14:17:31 +00:00
s390x-te-linux64.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
sort-regs.xsl
threads.dtd Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tic6x-c6xp.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tic6x-c62x-linux.c
tic6x-c62x-linux.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tic6x-c62x.c
tic6x-c62x.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tic6x-c64x-linux.c
tic6x-c64x-linux.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tic6x-c64x.c
tic6x-c64x.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tic6x-c64xp-linux.c
tic6x-c64xp-linux.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tic6x-c64xp.c
tic6x-c64xp.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tic6x-core.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
tic6x-gp.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
traceframe-info.dtd Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
xinclude.dtd Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
xscale-iwmmxt.xml Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00