binutils-gdb/gdb/features
Yao Qi 8e2141c6fb Add optional argument to command "maint prints c-tdesc"
Nowadays, we need two steps to print c files for xml target description,
that is, 1) read xml target description in, update the current tdesc,
2) visit the current tdesc, print the c file.  It is unnecessary to
involve in current tdesc, and some validations in each gdbarch are
performed unnecessarily, which will reject some target descriptions if
they are missing some mandatory feature.

This patch adds an optional argument to "maint print c-tdesc", which
is an XML file target description, so that we can combine the two
steps above into one step, and don't have to involve in global current
tdesc.

gdb:

2017-07-26  Yao Qi  <yao.qi@linaro.org>

	* NEWS: Mention it.
	* features/Makefile (%.c: %.xml): Pass the xml file name to
	command "maint print c-tdesc".
	* target-descriptions.c (maint_print_c_tdesc_cmd): Get file
	name from 'arg'.

gdb/doc:

2017-07-26  Yao Qi  <yao.qi@linaro.org>

	* gdb.texinfo (Maintenance Commands): Document optional
	argument of "maint print c-tdesc".
2017-07-26 12:03:47 +01:00
..
arm update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
i386 Include the fs_base and gs_base registers in amd64 target descriptions. 2017-07-11 09:46:29 -07:00
rs6000 update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
sparc gdb: provide and use sparc{32,64} target description XML files. 2017-02-05 23:44:03 -08:00
Makefile Add optional argument to command "maint prints c-tdesc" 2017-07-26 12:03:47 +01:00
aarch64-core.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
aarch64-fpu.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
aarch64.c Make "end" field in feature specs required again. 2016-10-06 12:12:33 +01:00
aarch64.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
arc-arcompact.c Make "end" field in feature specs required again. 2016-10-06 12:12:33 +01:00
arc-arcompact.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
arc-v2.c Make "end" field in feature specs required again. 2016-10-06 12:12:33 +01:00
arc-v2.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
btrace-conf.dtd update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
btrace.dtd update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
feature_to_c.sh update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
gdb-target.dtd update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
gdbserver-regs.xsl
library-list-aix.dtd update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
library-list-svr4.dtd update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
library-list.dtd update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
m68k-core.xml
microblaze-core.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
microblaze-stack-protect.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
microblaze-with-stack-protect.c
microblaze-with-stack-protect.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
microblaze.c
microblaze.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mips-cp0.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mips-cpu.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mips-dsp-linux.c
mips-dsp-linux.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mips-dsp.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mips-fpu.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mips-linux.c
mips-linux.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mips64-cp0.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mips64-cpu.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mips64-dsp-linux.c
mips64-dsp-linux.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mips64-dsp.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mips64-fpu.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
mips64-linux.c
mips64-linux.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
nds32-core.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
nds32-fpu.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
nds32-system.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
nds32.c
nds32.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
nios2-cpu.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
nios2-linux.c
nios2-linux.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
nios2.c
nios2.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
number-regs.xsl
osdata.dtd update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390-acr.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390-core32.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390-core64.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390-fpr.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390-linux32.c
s390-linux32.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390-linux32v1.c
s390-linux32v1.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390-linux32v2.c
s390-linux32v2.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390-linux64.c
s390-linux64.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390-linux64v1.c
s390-linux64v1.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390-linux64v2.c
s390-linux64v2.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390-tdb.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390-te-linux64.c
s390-te-linux64.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390-tevx-linux64.c
s390-tevx-linux64.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390-vx-linux64.c
s390-vx-linux64.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390-vx.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390x-core64.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390x-linux64.c
s390x-linux64.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390x-linux64v1.c
s390x-linux64v1.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390x-linux64v2.c
s390x-linux64v2.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390x-te-linux64.c
s390x-te-linux64.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390x-tevx-linux64.c
s390x-tevx-linux64.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
s390x-vx-linux64.c
s390x-vx-linux64.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
sort-regs.xsl
threads.dtd update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
tic6x-c6xp.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
tic6x-c62x-linux.c
tic6x-c62x-linux.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
tic6x-c62x.c
tic6x-c62x.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
tic6x-c64x-linux.c
tic6x-c64x-linux.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
tic6x-c64x.c
tic6x-c64x.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
tic6x-c64xp-linux.c
tic6x-c64xp-linux.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
tic6x-c64xp.c
tic6x-c64xp.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
tic6x-core.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
tic6x-gp.xml update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
traceframe-info.dtd update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
xinclude.dtd update copyright year range in GDB files 2017-01-01 10:52:34 +04:00