Add missing cleanups to defaulted_query and prompt_for_continue
[external/binutils.git] / gdb / ChangeLog
index 8fa4b02..83235c3 100644 (file)
@@ -1,5 +1,39 @@
 2016-04-12  Pedro Alves  <palves@redhat.com>
 
+       * utils.c (defaulted_query, prompt_for_continue): Free temporary
+       strings with cleanups, instead of xfree.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * utils.c (vwarning, internal_vproblem): Use
+       make_cleanup_restore_target_terminal and
+       target_terminal_ours_for_output.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * infcmd.c (post_create_inferior, prepare_one_step): Use
+       target_terminal_ours_for_output instead of target_terminal_ours.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * exceptions.c (print_flush): Use target_terminal_ours_for_output
+       instead of target_terminal_ours, and restore target terminal with
+       a cleanup.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * cp-support.c (gdb_demangle): Use target_terminal_ours_for_output
+       instead of target_terminal_ours, and restore target terminal with
+       a cleanup.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
+       * ada-lang.c (type_as_string, type_as_string_and_cleanup): New
+       functions.
+       (ada_lookup_struct_elt_type): Use type_as_string_and_cleanup.
+
+2016-04-12  Pedro Alves  <palves@redhat.com>
+
        * ser-base.c (fd_event): Retry read_prim on EINTR.
        (do_ser_base_readchar): Retry read_prim on EINTR.
        (ser_base_write): Retry write_prim on EINTR.