gdb: add microblaze-linux.xml to XMLTOC, regenerate microblaze-linux.c

microblaze-linux.c is out of date compared to the other .c files in the
features directory.  I think it's because it's missing from XMLTOC.  Add
it there and run the "cfiles" target, causing the updates to
microblaze-linux.c.

I thought that we could get rid of regformats/microblaze-linux.dat,
since microblaze-linux is described with an XML target, but apparently
not, I don't really understand (or forget) how these things work.

Change-Id: Idaa55980b3bbdcc6597e9bf332d5824759ef9d0f
Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
Simon Marchi
2025-11-13 16:51:58 -05:00
committed by Simon Marchi
parent 1bae970c19
commit 5f224e54ae
2 changed files with 3 additions and 3 deletions

View File

@@ -101,8 +101,9 @@ OUTPUTS = $(patsubst %,$(outdir)/%.dat,$(WHICH))
# to make on the command line.
XMLTOC = \
alpha.xml \
microblaze-with-stack-protect.xml \
microblaze.xml \
microblaze-linux.xml \
microblaze-with-stack-protect.xml \
mips-dsp-linux.xml \
mips-linux.xml \
mips64-dsp-linux.xml \

View File

@@ -1,7 +1,6 @@
/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
Original: microblaze-linux.xml */
#include "defs.h"
#include "osabi.h"
#include "target-descriptions.h"
@@ -12,7 +11,7 @@ initialize_tdesc_microblaze_linux (void)
target_desc_up result = allocate_target_description ();
set_tdesc_architecture (result.get (), bfd_scan_arch ("MicroBlaze"));
set_tdesc_osabi (result.get (), osabi_from_tdesc_string ("GNU/Linux"));
set_tdesc_osabi (result.get (), GDB_OSABI_LINUX);
struct tdesc_feature *feature;