X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=0ac42e480d7a22ac4e8c4747d7a26c09009e17cc;hb=0abe8a8992948559d225ff120095e42a1a6a36f4;hp=105c1dba5fc68de78e6729b520d068372fd44524;hpb=2c5a2be1902b50e34411baa57ff0b747e8e20e8b;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 105c1dba5f..0ac42e480d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,178 @@ +2017-09-05 Yao Qi + + * arch/tdesc.h (tdesc_create_feature): Add an argument xml. + * target-descriptions.c (tdesc_create_feature): Likewise, and + adjust code. + * 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. + +2017-09-05 Yao Qi + + * regformats/regdef.h (struct reg): Override operator == and !=. + +2017-09-05 Yao Qi + + * arch/tdesc.h: New file. + * regformats/regdat.sh: Generate code using tdesc_create_reg. + * target-descriptions.c: Update comments. + * target-descriptions.h: Include "arch/tdesc.h". Remove the + declarations. + * 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. + +2017-09-05 Yao Qi + + * regformats/regdat.sh: Update generated code. + +2017-09-05 Yao Qi + + * regformats/regdat.sh: Adjust code order. + +2017-09-05 Simon Marchi + + * expprint.c (dump_subexp_body_standard): Use constant format + string in fprintf_filtered call. + +2017-09-04 John Baldwin + + * configure.nat: Add "x86-nat.o x86-dregs.o" for NetBSD/amd64 and + NetBSD/i386. + * x86-bsd-nat.c [!DBREG_DRX && __NetBSD__]: Define DBREG_DRX. + +2017-09-04 John Baldwin + + * bsd-kvm.o: Make conditional on HAVE_SYS_USER_H. + +2017-09-04 John Baldwin + + * bsd-kvm.o: Define _KMEMUSER. + * configure.ac: Define _KMEMUSER when checking for "struct lwp". + * configure: Regenerate. + +2017-09-04 John Baldwin + + * amd64-fbsd-nat.c: Add include of "x86-xstate.h". + * i386-fbsd-nat.c: Likewise. + +2017-09-04 John Baldwin + + * unittests/array-view-selftests.c: Add include of . + +2017-09-04 John Baldwin + + * spu-tdep.c (flush_ea_cache): Add missing argument to + call_function_by_hand. + +2017-09-04 Pedro Alves + + * NEWS (Safer support for debugging with no debug info): New. + +2017-09-04 Pedro Alves + + * c-exp.y (function_method, function_method_void): Add current + instance flags to TYPE_INSTANCE. + * dwarf2read.c (check_modifier): New. + (compute_delayed_physnames): Assert that only C++ adds delayed + physnames. Mark fn_fields as const/volatile depending on + physname. + * eval.c (make_params): New type_instance_flags parameter. Use + it as the new type's instance flags. + (evaluate_subexp_standard) : Extract the instance + flags element and pass it to make_params. + * expprint.c (print_subexp_standard) : Handle + instance flags element. + (dump_subexp_body_standard) : Likewise. + * gdbtypes.h: Include "enum-flags.h". + (type_instance_flags): New enum-flags type. + (TYPE_CONST, TYPE_VOLATILE, TYPE_RESTRICT, TYPE_ATOMIC) + (TYPE_CODE_SPACE, TYPE_DATA_SPACE): Return boolean. + * parse.c (operator_length_standard) : Adjust. + (follow_type_instance_flags): New function. + (operator_check_standard) : Adjust. + * parser-defs.h (follow_type_instance_flags): Declare. + * valops.c (value_struct_elt_for_reference): const/volatile must + match too. + +2017-09-04 Pedro Alves + + * cp-namespace.c (cp_search_static_and_baseclasses): Handle + function/method scopes; lookup the nested name as a function local + static variable. + +2017-09-04 Pedro Alves + + (%type ): Add function_method. + * c-exp.y (exp): New production for calls with no arguments. + (function_method, function_method_void_or_typelist): New + productions. + (exp): New production for "method()::static_var". + * eval.c (evaluate_subexp_standard): Handle OP_FUNC_STATIC_VAR. + * expprint.c (print_subexp_standard, dump_subexp_body_standard): + Handle OP_FUNC_STATIC_VAR. + * parse.c (operator_length_standard): + Handle OP_FUNC_STATIC_VAR. + +2017-09-04 Pedro Alves + + * eval.c (evaluate_subexp_standard): Remove UNOP_MEMVAL_TLS + handling. + * expprint.c (print_subexp_standard, dump_subexp_body_standard): + Ditto. + * parse.c (operator_length_standard, operator_check_standard): + Ditto. + * std-operator.def (UNOP_MEMVAL_TLS): Delete. + +2017-09-04 Pedro Alves + + * ax-gdb.c: Include "typeprint.h". + (gen_expr_for_cast): New function. + (gen_expr) : Use it. + : Error out if the variable's + type is unknown. + * dwarf2read.c (new_symbol_full): Fallback to int instead of + nodebug_data_symbol. + * eval.c: Include "typeprint.h". + (evaluate_subexp_standard) : + Error out if symbol has unknown type. + : Common bits factored out to + evaluate_subexp_for_cast. + (evaluate_subexp_for_address, evaluate_subexp_for_sizeof): Handle + OP_VAR_MSYM_VALUE. + (evaluate_subexp_for_cast): New function. + * gdbtypes.c (init_nodebug_var_type): New function. + (objfile_type): Use it to initialize types of variables with no + debug info. + * typeprint.c (error_unknown_type): New. + * typeprint.h (error_unknown_type): New declaration. + * compile/compile-c-types.c (convert_type_basic): Handle + TYPE_CODE_ERROR; warn and fallback to int for variables with + unknown type. + +2017-09-04 Pedro Alves + + * eval.c (evaluate_var_value): New function, factored out from ... + (evaluate_subexp_standard): ... here. + +2017-09-04 Pedro Alves + + * eval.c (evaluate_subexp_standard) : + Remove useless assignments to 'op'. + +2017-09-04 Pedro Alves + + * eval.c (eval_skip_value): New function. + (evaluate_subexp_standard): Use it. + 2017-09-04 Pedro Alves * eval.c (evaluate_subexp_standard): : Extract