Move internal_{,v}warning to common/errors.[ch]
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 8bae7d334db297016770ad76414f3143ff8702c0..4ce6d87e0ac360fd77cf06dc5b1425170262f2bb 100644 (file)
@@ -1,3 +1,151 @@
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * common/errors.h (internal_warning): New declaration.
+       (internal_vwarning): Likewise.
+       * common/errors.c (internal_warning): New function.
+       * utils.h (internal_warning): Don't declare.
+       (internal_vwarning): Likewise.
+       * utils.c (internal_warning): Removed.
+
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * main.c (captured_main): Use warning during startup.
+       Prefix startup warning messages with command name.
+
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * main.c (captured_main): Handle usage errors with error.
+
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * go32-nat.c (go32_create_inferior): Replace a fprintf/
+       exit pair with a call to error.  Wrap the message with _().
+
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * main.c (captured_main): Replace a fprintf/exit
+       pair with a call to error.  Wrap the message with _().
+
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
+       pairs with calls to error.  Wrap the message with _().
+
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * utils.c (vwarning): Protect calls to target_terminal_ours
+       and wrap_here.
+
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * exceptions.c (print_flush): Protect calls to
+       target_terminal_ours and wrap_here.
+
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * utils.h (filtered_printing_initialized): New declaration.
+       * utils.c (abort_with_message): New function.
+       (internal_vproblem): Use abort_with_message for first level
+       recursive internal problems, and if gdb_stderr is not set up.
+       Protect calls to target_terminal_ours, begin_line and query.
+
+2014-08-28  Doug Evans  <dje@google.com>
+
+       * symtab.c (in_prologue): Move definition to better spot.
+       (skip_prologue_using_sal): Ditto.
+
+2014-08-28  Doug Evans  <dje@google.com>
+
+       * symtab.c (find_function_start_sal): Move definition to better spot.
+
+2014-08-28  Yao Qi  <yao@codesourcery.com>
+
+       * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
+       found_stack_adjust in forward scan.  Remove condition check
+       on found_stack_adjust which is always true.  Indent the code.
+
+2014-08-28  Yao Qi  <yao@codesourcery.com>
+
+       * dwarf2read.c (dwarf_decode_lines): Update declaration.
+       (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
+       (dwarf_decode_lines): Remove argument
+       want_line_info.  Remove condition check on want_line_info.
+       Callers update.
+
+2014-08-27  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dwarf_record_line): Fix typo.
+
+2014-08-27  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * target.h (struct target_ops::to_terminal_save_ours): Remove
+       declaration.
+       (target_terminal_save_ours): Remove macro.
+       * target-delegates.c: Regenerate.
+       * inf-child.c (inf_child_target): Don't set the nonexistent
+       field to_terminal_save_ours.
+       * inferior.h (child_terminal_save_ours): Remove declaration.
+       * terminal.h (gdb_save_tty_state): New declaration.
+       * inflow.c (child_terminal_save_ours): Rename to ...
+       (gdb_save_tty_state): ... this.
+       * tui/tui.c: Include terminal.h.
+       (tui_enable): Use gdb_save_tty_state instead of
+       target_terminal_save_ours.
+       (tui_disable): Likewise.
+
+2014-08-25  Doug Evans  <dje@google.com>
+
+       * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
+       Pass NULL instead of 0 for context pointer.
+
+2014-08-25  Yao Qi  <yao@codesourcery.com>
+
+       * dwarf2read.c: Fix grammatical error.
+
+2014-08-24  Yao Qi  <yao@codesourcery.com>
+
+       * dwarf2read.c (scan_partial_symbols):  Update comments.
+       Rename argument 'need_pc' with 'set_addrmap'.
+       (add_partial_namespace): Rename argument 'need_pc' with
+       'set_addrmap'.
+       (add_partial_module): Likewise.
+       (add_partial_subprogram): Likewise.  Update comments.
+       (dwarf2_name): Fix typo.
+
+2014-08-22  Doug Evans  <dje@google.com>
+
+       PR 17276
+       * dwarf2read.c (dwarf_record_line_p): New function.
+       (dwarf_decode_lines_1): Ignore subsequent line number entries
+       for the same line if any entry had a non-zero discriminator.
+
+2014-08-22  Doug Evans  <dje@google.com>
+
+       * buildsym.h (record_line_ftype): New typedef.
+       (record_line): Use it.
+       * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
+       (dwarf_decode_lines_1): Call them.
+
+2014-08-22  Yao Qi  <yao@codesourcery.com>
+
+       * ctf.c (CTF_FILE_MIN_SIZE): Remove.
+       (ctf_end): Remove code.
+
+2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
+       (linux_make_corefile_notes): call update_thread_list, protected against
+       exceptions.
+
+2014-08-21  Pedro Alves  <palves@redhat.com>
+
+       * infcmd.c (attach_command): Remove comment.
+
+2014-08-21  Bin Cheng  <bin.cheng@arm.com>
+
+       * aarch64-linux-nat.c (dr_changed_t): Change the type from
+       unsigned LONGEST to ULONGEST.
+
 2014-08-20  Pedro Alves  <palves@redhat.com>
 
        * Makefile.in (check-read1): New rule.
This page took 0.027888 seconds and 4 git commands to generate.