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: Tom Tromey <tromey at redhat dot com>
- To: Ajit Kumar Agarwal <ajit dot kumar dot agarwal at xilinx dot com>
- Cc: "gdb-patches\ at sourceware dot org" <gdb-patches at sourceware dot org>, Michael Eager <eager at eagercon dot com>, Vinod Kathail <vinodk at xilinx dot com>, Vidhumouli Hunsigida <vidhum at xilinx dot com>, Nagaraju Mekala <nmekala at xilinx dot com>
- Date: Tue, 17 Jun 2014 10:35:49 -0600
- 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>
>>>>> "Ajit" == Ajit Kumar Agarwal <ajit.kumar.agarwal@xilinx.com> writes:
Ajit> static gdb_byte break_insn[] = MICROBLAZE_BREAKPOINT;
Ajit> + static gdb_byte break_insn_le[] = MICROBLAZE_BREAKPOINT_LE;
Not really your problem, since you're just following the existing code,
but it seems like both of these could be "const".
Tom