diff options
author | Alan Hayward <alan.hayward@arm.com> | 2019-06-20 08:38:18 +0100 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2019-07-10 14:20:49 +0100 |
commit | 89abbcc26d891425678b8b463bc1fa81273fb54c (patch) | |
tree | 129fb2faf4d44ec2315992cdbb42fba107176107 /gdb/target-descriptions.c | |
parent | b863685d70199489b3fe27abedfb1eb6d1452b7d (diff) | |
download | gdb-89abbcc26d891425678b8b463bc1fa81273fb54c.zip gdb-89abbcc26d891425678b8b463bc1fa81273fb54c.tar.gz gdb-89abbcc26d891425678b8b463bc1fa81273fb54c.tar.bz2 |
Arm: Create feature files for Arm target descriptions
Add Arm to the list of feature target description targets and generate the
relevant C files.
Add arm-m-profile-with-fpa.xml as the feature version of the exisiting
arm-with-m-fpa-layout.xml.
Add extra comments to the Makefile for readability.
New files are not yet used.
gdb/ChangeLog:
* features/Makefile: Use feature target descriptions for Arm.
* features/arm/arm-core.c: Generate new file.
* features/arm/arm-fpa.c: Likewise.
* features/arm/arm-m-profile-with-fpa.xml: Likewise.
* features/arm/arm-m-profile.c: Likewise.
* features/arm/arm-vfpv2.c: Likewise.
* features/arm/arm-vfpv3.c: Likewise.
* features/arm/xscale-iwmmxt.c: Likewise.
* target-descriptions.c (maint_print_c_tdesc_cmd): Add Arm.
Diffstat (limited to 'gdb/target-descriptions.c')
-rw-r--r-- | gdb/target-descriptions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/target-descriptions.c b/gdb/target-descriptions.c index f422f2c..322ed50 100644 --- a/gdb/target-descriptions.c +++ b/gdb/target-descriptions.c @@ -1715,7 +1715,8 @@ maint_print_c_tdesc_cmd (const char *args, int from_tty) || startswith (filename_after_features.c_str (), "i386/x32-core.xml") || startswith (filename_after_features.c_str (), "riscv/") || startswith (filename_after_features.c_str (), "tic6x-") - || startswith (filename_after_features.c_str (), "aarch64")) + || startswith (filename_after_features.c_str (), "aarch64") + || startswith (filename_after_features.c_str (), "arm/")) { print_c_feature v (filename_after_features); |