This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Patch, microblaze] Add little-endian breakpoint
- From: Michael Eager <eager at eagercon dot com>
- To: Ajit Kumar Agarwal <ajit dot kumar dot agarwal at xilinx dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Cc: Vinod Kathail <vinodk at xilinx dot com>, Vidhumouli Hunsigida <vidhum at xilinx dot com>, Nagaraju Mekala <nmekala at xilinx dot com>
- Date: Wed, 23 Jul 2014 11:39:35 -0700
- Subject: Re: [Patch, microblaze] Add little-endian breakpoint
- Authentication-results: sourceware.org; auth=none
- References: <d47a350e-7a5c-46da-954b-097ba3472750 at BY2FFO11FD034 dot protection dot gbl>
On 06/16/14 12:02, Ajit Kumar Agarwal wrote:
Hello All:
The following Patch add the little-endian breakpoint.
[Patch,microblaze] Add little-endian breakpoint
Add little-endian breakpoint.
ChangeLog:
2014-06-16 Ajit Agarwal <ajitkum@xilinx.com>
* microblaze-tdep.c (microblaze_breakpoint_from_pc): Use
of gdbarch_byte_order. Initialize break_insn_le to
MICROBLAZE_BREAKPOINT_LE. Check byte_order with
BFD_ENDIAN_BIG.
* microblaze-tdep.h (MICROBLAZE_BREAKPOINT_LE): New Macro.
Signed-off-by:Ajit Agarwal ajitkum@xilinx.com
Please update this patch to add a test case to the gdb test suite.
--
Michael Eager eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077