X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=108528d7bbdb5f3c94229f326e3a27ee93adf38a;hb=4295e285efa8193504ee08b9f633d9f8680bf181;hp=1fb363d3cf93bf88dfb2d76c4e0a05222860d0ec;hpb=f245535cf583ae4ca13b10d47b3c7d3334593ece;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1fb363d3cf..108528d7bb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,156 @@ +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