new-ui command: gdb internal errors if input is already pending
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 437fedbbe7ab65c4b223212a31842fea7126bd53..108528d7bbdb5f3c94229f326e3a27ee93adf38a 100644 (file)
@@ -1,3 +1,122 @@
+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.
This page took 0.035786 seconds and 4 git commands to generate.