[Patch, microblaze]: Add slr and shr regs
Yao Qi
yao@codesourcery.com
Fri May 23 08:32:00 GMT 2014
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 (é½å°§)
More information about the Gdb-patches
mailing list