X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=b293515cea91f973a71e96f6c45cbf203c0c9379;hb=49d06418ada11004ca1cdc0ec5847358e83fc67a;hp=222f78700dac8c73afb627a12fca5b99a104a0c6;hpb=4aa4e28bdcf5f0d733def62b542fea11d5f219d5;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 222f78700d..b293515cea 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,817 @@ +2016-10-08 Simon Marchi + + * ui-out.c (push_level): Remove "id" parameter. + (ui_out_begin): Update call. + +2016-10-07 Joel Brobecker + + GDB 7.12 released. + +2016-10-07 Markus Metzger + + * python/python.c (gdbpy_decode_line): Call + string_to_event_location_basic instead of new_linespec_location. + +2016-10-06 Sergio Durigan Junior + + * target.c (target_supports_multi_process): New function, moved + from... + * target.h (target_supports_multi_process): ... here. Remove + macro. + * target/target.h (target_supports_multi_process): New prototype. + +2016-10-06 Pedro Alves + + * cp-valprint.c (vtbl_ptr_name): Write "extern const" instead of + EXPORTED_CONST. + * stub-termcap.c: Remove __cplusplus checks. + * common/common-defs.h [!__cplusplus] (EXTERN_C, EXTERN_C_PUSH, + EXTERN_C_POP): Delete. + * common/common-exceptions.h (GDB_XCPT_SJMP): Update comments. + (GDB_XCPT) [!__cplusplus]: Delete. + (throw_exception, throw_exception_sjlj): Update comments. + * guile/guile-internal.h (as_a_scm_t_subr) [!__cplusplus]: Delete. + * guile/guile.c (extension_language_guile): Write "extern const" + instead of EXPORTED_CONST. + * features/feature_to_c.sh: Don't emit !__cplusplus code. Write + "extern const" instead of EXPORTED_CONST. + +2016-10-06 Doug Evans + + * python/py-value.c (valpy_long): Handle unsigned values. + +2016-10-06 Simon Marchi + + * frame.h: Forward-declare struct ui_out. + +2016-10-06 Tom Tromey + + * MAINTAINERS: Remove Java test maintainer. + * varobj.h (java_varobj_ops): Don't declare. + * valprint.h (struct value_print_options) + : Update comment. + * utils.c (producer_is_gcc): Remove java reference. + * symtab.h (struct general_symbol_info): Remove java references. + (SYMBOL_SEARCH_NAME): Likewise. + * objfiles.c (allocate_objfile): Update comment. + * linespec.c (find_linespec_symbols): Remove java references. + * gnu-v3-abi.c (gnuv3_rtti_type, gnuv3_baseclass_offset): Remove + java references. + * gdbtypes.h (struct cplus_struct_type) : Remove. + (TYPE_CPLUS_REALLY_JAVA): Remove. + * c-varobj.c (enum vsections): Update comment. + * symtab.c (symbol_set_language, symbol_set_names) + (symbol_natural_name, symbol_demangled_name) + (demangle_for_lookup, symbol_matches_domain) + (default_make_symbol_completion_list_break_on_1): Remove java + references. + (JAVA_PREFIX, JAVA_PREFIX_LEN): Remove. + * psymtab.c (match_partial_symbol, psymtab_search_name) + (lookup_partial_symbol): Remove java references. + * dwarf2read.c (find_slot_in_mapped_hash): Remove java references. + (add_partial_symbol, dwarf2_compute_name, dwarf2_physname) + (dwarf2_add_member_fn, is_vtable_name, read_structure_type) + (process_structure_scope, read_subroutine_type) + (read_subrange_type, load_partial_dies) + (new_symbol_full, determine_prefix, typename_concat) + (dwarf2_name): Remove java references. + (set_cu_language): Treat Java as C++. + * c-typeprint.c (c_type_print_args): Remove java reference. + * defs.h (enum language) : Remove. + * Makefile.in (SFILES, HFILES_NO_SRCDIR, COMMON_OBS, YYFILES) + (YYOBJ, local-maintainer-clean): Don't mention java files. + * jv-exp.y, jv-lang.c, jv-lang.h, jv-typeprint.c, jv-valprint.c, + jv-varobj.c: Remove. + +2016-10-06 Maciej W. Rozycki + + * mips-tdep.c (mips_pseudo_register_type): Make FCRs always + 32-bit. + +2016-10-06 Maciej W. Rozycki + + * mips-tdep.c (mips_pseudo_register_type): Rearrange comments + throughout. + +2016-10-06 Markus Metzger + + * stack.c (frame_info): Call val_print_not_saved instead of + val_print_unavailable if frame_id check fails. + +2016-10-06 Pedro Alves + + * jit.c (free_objfile_data): Delete the JIT breakpoint and clear + the cached code address. + +2016-10-06 Doug Evans + + * features/aarch64-core.xml (cpsr_flags): Elide "type" and specify + "end" in all fields. + * features/aarch64.c: Regenerate. + * features/i386/32bit-mpx.xml (_bndcfgu): Specify type of "preserved" + and "enabled" fields. Correct size of "enabled" field. + * features/i386/64bit-mpx.xml (_bndcfgu): Specify type of "preserved" + and "enabled" fields. + * features/i386/i386-avx-mpx-linux.c: Regenerate. + * features/i386/i386-avx-mpx.c: Regenerate. + * features/i386/i386-avx512-linux.c: Regenerate. + * features/i386/i386-avx512.c: Regenerate. + * features/i386/i386-mpx-linux.c: Regenerate. + * features/i386/i386-mpx.c: Regenerate. + * features/arc-arcompact.c: Regenerate. + * features/arc-v2.c: Regenerate. + * xml-tdesc.c (tdesc_start_field): Require "end" spec. Single bit + fields default to "bool" type. + + Revert 2016-03-15 Doug Evans + * features/i386/32bit-core.xml (i386_eflags): Remove "end" spec. + * features/i386/32bit-sse.xml (i386_eflags): Ditto. + * features/i386/64bit-core.xml (i386_eflags): Ditto. + * features/i386/64bit-sse.xml (i386_eflags): Ditto. + * features/i386/x32-core.xml (i386_eflags): Ditto. + +2016-10-05 Tom Tromey + + PR breakpoints/20653: + * location.c (string_to_explicit_location): Use NULL, not '\0'. + +2016-10-05 Tom Tromey + + PR symtab/20652: + * psymtab.c (psymbol_compare): Correctly compare "ginfo.value" + fields. + +2016-10-05 Andreas Arnez + + * dwarf2expr.c (dwarf_expr_require_composition): Allow + DW_OP_GNU_uninit. + (execute_stack_op): Use dwarf_expr_require_composition instead of + copying its logic. + +2016-10-05 Anton Kolesov + + * arc-tdep.c (arc_frame_prev_register): Remove annoying log message. + +2016-10-05 Yao Qi + + * features/Makefile (WHICH): Add + rs6000/powerpc-isa205-32l, rs6000/powerpc-isa205-64l, + rs6000/powerpc-isa205-altivec32l, rs6000/powerpc-isa205-altivec64l, + rs6000/powerpc-isa205-vsx32l and rs6000/powerpc-isa205-vsx64l. + * regformats/rs6000/powerpc-isa205-32l.dat: Regenerated. + * regformats/rs6000/powerpc-isa205-64l.dat: Likewise. + * regformats/rs6000/powerpc-isa205-altivec32l.dat: Likewise. + * regformats/rs6000/powerpc-isa205-altivec64l.dat: Likewise. + * regformats/rs6000/powerpc-isa205-vsx32l.dat: Likewise. + * regformats/rs6000/powerpc-isa205-vsx64l.dat: Likewise. + +2016-10-05 Yao Qi + + * features/Makefile (XMLTOC): Add s390-tevx-linux64.xml, + s390-vx-linux64.xml, s390x-tevx-linux64.xml and + s390x-vx-linux64.xml. + +2016-10-05 Yao Qi + + * features/Makefile: Remove i386/*-expedite. Add i386-expedite, + amd64-expedite, and x32-expedite. + +2016-10-05 Terry Guo + Yao Qi + + * arm-tdep.c: Adjust includes. + * features/Makefile (WHICH): Add "arm/" directory to arm + target descriptions. + (XMLTOC): Likewise. + (arm/arm-with-iwmmxt.dat): Adjust the path for + dependencies. + * features/arm-core.xml: Moved to ... + * features/arm/arm-core.xml: ... it. + * features/arm-fpa.xml: Moved to ... + * features/arm/arm-fpa.xml: ... it. + * features/arm-m-profile.xml: Moved to ... + * features/arm/arm-m-profile.xm: ... it. + * features/arm-vfpv2.xml: Moved to ... + * features/arm/arm-vfpv2.xm: ... it. + * features/arm-vfpv3.xml: Moved to ... + * features/arm/arm-vfpv3.xml: ... it. + * features/arm-with-iwmmxt.c: Moved to ... + * features/arm/arm-with-iwmmxt.c: ... it. + * features/arm-with-iwmmxt.xml: Moved to ... + * features/arm/arm-with-iwmmxt.xml: ... it. + * features/arm-with-m-fpa-layout.c: Moved to ... + * features/arm/arm-with-m-fpa-layout.c: ... it. + * features/arm-with-m-fpa-layout.xml: Moved to ... + * features/arm/arm-with-m-fpa-layout.xml: ... it. + * features/arm-with-m-vfp-d16.c: Moved to ... + * features/arm/arm-with-m-vfp-d16.c: ... it. + * features/arm-with-m-vfp-d16.xml: Moved to ... + * features/arm/arm-with-m-vfp-d16.xml: ... it. + * features/arm-with-m.c: Moved to ... + * features/arm/arm-with-m.c: ... it. + * features/arm-with-m.xml: Moved to ... + * features/arm/arm-with-m.xm: ... it. + * features/arm-with-neon.c: Moved to ... + * features/arm/arm-with-neon.c: ... it. + * features/arm-with-neon.xml: Moved to ... + * features/arm/arm-with-neon.xml: ... it. + * features/arm-with-vfpv2.c: Moved to ... + * features/arm/arm-with-vfpv2.c: ... it. + * features/arm-with-vfpv2.xml: Moved to ... + * features/arm/arm-with-vfpv2.xml: ... it. + * features/arm-with-vfpv3.c: Moved to ... + * features/arm/arm-with-vfpv3.c: ... it. + * features/arm-with-vfpv3.xml: Moved to ... + * features/arm/arm-with-vfpv3.xml: ... it. + * features/xscale-iwmmxt.xml: Moved to ... + * features/arm/xscale-iwmmxt.xml: ... it. + +2016-10-03 Antoine Tremblay +2016-10-03 Simon Marchi + + PR gdb/20487 + * NEWS: Mention new frame field of =thread-selected event. + * cli/cli-decode.c (add_cmd): Initialize c->suppress_notification. + (add_com_suppress_notification): New function definition. + (cmd_func): Set and restore the suppress_notification flag. + * cli/cli-deicode.h (struct cmd_list_element) + : New field. + * cli/cli-interp.c (cli_suppress_notification): New global variable. + (cli_on_user_selected_context_changed): New function. + (_initialize_cli_interp): Attach to user_selected_context_changed + observer. + * command.h (struct cli_suppress_notification): New structure. + (cli_suppress_notification): New global variable declaration. + (add_com_suppress_notification): New function declaration. + * defs.h (enum user_selected_what_flag): New enum. + (user_selected_what): New enum flag type. + * frame.h (print_stack_frame_to_uiout): New function declaration. + * gdbthread.h (print_selected_thread_frame): New function declaration. + * inferior.c (print_selected_inferior): New function definition. + (inferior_command): Remove printing of inferior/thread/frame switch + notifications, notify user_selected_context_changed observer. + * inferior.h (print_selected_inferior): New function declaration. + * mi/mi-cmds.c (struct mi_cmd): Add user_selected_context + suppression to stack-select-frame and thread-select commands. + * mi/mi-interp.c (struct mi_suppress_notification) + : Initialize. + (mi_user_selected_context_changed): New function definition. + (_initialize_mi_interp): Attach to user_selected_context_changed. + * mi/mi-main.c (mi_cmd_thread_select): Print thread selection reply. + (mi_execute_command): Handle notification suppression. Notify + user_selected_context_changed observer on thread change instead of printing + event directly. Don't send it if command already sends the notification. + (command_notifies_uscc_observer): New function. + (mi_cmd_execute): Don't handle notification suppression. + * mi/mi-main.h (struct mi_suppress_notification) + : New field. + * stack.c (print_stack_frame_to_uiout): New function definition. + (select_frame_command): Notify user_selected_context_changed + observer. + (frame_command): Call print_selected_thread_frame if there's no frame + change or notify user_selected_context_changed observer if there is. + (up_command): Notify user_selected_context_changed observer. + (down_command): Likewise. + (_initialize_stack): Suppress user_selected_context notification for + command select-frame. + * thread.c (thread_command): Notify + user_selected_context_changed if the thread has changed, print + thread info directly if it hasn't. + (do_captured_thread_select): Do not print thread switch event. + (print_selected_thread_frame): New function definition. + * tui/tui-interp.c (tui_on_user_selected_context_changed): + New function definition. + (_initialize_tui_interp): Attach to user_selected_context_changed + observer. + +2016-09-29 Jan Kratochvil + + PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression + * exec.c (exec_file_locate_attach): Add parameter defer_bp_reset. + Use it. + * gdbcore.h (exec_file_locate_attach): Add parameter defer_bp_reset. + * infcmd.c (setup_inferior): Update caller. + * remote.c (remote_add_inferior): Likewise. + +2016-09-28 Pedro Alves + + * infcall.c (run_inferior_call): Remove input from the event + loop while running the infcall. + +2016-09-27 Fredrik Hederstierna + + * arm-tdep.c (arm_m_addr_is_magic): New function. + (arm_addr_bits_remove): Call arm_m_addr_is_magic. + (arm_m_exception_unwind_sniffer): Likewise. + +2016-09-23 Jon Turney + + * windows-nat.c (windows_delete_thread): Adjusting call to + target_mourn_inferior to include ptid_t argument. + +2016-09-23 Tom Tromey + + * utils.h (make_cleanup_dyn_string_delete): Remove declaration. + * utils.c: Don't include dyn-string.h. + (do_dyn_string_delete, make_cleanup_dyn_string_delete): Remove. + * cli/cli-cmds.c: Include . Don't include dyn-string.h. + (argv_to_string): Rename. Change return type to std::string. + (alias_command): Use std::string. + +2016-09-23 Tom Tromey + + * objfiles.c: Include . + (objfile_relocate): Use std::vector. + +2016-09-23 Tom Tromey + + * rust-lang.c: Include and . + (rust_evaluate_funcall): Use std::vector, std::string. + (rust_evaluate_subexp): Use std::string. + (rust_lookup_symbol_nonlocal): Use std::string. + +2016-09-23 Tom Tromey + + * cp-namespace.c: Include . + (cp_search_static_and_baseclasses) + (cp_lookup_symbol_imports_or_template, find_symbol_in_baseclass): + Use std::string. + +2016-09-23 Tom Tromey + + * break-catch-sig.c: Include . + (signal_catchpoint_print_one): Use std::string. + +2016-09-23 Tom Tromey + + * utils.c (struct restore_ui_out_closure): Remove. + * objfiles.h (terminate_minimal_symbol_table): Don't declare. + +2016-09-23 Yao Qi + + * nat/linux-osdata.c (linux_xfer_osdata_threads): Replace + sprintf with xsnprintf. + (linux_xfer_osdata_fds): Likewise. + +2016-09-23 Pedro Alves + + * Makefile.in (SFILES): Add common/new-op.c. + (COMMON_OBS): Add common/new-op.o. + (new-op.o): New rule. + * common/common-exceptions.h: Include . + (struct gdb_quit_bad_alloc): New type. + * common/new-op.c: New file. + +2016-09-22 Edjunior Barbosa Machado + + * rs6000-tdep.c (ppc_process_record_op31): Fix + regcache_raw_read_unsigned call using the correct parameter type. + +2016-09-22 Anton Kolesov + + * arc-tdep.c: Fix ARI warning for printf(%p). + +2016-09-21 Anton Kolesov + + * MAINTAINERS (Write After Approval): Add Anton Kolesov. + +2016-09-21 Anton Kolesov + + * Makefile.in (ALL_TARGET_OBS): Add arc-tdep.o. + (HFILES_NO_SRCDIR): Add arc-tdep.h. + (ALLDEPFILES): Add arc-tdep.c. + * NEWS: Mention new ARC port. + * configure.tgt: Add ARC. + * arc-tdep.c: New file. + * arc-tdep.h: New file. + * features/Makefile (XMLTOC): Add arc-v2.xml and arc-arcompact.xml. + * features/arc-v2.xml: New file. + * features/arc-v2.c: New file (generated). + * features/arc-arcompact.xml: New file. + * features/arc-arcompact.c: New file (generated). + +2016-09-21 Edjunior Barbosa Machado + + * rs6000-tdep.c (ppc_process_record_op63): Fix return of instruction + handlers. + +2016-09-21 Tom Tromey + + PR gdb/20604: + * top.h (quit_force): Update. + * top.c (quit_force): Changed type of first argument. Don't + evaluate expression. Pass NULL to kill_or_detach. + * cli/cli-cmds.c (quit_command): Evaluate "args". + +2016-09-21 Simon Marchi + + * .gitignore: Ignore more files. + * data-directory/.gitignore: Likewise. + +2016-09-21 Edjunior Barbosa Machado + + * rs6000-tdep.c (PPC_DQ): New macro. + (ppc_process_record_op4): Add Power ISA 3.0 instructions. + (ppc_process_record_op19): Likewise. + (ppc_process_record_op31): Likewise. + (ppc_process_record_op59): Likewise. + (ppc_process_record_op60): Likewise. + (ppc_process_record_op63): Likewise. + (ppc_process_record): Likewise. + (ppc_process_record_op61): New function. + +2016-09-21 Yao Qi + + * aarch32-linux-nat.c (aarch32_gp_regcache_collect): Keep + bits 20 to 23. + +2016-09-20 Tom Tromey + + * python/py-value.c (convert_value_from_python): Make PyInt_Check + conditional on Python 2. + * python/py-arch.c (archpy_disassemble): Make PyInt_Check + conditional on Python 2. + +2016-09-20 Edjunior Barbosa Machado + + * rs6000-tdep.c (ppc_process_record_op31): Fix record of Store String + Word instructions. + +2016-09-20 Sergio Durigan Junior + + * fork-inferior.c (startup_inferior): Pass 'event_ptid' instead of + 'resume_ptid' to 'target_mourn_inferior'. Fix regression + introduced by my last commit. + +2016-09-19 Pedro Alves + + * common/gdb_locale.h [!ENABLE_NLS] (gettext, dgettext, dcgettext, + textdomain, bindtextdomain): Delete macros. + * main.c (captured_main) [!ENABLE_NLS]: Skip bintextdomain and + textdomain calls. + +2016-09-19 Sergio Durigan Junior + + * darwin-nat.c (darwin_kill_inferior): Adjusting call to + target_mourn_inferior to include ptid_t argument. + * fork-child.c (startup_inferior): Likewise. + * gnu-nat.c (gnu_kill_inferior): Likewise. + * inf-ptrace.c (inf_ptrace_kill): Likewise. + * infrun.c (handle_inferior_event_1): Likewise. + * linux-nat.c (linux_nat_attach): Likewise. + (linux_nat_kill): Likewise. + * nto-procfs.c (interrupt_query): Likewise. + (procfs_interrupt): Likewise. + (procfs_kill_inferior): Likewise. + * procfs.c (procfs_kill_inferior): Likewise. + * record.c (record_mourn_inferior): Likewise. + * remote-sim.c (gdbsim_kill): Likewise. + * remote.c (remote_detach_1): Likewise. + (remote_kill): Likewise. + * target.c (target_mourn_inferior): Change declaration to accept + new ptid_t argument; use gdb_assert on it. + * target.h (target_mourn_inferior): Move function prototype from + here... + * target/target.h (target_mourn_inferior): ... to here. Adjust it + to accept new ptid_t argument. + * windows-nat.c (get_windows_debug_event): Adjusting call to + target_mourn_inferior to include ptid_t argument. + +2016-09-18 Pedro Alves + + * s390-linux-nat.c: Include . + +2016-09-18 Pedro Alves + + * breakpoint.c (hardware_watchpoint_inserted_in_range): Explicitly + specify the std:min/std::max specialization. + * exec.c (section_table_read_available_memory): Likewise. + * remote.c (remote_read_qxfer): Likewise. + * target.c (simple_verify_memory): Likewise. + +2016-09-16 Simon Marchi + + * infrun.c (restore_current_uiout_cleanup): Move to ui-out.c. + (print_stop_event): Use make_cleanup_restore_current_uiout. + * python/python.c (execute_gdb_command): Likewise. + * ui-out.c (restore_current_uiout_cleanup): Move from infrun.c. + (make_cleanup_restore_current_uiout): New function definition. + * ui-out.h (make_cleanup_restore_current_uiout): New function + declaration. + * utils.c (do_restore_ui_out): Remove. + (make_cleanup_restore_ui_out): Remove. + * utils.h (make_cleanup_restore_ui_out): Remove. + +2016-09-16 Pedro Alves + + * defs.h (min, max): Delete. + * aarch64-tdep.c: Include and use std::min and + std::max throughout. + * aarch64-tdep.c: Likewise. + * alpha-tdep.c: Likewise. + * amd64-tdep.c: Likewise. + * amd64-windows-tdep.c: Likewise. + * arm-tdep.c: Likewise. + * avr-tdep.c: Likewise. + * breakpoint.c: Likewise. + * btrace.c: Likewise. + * ctf.c: Likewise. + * disasm.c: Likewise. + * doublest.c: Likewise. + * dwarf2loc.c: Likewise. + * dwarf2read.c: Likewise. + * environ.c: Likewise. + * exec.c: Likewise. + * f-exp.y: Likewise. + * findcmd.c: Likewise. + * ft32-tdep.c: Likewise. + * gcore.c: Likewise. + * hppa-tdep.c: Likewise. + * i386-darwin-tdep.c: Likewise. + * i386-tdep.c: Likewise. + * linux-thread-db.c: Likewise. + * lm32-tdep.c: Likewise. + * m32r-tdep.c: Likewise. + * m88k-tdep.c: Likewise. + * memrange.c: Likewise. + * minidebug.c: Likewise. + * mips-tdep.c: Likewise. + * moxie-tdep.c: Likewise. + * nds32-tdep.c: Likewise. + * nios2-tdep.c: Likewise. + * nto-procfs.c: Likewise. + * parse.c: Likewise. + * ppc-sysv-tdep.c: Likewise. + * probe.c: Likewise. + * record-btrace.c: Likewise. + * remote.c: Likewise. + * rs6000-tdep.c: Likewise. + * rx-tdep.c: Likewise. + * s390-linux-nat.c: Likewise. + * s390-linux-tdep.c: Likewise. + * ser-tcp.c: Likewise. + * sh-tdep.c: Likewise. + * sh64-tdep.c: Likewise. + * source.c: Likewise. + * sparc-tdep.c: Likewise. + * symfile.c: Likewise. + * target-memory.c: Likewise. + * target.c: Likewise. + * tic6x-tdep.c: Likewise. + * tilegx-tdep.c: Likewise. + * tracefile-tfile.c: Likewise. + * tracepoint.c: Likewise. + * valprint.c: Likewise. + * value.c: Likewise. + * xtensa-tdep.c: Likewise. + * cli/cli-cmds.c: Likewise. + * compile/compile-object-load.c: Likewise. + +2016-09-16 Andreas Arnez + + * s390-linux-nat.c (PER_BIT, PER_EVENT_BRANCH, PER_EVENT_IFETCH) + (PER_EVENT_STORE, PER_EVENT_NULLIFICATION) + (PER_CONTROL_BRANCH_ADDRESS, PER_CONTROL_SUSPENSION) + (PER_CONTROL_ALTERATION): New macros. + (struct s390_debug_reg_state) : New member. + (s390_forget_process): Free break_areas as well. + (s390_linux_new_fork): Copy break_areas as well. + (s390_prepare_to_resume): Install hardware breakpoints. + (s390_can_use_hw_breakpoint): Indicate support for hardware + breakpoints. + (s390_insert_hw_breakpoint, s390_remove_hw_breakpoint): New + linux_nat target methods. + (_initialize_s390_nat): Register them. + +2016-09-16 Andreas Arnez + + * nat/linux-nat.h (lwp_is_stepping): New declaration. + * linux-nat.c (lwp_is_stepping): New function. + +2016-09-16 Andreas Arnez + + * s390-linux-nat.c (gdbcmd.h): New include. + (s390_show_debug_regs): New function. + (s390_stopped_by_watchpoint): Call it, if show_debug_regs is set. + (s390_prepare_to_resume): Likewise. + (_initialize_s390_nat): Register the command "maint set + show-debug-regs". + +2016-09-16 Andreas Arnez + + * s390-linux-nat.c (watch_areas): Remove variable. Replace by a + member of... + (struct s390_debug_reg_state): ...this. New struct. + (struct s390_process_info): New struct. + (s390_process_list): New variable. + (s390_find_process_pid, s390_add_process, s390_process_info_get) + (s390_get_debug_reg_state): New functions. + (s390_stopped_by_watchpoint): Now access the watch_areas VEC via + s390_get_debug_reg_state. + (s390_prepare_to_resume): Likewise. + (s390_insert_watchpoint): Likewise. + (s390_remove_watchpoint): Likewise. + (s390_forget_process, s390_linux_new_fork): New linux_nat target + methods. + (_initialize_s390_nat): Register them. + +2016-09-16 Andreas Arnez + + * s390-linux-nat.c (s390_watch_area): New typedef. Define a VEC. + (watch_base): Remove variable. + (watch_areas): New variable. + (s390_stopped_by_watchpoint): Transform operations on the + watch_base list to equivalent operations on the watch_areas VEC. + (s390_prepare_to_resume): Likewise. + (s390_insert_watchpoint): Likewise. + (s390_remove_watchpoint): Likewise. + +2016-09-16 Andreas Arnez + + * s390-linux-nat.c (s390_prepare_to_resume): Use advertised lwp + functions instead of accessing lwp_info structure members. + (s390_mark_per_info_changed): New function. + (s390_new_thread): Use it. + (s390_refresh_per_info_cb): New function. + (s390_refresh_per_info): Remove parameter. Refresh all lwps of + the current process. + (s390_insert_watchpoint): Adjust call to s390_refresh_per_info. + (s390_remove_watchpoint): Likewise. + +2016-09-09 Andreas Arnez + + * elfread.c (auxv.h): New include. + (elf_gnu_ifunc_resolve_addr): Pass HWCAP to ifunc resolver. + +2016-09-08 Tom Tromey + + * remote.c (remote_notif_stop_ack, remote_wait_as) + (show_remote_cmd): Remove unneeded casts. + +2016-09-06 Pedro Alves + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * gdbtypes.c (set_type_code): New function. + (init_type, arch_type): Use it. + +2016-09-05 Ulrich Weigand + + * 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 + + * 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 + + 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 PR gdb/11616: