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: Ajit Kumar Agarwal <ajit dot kumar dot agarwal at xilinx dot com>
- To: Michael Eager <eager at eagercon 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, 17 Sep 2014 08:48:44 +0000
- Subject: RE: [Patch, microblaze] Add little-endian breakpoint
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=pass (sender IP is 149.199.60.83) smtp dot mailfrom=ajit dot kumar dot agarwal at xilinx dot com;
- References: <d47a350e-7a5c-46da-954b-097ba3472750 at BY2FFO11FD034 dot protection dot gbl> <53D00167 dot 4070606 at eagercon dot com>
-----Original Message-----
From: Michael Eager [mailto:eager@eagercon.com]
Sent: Thursday, July 24, 2014 12:10 AM
To: Ajit Kumar Agarwal; gdb-patches@sourceware.org
Cc: Vinod Kathail; Vidhumouli Hunsigida; Nagaraju Mekala
Subject: Re: [Patch, microblaze] Add little-endian breakpoint
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.
The existing gdb testsuite if compiled and tested with little endian binaries will fail.
Hence the existing testsuite is sufficient and we donât see a need for a new testcase.
Michael Eager eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077