This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 06/25] Generate c for feature instead of tdesc
Eli Zaretskii <eliz@gnu.org> writes:
> But that means the produced file can only be used by rebuilding GDB,
> doesn't it? If so, the text should make this clear, I think.
>
Yes. The last sentence is about it, "The created source file is built
into @value{GDBN}", but I didn't explicitly say GDB needs rebuild.
> (In general, since GDB is a compiled program which cannot easily be
> modified without rebuilding it, I wonder how useful this feature will
> be. But I'll yield to your expertise on that.)
This command is only used by developers after they add or modify XML
target descriptions. I don't think GDB users will use this command.
A question in general, do we really need to document these commands,
which are used for GDB development, in GDB user manual? These
commands are "maint print c-tdesc", "maint check xml-descriptions"
(added by one patch in this series), and "maint selftest". Can we
remove them from the user manual?
--
Yao (齐尧)