This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Move initialize_tdesc_mips* calls from mips-linux-nat.c to mips-linux-tdep.c
"Maciej W. Rozycki" <macro@imgtec.com> writes:
> Why? These descriptions are only used in the native case, otherwise
> gdbserver supplies its own. The current arrangement has worked for some
> 12 years now.
Because I want these target descriptions be available in -tdep.c files
so that I can test them without running the test on a mips-linux
machine.
Long story is I changed the output of "maint print c-tdesc", and I add a
test to make sure these generated C files (by this command) is still
equivalent to the xml files. If it is not clear to you, I can include
this patch in my whole patch series.
--
Yao (齐尧)