C++-ify parser_state
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 83a014a0657edeac8a3204de0326117a7b2bfb32..54b704134e4f1405b9595fcea1b99a5927cad1b4 100644 (file)
@@ -1,3 +1,223 @@
+2017-12-30  Tom Tromey  <tom@tromey.com>
+           Simon Marchi  <simon.marchi@ericsson.com>
+
+       * stap-probe.h (struct stap_parse_info): Add constructor,
+       destructor.
+       * stap-probe.c (stap_parse_argument): Update.
+       * rust-exp.y (rust_lex_tests): Update.
+       * parser-defs.h (struct parser_state): Add constructor,
+       destructor, release method.
+       <expout>: Change type to expression_up.
+       (null_post_parser): Change type.
+       (initialize_expout, reallocate_expout): Remove.
+       * parse.c (parser_state::parser_state): Rename from
+       initialize_expout.
+       (parser_state::release): Rename from reallocate_expout.
+       (write_exp_elt, parse_exp_in_context_1, increase_expout_size):
+       Update.
+       (null_post_parser): Change type of "exp".
+       * dtrace-probe.c (dtrace_probe::build_arg_exprs): Update.
+       * ada-lang.c (resolve, resolve_subexp)
+       (replace_operator_with_call): Change type of "expp".
+       * language.h (struct language_defn) <la_post_parser>: Change type
+       of "expp".
+
+2017-12-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * dwarf2read.c (struct mapped_debug_names): Make final.
+       (struct mapped_index): Make final.
+
+2017-12-29  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * common/diagnostics.h
+       (DIAGNOSTIC_IGNORE_SWITCH_DIFFERENT_ENUM_TYPES): New macro.
+       * amd64-linux-tdep.c (amd64_canonicalize_syscall): Use it.
+
+2017-12-29  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * linux-thread-db.c (thread_db_detach): Remove call to
+       delete_thread_db_info.
+
+2017-12-28  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * target.h (enum target_object) <TARGET_OBJECT_HPUX_UREGS,
+       TARGET_OBJECT_HPUX_SOLIB_GOT>: Remove.
+
+2017-12-27  Franck Jullien  <franck.jullien@gmail.com>
+           Stafford Horne  <shorne@gmail.com>
+
+       * target-descriptions.c (tdesc_register_in_reggroup_p): Support
+       arbitrary strings.
+       (tdesc_use_registers): Add logic to register new reggroups.
+       (tdesc_reg::group): Update comment to indicate we allow
+       arbitrary strings.
+       * NEWS (Changes since GDB 8.0): Announce that GDB supports
+       arbitrary reggroups.
+
+2017-12-27  Stafford Horne  <shorne@gmail.com>
+
+       * reggroups.c (reggroup_gdbarch_new): New function.
+       (reggroup_find): New function.
+       * reggroups.h (reggroup_gdbarch_new): New function.
+       (reggroup_find): New function.
+
+2017-12-27  Stafford Horne  <shorne@gmail.com>
+
+       * reggroups.c (reggroups_init): Change to depend only on
+       obstack rather than gdbarch.
+       (reggroup_add): Remove logic for forcing premature init.
+       (_initialize_reggroup): Set `reggroups_data` with
+       gdbarch_data_register_pre_init() rather than
+       gdbarch_data_register_post_init().
+
+2017-12-27  Stafford Horne  <shorne@gmail.com>
+
+       * infcmd.c (_initialize_infcmd): Add help for info reg $reggroup
+       and info all-registers $reggroup feature.
+
+2017-12-23  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * target-descriptions.c (print_c_tdesc)
+       <printf_field_type_assignment>: Add ATTRIBUTE_PRINTF.
+
+2017-12-21  Simon Marchi  <simon.marchi@ericsson.com>
+           Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * target-descriptions.c (print_c_tdesc) <visit>: Don't output
+       field_type declaration, use printf_field_type_assignment
+       instead.
+       <printf_field_type_assignment>: New method.
+       * features/aarch64-core.c, features/aarch64-fpu.c
+       features/arc-arcompact.c, features/arc-v2.c,
+       features/arm/arm-with-iwmmxt.c, features/i386/32bit-core.c,
+       features/i386/32bit-mpx.c, features/i386/32bit-sse.c,
+       features/i386/64bit-avx512.c, features/i386/64bit-core.c,
+       features/i386/64bit-mpx.c, features/i386/64bit-sse.c,
+       features/i386/x32-core.c, features/or1k.c,
+       features/rs6000/powerpc-7400.c,
+       features/rs6000/powerpc-altivec32.c,
+       features/rs6000/powerpc-altivec32l.c,
+       features/rs6000/powerpc-altivec64.c,
+       features/rs6000/powerpc-altivec64l.c,
+       features/rs6000/powerpc-cell32l.c,
+       features/rs6000/powerpc-cell64l.c,
+       features/rs6000/powerpc-isa205-altivec32l.c,
+       features/rs6000/powerpc-isa205-altivec64l.c,
+       features/rs6000/powerpc-isa205-vsx32l.c,
+       features/rs6000/powerpc-isa205-vsx64l.c,
+       features/rs6000/powerpc-vsx32.c,
+       features/rs6000/powerpc-vsx32l.c,
+       features/rs6000/powerpc-vsx64.c,
+       features/rs6000/powerpc-vsx64l.c, features/s390-gs-linux64.c,
+       features/s390-tevx-linux64.c, features/s390-vx-linux64.c,
+       features/s390x-gs-linux64.c, features/s390x-tevx-linux64.c,
+       features/s390x-vx-linux64.c: Re-generate.
+
+2017-12-20  Uros Bizjak  <ubizjak@gmail.com>
+
+       * rs6000-tdep.c (ppc_deal_with_atomic_sequence): Remove
+       write-only assignment to "insn" variable.
+
+2017-12-20  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * spu-tdep.c (spu_gdbarch_init): Set set_gdbarch_significant_addr_bit
+       to 64 bits.
+       (ppc_linux_init_abi): Likewise, if Cell/B.E. is supported.
+
+2017-12-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_to_fixed_type_1): Rethrow errors with
+       a more detailed exception message when getting an exception
+       while trying to read the value of an XVZ variable.
+       * ada-valprint.c (ada_val_print): Only catch RETURN_MASK_ERROR
+       exceptions.  Print an error message when an exception is caught.
+
+2017-12-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (assign_component): Strip any TYPE_CODE_TYPEDEF
+       layer from lhs' type.
+       (assign_aggregate): Likewise.
+
+2017-12-18  Xavier Roirand  <roirand@adacore.com>
+
+       * ada-lang.c (ada_convert_actual): Change the way actual value
+       are passed to the inferior when the inferior expects a pointer type.
+
+2017-12-17  Stafford Horne  <shorne@gmail.com>
+
+       * gdb/or1k-tdep.c (show_or1k_debug): Fix function parameter alignment.
+       (or1k_analyse_inst): Likewise.
+       (or1k_single_step_through_delay): Likewise.
+       (or1k_frame_cache): Fix parameter alignment and use paddress()
+       instead of %x.
+
+2017-12-17  Stafford Horne  <shorne@gmail.com>
+
+       * NEWS (Changes since GDB 8.0): Mention new or1k target and new
+       commands to set/show or1k debug.
+
+2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * typeprint.c (whatis_exp): Fix ARI warning and reindent "if"
+       condition.
+
+2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       PR cli/16224
+       * NEWS (Changes since GDB 8.0): Mention new '/o' flag.
+       * c-typeprint.c (OFFSET_SPC_LEN): New define.
+       (c_type_print_varspec_prefix): New argument 'struct
+       print_offset_data *'.
+       (c_type_print_base_1): New function and prototype.
+       (c_print_type_1): New function, with code from 'c_print_type'.
+       (c_print_type): Use 'c_print_type_1'.
+       (c_type_print_varspec_prefix): New argument 'struct
+       print_offset_data *'.  Use it.  Call 'c_type_print_base_1'
+       instead of 'c_print_type_base'.
+       (print_spaces_filtered_with_print_options): New function.
+       (output_access_specifier): Take new argument FLAGS.  Modify
+       function to call 'print_spaces_filtered_with_print_options'.
+       (c_print_type_vtable_offset_marker): New function.
+       (c_print_type_union_field_offset): New function.
+       (c_print_type_struct_field_offset): New function.
+       (c_print_type_no_offsets): New function.
+       (c_type_print_base_struct_union): New argument 'struct
+       print_offset_data *'.  Print offsets and sizes for
+       struct/union/class fields.
+       * typeprint.c (const struct type_print_options
+       type_print_raw_options): Initialize 'print_offsets'.
+       (static struct type_print_options default_ptype_flags):
+       Likewise.
+       (struct print_offset_data print_offset_default_data): New
+       variable.
+       (whatis_exp): Handle '/o' option.
+       (_initialize_typeprint): Add '/o' flag to ptype's help.
+       * typeprint.h (struct print_offset_data): New struct.
+       (struct type_print_options) <print_offsets>: New field.
+
+2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * c-typeprint.c (need_access_label_p): New function.
+       (c_type_print_base_struct_union): New function.
+       (c_type_print_base): Move code to handle
+       TYPE_CODE_{STRUCT,UNION} to the functions mentioned above.
+
+2017-12-15  Richard Henderson  <rth@redhat.com>
+           Uros Bizjak  <ubizjak@gmail.com>
+
+       PR gdb/19061
+       * alpha-tdep.c (alpha_software_single_step): Call
+       alpha_deal_with_atomic_sequence here.
+       (set_gdbarch_software_single_step): Set to
+       alpha_software_single_step.
+       * nat/linux-ptrace.h [__alpha__]: Define GDB_ARCH_IS_TRAP_BRKPT
+       and GDB_ARCH_IS_TRAP_HWBKPT.
+
+2017-12-15  Yao Qi  <yao.qi@linaro.org>
+
+       * unittests/memory-map-selftests.c: Wrap test with HAVE_LIBEXPAT.
+
 2017-12-15  Xavier Roirand  <roirand@adacore.com>
 
        * ada-lang.c (ada_value_primitive_field): Handle field search
        in_inclusive_range.
 
 2017-10-30  Pedro Alves  <palves@redhat.com>
-           Simon Marchi <simon.marchi@ericsson.com>
+           Simon Marchi  <simon.marchi@ericsson.com>
 
        * remote.c (remote_set_syscall_catchpoint): Build a std::string
        instead of a gdb::unique_xmalloc_ptr, using string_appendf.
This page took 0.02813 seconds and 4 git commands to generate.