binutils-gdb/gdb/regformats
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
aarch64.dat
arm-with-iwmmxt.dat
arm-with-neon.dat
arm-with-vfpv2.dat
arm-with-vfpv3.dat
microblaze-with-stack-protect.dat Fix for remote G Packet message too long error for baremetal. 2014-07-19 17:47:52 -07:00
microblaze.dat Fix for remote G Packet message too long error for baremetal. 2014-07-19 17:47:52 -07:00
mips-dsp-linux.dat
mips-linux.dat
mips64-dsp-linux.dat
mips64-linux.dat
nios2-linux.dat
reg-arm.dat
reg-bfin.dat
reg-cf.dat
reg-cris.dat
reg-crisv32.dat
reg-ia64.dat
reg-m32r.dat
reg-m68k.dat
reg-sh.dat
reg-sparc64.dat
reg-spu.dat
reg-tilegx.dat
reg-tilegx32.dat
reg-xtensa.dat
regdat.sh Have regdat.sh always rewrite the output register file 2014-01-13 12:53:53 -07:00
regdef.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
s390-linux32.dat
s390-linux32v1.dat
s390-linux32v2.dat
s390-linux64.dat
s390-linux64v1.dat
s390-linux64v2.dat
s390-te-linux64.dat
s390x-linux64.dat
s390x-linux64v1.dat
s390x-linux64v2.dat
s390x-te-linux64.dat
tic6x-c62x-linux.dat
tic6x-c62x.dat
tic6x-c64x-linux.dat
tic6x-c64x.dat
tic6x-c64xp-linux.dat
tic6x-c64xp.dat