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]

[Patch, Microblaze]: Added support of shr and slr regs, little endian breakpoints,backtrace support and communicate with larger blocks.


Hello All:

This patch added the support of shr and slr regs and little endian breakpoints,
backtrace support without debug information and communicate larger blocks with
debugging agent.

ChangeLog:
 2014-05-20 Ajit Agarwal <ajitkum@xilinx.com>

 * gdb/gdbserver/Makefile.in (microblaze-linux.c) : New target

 * gdb/microblaze-tdep.c
   (microblaze_register_names): Added the rshr and rslr register names.
   (microblaze_breakpoint_from_pc): Added Declaration of byte_order
   and break_insn_le. Check of byte order by BFD_ENDIAN_BIG
   (microblaze_alloc_frame_cache):  Initialize saved_sp
   (microblaze_analyze_prologue):  Do a block read to minimize the
   transaction with debug agent. Use of target_read_memory. Freeing
   the block read.
   (microblaze_frame_cache): use of microblaze_analyze_prologue and
   assigning the register_offsets.
   (microblaze_frame_prev_register): Use of frame_unwind_got_constant.
   Check of regnum with MICROBLAZE_SP_REGNUM ,MICROBLAZE_R19_REGNUM,
   MICROBLAZE_PC_REGNUM.

   * gdb/microblaze-tdep.h
   (microblaze_frame_cache): Addition of fields saved_sp,modification of
   register_offsets.
   (microblaze_reg_num): Addition of fields MICROBLAZE_SLR_REGNUM and
   MICROBLAZE_SHR_REGNUM.
   (MICROBLAZE_BREAKPOINT_LE): New Macro.

   * gdb/regformats/reg-microblaze.dat: New Register Data files for Microblaze.

Signed-off-by:Ajit Agarwal <ajitkum@xilinx.com>


Thanks & Regards
Ajit

Attachment: 0001-Patch-Microblaze-Added-support-of-shr-and-slr-regs-l.patch
Description: 0001-Patch-Microblaze-Added-support-of-shr-and-slr-regs-l.patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]