Update ISA 3.0 / POWER9 gdb tests to match GAS test cases.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 60b595079a3a776775cc66c3a972641c42e3fd95..b58591466a81dc8c064174e2e2b171b2d448c5f0 100644 (file)
@@ -1,3 +1,197 @@
+2016-09-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * elfread.c (auxv.h): New include.
+       (elf_gnu_ifunc_resolve_addr): Pass HWCAP to ifunc resolver.
+
+2016-09-08  Tom Tromey  <tom@tromey.com>
+
+       * remote.c (remote_notif_stop_ack, remote_wait_as)
+       (show_remote_cmd): Remove unneeded casts.
+
+2016-09-06  Pedro Alves  <palves@redhat.com>
+
+       * top.c (wait_sync_command_done): Don't assume current_ui doesn't
+       change across events.  Restore the current UI before returning.
+       (gdb_readline_wrapper): Restore the current UI before returning.
+
+2016-09-06  Pedro Alves  <palves@redhat.com>
+
+       * event-top.c (restore_ui_cleanup): Now static.
+       (make_cleanup_restore_current_ui): New function.
+       (switch_thru_all_uis_init): Use it.
+       * infcall.c (call_thread_fsm_should_stop): Use it.
+       * infrun.c (fetch_inferior_event): Use it.
+       * top.c (new_ui_command): Use it.
+       * top.h (restore_ui_cleanup): Delete declaration.
+       (make_cleanup_restore_current_ui): New declaration.
+
+2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * i386-tdep.c (i386_floatformat_for_type): New function.
+       (i386_gdbarch_init): Install it.
+       * ppc-linux-tdep.c (ppc_floatformat_for_type): New function.
+       (ppc_linux_init_abi): Install it.
+
+2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdbarch.sh (floatformat_for_type): New gdbarch callback.
+       * gdbarch.h, gdbarch.c: Re-generate.
+       * arch-utils.h (default_floatformat_for_type): New prototype.
+       * arch-utils.c (default_floatformat_for_type): New function.
+
+       * doublest.c (floatformat_from_length): Remove.
+       (floatformat_from_type): Assume TYPE_FLOATFORMAT is non-NULL.
+       * gdbtypes.c (verify_floatformat): Require non-NULL format.
+
+       * dwarf2read.c (dwarf2_init_float_type): New function.
+       (read_base_type): Use it.
+       * stabsread.c (dbx_init_float_type): New function.
+       (read_sun_floating_type): Use it.
+       (read_range_type): Likewise.
+
+2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ada-lang.c (ada_language_arch_info): Use gdbarch-provided
+       platform ABI floating-point formats for built-in types.
+       * d-lang.c (build_d_types): Likewise.
+       * f-lang.c (build_fortran_types): Likewise.
+       * m2-lang.c (build_m2_types): Likewise.
+       * mdebugread.c (basic_type): Likewise.
+
+       * go-lang.c (build_go_types): Use IEEE floating-point formats
+       for language built-in types as mandanted by the language.
+       * jv-lang.c (build_java_types): Likewise.
+       * rust-lang.c (rust_language_arch_info): Likewise.
+       * stabsread.c (rs6000_builtin_type): Likewise.
+
+2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdbtypes.c (init_type): Remove "char" special case.
+       (arch_integer_type): Likewise.
+       (gdbtypes_post_init): Set TYPE_NOSIGN for "char" type.
+       (objfile_type): Likewise.
+       * mdebugread.c (basic_type): Likewise.
+       * stabsread.c (rs6000_builtin_type): Likewise.
+
+2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdbtypes.h (enum type_flag_value): Remove.
+       Remove references to TYPE_FLAG_... in comments throughout.
+       * gdbtypes.c (recursive_dump_type): Do not print TYPE_FLAG_... 
+       flags, print the corresponding TYPE_... access macro names.
+       Remove references to TYPE_FLAG_... in comments throughout.
+       * infcall.c: Remove references to TYPE_FLAG_... in comments.
+       * valprint.c: Likewise.
+       * gdb-gdb.py (class TypeFlag): No longer consider TYPE_FLAG_...
+       values, only TYPE_INSTANCE_FLAG_... values.
+       (class TypeFlagsPrinter): Likewise.
+
+2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdbtypes.h (init_type): Remove FLAGS argument.  Move OBJFILE
+       argument to first position.
+       (init_integer_type): New prototype.
+       (init_character_type): Likewise.
+       (init_boolean_type): Likewise.
+       (init_float_type): Likewise.
+       (init_decfloat_type): Likewise.
+       (init_complex_type): Likewise.
+       (init_pointer_type): Likewise.
+       * gdbtypes.c (verify_floatflormat): New function.
+       (init_type): Remove FLAGS argument and processing.  Move OBJFILE
+       argument to first position.
+       (init_integer_type): New function.
+       (init_character_type): Likewise.
+       (init_boolean_type): Likewise.
+       (init_float_type): Likewise.
+       (init_decfloat_type): Likewise.
+       (init_complex_type): Likewise.
+       (init_pointer_type): Likewise.
+       (arch_float_type): Use verify_floatflormat.
+       (objfile_type): Use init_..._type helpers instead of calling
+       init_type directly.
+       * dwarf2read.c (fixup_go_packaging): Update to changed init_type
+       prototype.
+       (read_namespace_type): Likewise.
+       (read_module_type): Likewise.
+       (read_typedef): Likewise.
+       (read_unspecified_type): Likewise.
+       (build_error_marker_type): Likewise.
+       (read_base_type): Use init_..._type helpers.
+       * mdebugread.c (basic_type): Use init_..._type helpers.
+       (parse_type): Update to changed init_type prototype.
+       (cross_ref): Likewise.
+       * stabsread.c (rs6000_builtin_type): Use init_..._type helpers.
+       (read_sun_builtin_type): Likewise.
+       (read_sun_floating_type): Likewise.
+       (read_range_type): Likewise.  Also update to changed init_type
+       prototype.
+
+2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdbtypes.h (arch_decfloat_type): New prototype.
+       (arch_pointer_type): Likewise.
+       * gdbtypes.c (arch_decfloat_type): New function.
+       (arch_pointer_type): Likewise.
+       (gdbtypes_post_init): Use arch_decfloat_type.
+       * avr-tdep.c (avr_gdbarch_init): Use arch_pointer_type.
+       * ft32-tdep.c (ft32_gdbarch_init): Likewise.
+       * m32c-tdep.c (make_types): Likewise.
+       * rl78-tdep.c (rl78_gdbarch_init): Likewise.
+
+2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdbtypes.c (set_type_code): New function.
+       (init_type, arch_type): Use it.
+
+2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ada-lang.c (ada_language_arch_info): Use gdbarch_long_double_bit
+       instead of gdbarch_double_bit for "long_long_float".
+
+2016-09-05  Pedro Alves  <palves@redhat.com>
+
+       * NEWS: Mention that a C++ compiler is now required.
+       * Makefile.in (COMPILER, COMPILER_CFLAGS): Remove.
+       (COMPILE.pre, CC_LD): Use CXX directly.
+       (INTERNAL_CFLAGS_BASE): Use CXXFLAGS directly.
+       * acinclude.m4: Don't include build-with-cxx.m4.
+       * build-with-cxx.m4: Delete file.
+       * configure.ac: Remove GDB_AC_BUILD_WITH_CXX call.
+       * warning.m4: Assume $enable_build_with_cxx is yes.
+       * configure: Regenerate.
+
+2016-09-05  Pedro Alves  <palves@redhat.com>
+
+       PR backtrace/19927
+       * frame.c (get_frame_id): Compute the frame id if not computed
+       yet.
+       (unwind_to_current_frame): Delete.
+       (get_current_frame): Use get_prev_frame_always_1 to get the
+       current frame and assert that that always succeeds.
+       (get_prev_frame_if_no_cycle): Skip cycle detection if returning
+       the current frame.
+
+2016-09-02  Tom Tromey  <tom@tromey.com>
+
+       PR gdb/11616:
+       * dwarf2read.c (decode_locdesc): Handle DW_OP_form_tls_address.
+       * dwarf2loc.c (dwarf2_compile_expr_to_ax): Handle
+       DW_OP_form_tls_address.
+       (locexpr_describe_location_piece): Likewise.
+       * dwarf2expr.h (struct dwarf_expr_context_funcs): Update comment.
+       * dwarf2expr.c (execute_stack_op): Handle DW_OP_form_tls_address.
+       (ctx_no_get_tls_address): Mention DW_OP_form_tls_address.
+       * compile/compile-loc2c.c (struct insn_info): Update comment.
+       (compute_stack_depth_worker): Handle DW_OP_form_tls_address.
+
+2016-09-01  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * target.c (target_wait): Mention that the function's prototype
+       can be found at target/target.h.
+       * target.h (target_wait): Move prototype from here...
+       * target/target.h (target_wait): ... to here.
+
 2016-09-01  Sergio Durigan Junior  <sergiodj@redhat.com>
 
        * fork-child.c (startup_inferior): Replace calls to target_resume
This page took 0.02639 seconds and 4 git commands to generate.