aboutsummaryrefslogtreecommitdiff
path: root/config/bitfields.m4
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2017-06-06 23:05:32 +0100
committerYao Qi <yao.qi@linaro.org>2017-06-20 11:34:13 +0100
commite45a9c42f78b648a694070acdf89acb1fbaee564 (patch)
tree306942640282d5498c7f06437d3dc56bebcedf47 /config/bitfields.m4
parent30bf6941157218d5b0093794f935de5f418cbfa0 (diff)
downloadgdb-e45a9c42f78b648a694070acdf89acb1fbaee564.zip
gdb-e45a9c42f78b648a694070acdf89acb1fbaee564.tar.gz
gdb-e45a9c42f78b648a694070acdf89acb1fbaee564.tar.bz2
Dynamically create tdesc in GDBserver
In this patch, GDBserver starts to use gdb/features/*.c feature files by including them, so that GDBserver can create target descriptions from features dynamically, like GDB does. Adjust these feature .c files for GDBserver. These feature .c files calls some target description APIs only defined GDB, so this patch also adds them in GDBserver. TODO: complete ChangeLog. gdb: 2017-06-06 Yao Qi <yao.qi@linaro.org> * features/i386/32bit-avx.c: Re-generated. * features/i386/32bit-avx512.c: Re-generated. * features/i386/32bit-core.c: Re-generated. * features/i386/32bit-linux.c: Re-generated. * features/i386/32bit-mpx.c: Re-generated. * features/i386/32bit-pkeys.c: Re-generated. * features/i386/32bit-sse.c: Re-generated. gdb/gdbserver: 2017-06-06 Yao Qi <yao.qi@linaro.org> * linux-x86-tdesc.c: Include ../features/i386/32bit-*.c. (initialize_low_tdesc): Don't use tdesc_i386_XXX_linux. (i386_get_ipa_tdesc): Create target descriptions. * tdesc.c (init_target_desc): (current_target_desc): (tdesc_create_feature): + (tdesc_create_flags): + (tdesc_add_flag): + (tdesc_named_type): + (tdesc_create_reg): + (tdesc_create_vector): + (tdesc_add_bitfield): + (tdesc_add_field): + (tdesc_set_struct_size): + * tdesc.h (target_desc::target_desc): New. (target_desc::~target_desc): New. * regformats/regdat.sh: Generate code to call tdesc_create_reg. * target-descriptions.c (print_c_feature::visit): Print code for GDB.
Diffstat (limited to 'config/bitfields.m4')
0 files changed, 0 insertions, 0 deletions