mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-11-16 04:24:43 +00:00
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:
committed by
Simon Marchi
parent
1bae970c19
commit
5f224e54ae
@@ -101,8 +101,9 @@ OUTPUTS = $(patsubst %,$(outdir)/%.dat,$(WHICH))
|
|||||||
# to make on the command line.
|
# to make on the command line.
|
||||||
XMLTOC = \
|
XMLTOC = \
|
||||||
alpha.xml \
|
alpha.xml \
|
||||||
microblaze-with-stack-protect.xml \
|
|
||||||
microblaze.xml \
|
microblaze.xml \
|
||||||
|
microblaze-linux.xml \
|
||||||
|
microblaze-with-stack-protect.xml \
|
||||||
mips-dsp-linux.xml \
|
mips-dsp-linux.xml \
|
||||||
mips-linux.xml \
|
mips-linux.xml \
|
||||||
mips64-dsp-linux.xml \
|
mips64-dsp-linux.xml \
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
|
/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
|
||||||
Original: microblaze-linux.xml */
|
Original: microblaze-linux.xml */
|
||||||
|
|
||||||
#include "defs.h"
|
|
||||||
#include "osabi.h"
|
#include "osabi.h"
|
||||||
#include "target-descriptions.h"
|
#include "target-descriptions.h"
|
||||||
|
|
||||||
@@ -12,7 +11,7 @@ initialize_tdesc_microblaze_linux (void)
|
|||||||
target_desc_up result = allocate_target_description ();
|
target_desc_up result = allocate_target_description ();
|
||||||
set_tdesc_architecture (result.get (), bfd_scan_arch ("MicroBlaze"));
|
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;
|
struct tdesc_feature *feature;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user