new-ui command: gdb internal errors if input is already pending
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index dbd90ddb17a610d63c1c054da4561f12df358860..108528d7bbdb5f3c94229f326e3a27ee93adf38a 100644 (file)
@@ -1,3 +1,289 @@
+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
+       by target_continue{,_no_signal}, depending on the case.
+       * linux-nat.c (cleanup_target_stop): Call
+       target_continue_no_signal instead of target_resume.
+       * procfs.c (procfs_wait): Likewise.
+       * target.c (target_continue): New function.
+       * target/target.h (target_continue): New prototype.
+
+2016-08-31  Yao Qi  <yao.qi@linaro.org>
+
+       * record-full.c (record_full_insert_breakpoint): Fix typo.
+
+2016-08-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * thread.c (tp_array_compar): Insert missing parentheses.
+
+2016-08-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * xtensa-tdep.h (XTENSA_GDBARCH_TDEP_INSTANTIATE): Replace
+       designated initializer list by plain initializer list, for C++
+       compliance.
+
+2016-08-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+       * aarch64-linux-nat.c (ps_get_thread_area): Remove const from
+       struct ps_prochandle.
+       * amd64-linux-nat.c (ps_get_thread_area): Likewise.
+       * arm-linux-nat.c (ps_get_thread_area): Likewise.
+       * gdb_proc_service.h (ps_get_thread_area): Likewise.
+       * i386-linux-nat.c (ps_get_thread_area): Likewise.
+       * m68klinux-nat.c (ps_get_thread_area): Likewise.
+       * mips-linux-nat.c (ps_get_thread_area): Likewise.
+       * nat/aarch64-linux.c (aarch64_ps_get_thread_area): Likewise.
+       * nat/aarch64-linux.h (aarch64_ps_get_thread_area): Likewise.
+       * xtensa-linux-nat.c (ps_get_thread_area): Likewise.
+
+2016-08-24  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * infcmd.c (set_inferior_io_terminal): Set inferior terminal to
+       NULL if terminal_name is an empty string.
+       (_initialize_infcmd): Make the argument of "set inferior-tty"
+       optional, mention it in the help doc.
+
+2016-08-24  Carl Love  <cel@us.ibm.com>
+
+       * rs6000-tdep.c (rs6000_gdbarch_init): Remove call
+       set_gdbarch_deprecated_fp_regnum() architecture
+       initialization function.
+
+2016-08-23  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * stack.c (parse_frame_specification): Fix typo in comment.
+
+2016-08-23  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/20494
+       * inflow.c (our_terminal_info, initial_gdb_ttystate): Update
+       comments.
+       (enum gdb_has_a_terminal_flag_enum, gdb_has_a_terminal_flag):
+       Delete.
+       (set_initial_gdb_ttystate): Record our_terminal_info here too,
+       instead of ...
+       (gdb_has_a_terminal): ... here.  Reimplement in terms of
+       initial_gdb_ttystate.  Make static.
+       * terminal.h (gdb_has_a_terminal): Delete declaration.
+       (set_initial_gdb_ttystate): Add comment.
+       * top.c (show_interactive_mode): Use input_interactive_p instead
+       of gdb_has_a_terminal.
+
+2016-08-22  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/20505
+       * linux-tdep.c (linux_vsyscall_range_raw): For core inferiors,
+       find the vDSO's start address with AT_SYSINFO_EHDR too, and
+       determine the vDSO's size by finding the PT_LOAD segment that
+       matches AT_SYSINFO_EHDR.
+
+2016-08-19  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-tdep.c (aarch64_analyze_prologue): Handle register
+       based STP instruction.
+
+2016-08-19  Yao Qi  <yao.qi@linaro.org>
+
+       * completer.c (linespec_location_completer): Make file_to_match
+       null-terminated.
+
+2016-08-19  Pedro Alves  <palves@redhat.com>
+
+       * amd64-tdep.c (amd64_relocate_instruction) <callq>: Handle return
+       addresses over 0x7fffffff.
+
+2016-08-18  Carl Love  <cel@us.ibm.com>
+
+       * MAINTANERS Write After Approval): Add "Carl Love".
+
+2016-08-18  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
+
+       * rs6000-tdep.c (ppc_process_record_op31): Handle HTM instructions.
+
 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
 
        * inferior.c (remove_inferior_command): Fix error message.
This page took 0.027225 seconds and 4 git commands to generate.