This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Patch, microblaze]: Port of Linux gdbserver
- From: Michael Eager <eager at eagercon dot com>
- To: Ajit Kumar Agarwal <ajit dot kumar dot agarwal at xilinx dot com>, Joel Brobecker <brobecker at adacore dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>, Vinod Kathail <vinodk at xilinx dot com>, Vidhumouli Hunsigida <vidhum at xilinx dot com>, Nagaraju Mekala <nmekala at xilinx dot com>
- Date: Wed, 10 Sep 2014 07:39:16 -0700
- Subject: Re: [Patch, microblaze]: Port of Linux gdbserver
- Authentication-results: sourceware.org; auth=none
- References: <2570e3c7-f55b-45cd-aa6e-7f4fa145f32a at BN1BFFO11FD002 dot protection dot gbl> <541052B5 dot 5080503 at eagercon dot com> <20140910134606 dot GO28404 at adacore dot com> <050c6461-c35c-441d-9b63-7636d9164e2e at BL2FFO11FD048 dot protection dot gbl>
On 09/10/14 07:22, Ajit Kumar Agarwal wrote:
Please find the updated patch with review feedbacks are incorporated.
[Patch, microblaze]: Port of Linux gdbserver
This patch is the port of Linux gdbserver.
ChangeLog:
2014-10-09 Ajit Agarwal <ajitkum@xilinx.com>
* configure.host (microblaze): New.
(microblaze*-*-linux*): New.
* configure.tgt (build_gdbserver): New Definition.
* gdbserver/Makefile.in (microblaze-linux.c): New target.
* gdbserver/configure.srv (microblaze*-*-linux*): New target.
* gdbserver/linux-microblaze-low.c: New file.
Signed-off-by:Ajit Agarwal ajitkum@xilinx.com
Please review your patches before you (re)submit them.
+ /* If necessary, recognize more trap instructions here. GDB only uses the
+ one. */
One line.
+ else
+ {
+ if (size < sizeof (long))
+ supply_register (regcache, regno, buf + sizeof (long) - size);
+ else
+ supply_register (regcache, regno, buf);
+ }
+}
Fix indent.
+static struct usrregs_info microblaze_usrregs_info =
+{
+ microblaze_num_regs,
+ microblaze_regmap,
+};
Fix indent.
How has this been tested? Please be specific.
Did you rebuild and test after making changes to the patch?
--
Michael Eager eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077