This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Patch, microblaze]: Add slr and shr regs
- From: Yao Qi <yao at codesourcery 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: Joel Brobecker <brobecker at adacore dot com>, 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: Fri, 23 May 2014 16:29:57 +0800
- Subject: Re: [Patch, microblaze]: Add slr and shr regs
- Authentication-results: sourceware.org; auth=none
- References: <c6fe468a-5e02-430a-b34b-73de6bfd2b97 at BY2FFO11FD021 dot protection dot gbl>
On 05/23/2014 02:53 PM, Ajit Kumar Agarwal wrote:
> +microblaze-linux.c : $(srcdir)/../regformats/reg-microblaze.dat $(regdat_sh)
> + $(SHELL) $(regdat_sh) $(srcdir)/../regformats/reg-microblaze.dat mips-linux.c
^^^^^^^^^^^^
Typo.
> mips-dsp-linux.c : $(srcdir)/../regformats/mips-dsp-linux.dat $(regdat_sh)
> $(SHELL) $(regdat_sh) $(srcdir)/../regformats/mips-dsp-linux.dat mips-dsp-linux.c
> mips64-linux.c : $(srcdir)/../regformats/mips64-linux.dat $(regdat_sh)
> diff --git a/gdb/regformats/reg-microblaze.dat b/gdb/regformats/reg-microblaze.dat
> new file mode 100644
> index 0000000..936bc44
> --- /dev/null
> +++ b/gdb/regformats/reg-microblaze.dat
> @@ -0,0 +1,41 @@
> +name:microblaze
> +expedite:r1,pc
> +32:r0
The more important thing is microblaze-linux.c and reg-microblaze.dat
should be generated by some .xml file in gdb/features/ directory. If
that is intended, please add the .xml files, and generate the .c file
and .dat file in regformats/ directory.
--
Yao (éå)