This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Based on the feedbacks, all changes have been incorporated. May I know who will committing this patch to the upstream ? [Patch, microblaze]: 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 fixes the above problem for baremetal and also supports the backward compatibility. ChangeLog: 2014-06-12 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 and MICROBLAZE_SHR_REGNUM MICROBLAZE_NUM_REGS. (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS. * features/microblaze-cpu.xml: New file. * features/microblaze-linux.c: New file. * features/microblaze-linux.xml: New file. * regformats/reg-microblaze.dat: New file. * features/Makefile (microblaze-linux): Add microblaze-linux and microblaze-expedite. Signed-off-by:Ajit Agarwal ajitkum@xilinx.com Thanks & Regards Ajit
Attachment:
0001-Patch-microblaze-Fix-for-remote-G-Packet-message-too.patch
Description: 0001-Patch-microblaze-Fix-for-remote-G-Packet-message-too.patch
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |