varsize-limit error printing element of packed array...
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 0a8bee86c1b1cd1f0d609283c904972f345428ad..fc336adfabaf86ab208938ef6f0c45345d0c816d 100644 (file)
@@ -1,3 +1,236 @@
+2014-11-19  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (constrained_packed_array_type): Set the length
+       of the return array as if both bounds where zero if that
+       returned array's index type is dynamic.
+
+2014-11-19  Yao Qi  <yao@codesourcery.com>
+
+       * config/i386/go32.mh (CC): Remove.
+
+2014-11-18  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.h (SYMTAB_BLOCKVECTOR): Renamed from BLOCKVECTOR.  All uses
+       updated.
+
+2014-11-18  Doug Evans  <xdje42@gmail.com>
+
+       * buildsym.c (buildsym_objfile): New static global.
+       (buildsym_comp_dir): New static global.
+       (finish_block_internal): Delete arg objfile.  All callers updated.
+       (finish_block): Delete arg objfile.  All callers updated.
+       (start_subfile): Delete arg dirname.  All callers updated.
+       (patch_subfile_names): Update buildsym_comp_dir.
+       (get_macro_table): Delete arg objfile.  All callers updated.
+       (start_symtab): New arg objfile.  All callers updated.
+       Rename arg dirname to comp_dir.
+       (reset_symtab_globals): Initialize buildsym_objfile, buildsym_comp_dir.
+       (end_symtab_get_static_block): Delete arg objfile.  All callers
+       updated.
+       (end_symtab_without_blockvector): Ditto.
+       (end_symtab_with_blockvector): Ditto.
+       (end_symtab_from_static_block): Ditto.
+       (end_symtab): Ditto.
+       (end_expandable_symtab): Ditto.
+       (augment_type_symtab): Ditto.
+       * coffread.c (coff_start_symtab): New arg objfile.  All callers
+       updated.
+
+2014-11-18  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.h (SYMTAB_LINETABLE): Renamed from LINETABLE.  All uses
+       updated.
+
+2014-11-18  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.h (SYMTAB_DIRNAME): New macro.  All uses of member
+       symtab.dirname updated to use it.
+
+2014-11-18  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.h (SYMTAB_OBJFILE): New macro.  All uses of member
+       symtab.objfile updated to use it.
+
+2014-11-18  Doug Evans  <xdje42@gmail.com>
+
+       * buildsym.c (watch_main_source_file_lossage): Fix memory leak.
+
+2014-11-18  Doug Evans  <xdje42@gmail.com>
+
+       * cp-namespace.c (cp_lookup_symbol_imports_or_template): Use
+       SYMBOL_OBJFILE.
+       * findvar.c (default_read_var_value): Ditto.
+       * jv-lang.c (add_class_symtab_symbol): Ditto.
+       * parse.c (operator_check_standard): Ditto.
+       * printcmd.c (address_info): Ditto.
+       * symtab.c (fixup_symbol_section): Ditto.
+       (skip_prologue_sal): Ditto.
+       * tracepoint.c (scope_info): Ditto.
+       * valops.c (find_function_in_inferior): Ditto.
+       * guile/scm-symbol.c (syscm_eq_symbol_smob): Ditto.
+       * python/py-symbol.c (set_symbol): Ditto.
+
+2014-11-18  Doug Evans  <xdje42@gmail.com>
+
+       * buildsym.c (main_subfile): New static global.
+       (free_subfiles_list): New function.
+       (start_symtab): Set main_subfile.
+       (restart_symtab): Replace init of subfiles, current_subfile with
+       call to free_subfiles_list.
+       (watch_main_source_file_lossage): Use main_subfile.
+       (reset_symtab_globals): Replace init of current_subfile with call
+       to free_subfiles_list.
+       (end_symtab_without_blockvector, end_symtab_with_blockvector): New
+       functions, split out from ...
+       (end_symtab_from_static_block): ... here.  Rewrite to call them.
+
+2014-11-18  Doug Evans  <xdje42@gmail.com>
+
+       The result of symtab expansion is always a primary symtab.
+       * dwarf2read.c (dw2_instantiate_symtab): Add assert.
+       (dw2_lookup_symbol): Remove unnecessary test for primary symbol table.
+       * psymtab.c (lookup_symbol_aux_psymtabs): Ditto.
+       (psymtab_to_symtab): Add comment and assert.
+       (map_matching_symbols_psymtab): Remove unnecessary test for
+       non-primary symtab.
+
+2014-11-15  Doug Evans  <xdje42@gmail.com>
+
+       PR symtab/17559
+       * symtab.c (find_pc_line_symtab): New function.
+       * symtab.h (find_pc_line_symtab): Declare.
+       * disasm.c (gdb_disassembly): Call find_pc_line_symtab instead of
+       find_pc_symtab.
+       * tui/tui-disasm.c (tui_set_disassem_content): Ditto.
+       * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Ditto.
+       * tui/tui-source.c (tui_vertical_source_scroll): Ditto.
+       * tui/tui-win.c (make_visible_with_new_height): Ditto.
+       * tui/tui-winsource.c (tui_horizontal_source_scroll): Ditto.
+       (tui_display_main): Call find_pc_line_symtab instead of find_pc_line.
+
+2014-11-15  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.c (expand_symtab_containing_pc): Renamed from
+       find_pc_sect_symtab_via_partial.  All callers updated.
+
+2014-11-15  Yao Qi  <yao@codesourcery.com>
+
+       * go32-nat.c (go32_create_inferior): Add missing parenthesis.
+
+2014-11-14  Joel Brobecker  <brobecker@adacore.com>
+
+       * common/common-defs.h: Move <stdarg.h> #include ahead of
+       <stdio.h> #include.
+
+2014-11-14  Pedro Alves  <palves@redhat.com>
+
+       * charset.c [PHONY_ICONV && !EILSEQ] (EILSEQ): Don't define.
+       [!PHONY_ICONV] (gdb_iconv): New function.
+       [!PHONY_ICONV] (iconv): Redefine to gdb_iconv.
+
+2014-11-13  Doug Evans  <dje@google.com>
+
+       PR symtab/17591
+       * dwarf2read.c (find_slot_in_mapped_hash): Handle
+       "(anonymous namespace)".
+
+2014-11-13  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (update_enumeration_type_from_children): Avoid
+       infinite loop.
+
+2014-11-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * NEWS (maint set target-async): Fix typo.
+
+2014-11-12  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (enum infwait_states, infwait_state): Delete.
+
+2014-11-12  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (resume): Clear the thread's 'stepped_breakpoint' flag.
+       Rewrite stepping over a permanent breakpoint.
+       (thread_still_needs_step_over, proceed): Don't set
+       stepping_over_breakpoint for permanent breakpoints.
+       (handle_signal_stop): Don't clear stepped_breakpoint.  Also pull
+       single-step breakpoints out of the target on hardware step
+       targets.
+       (process_event_stop_test): If stepping a permanent breakpoint
+       doesn't hit the step-resume breakpoint, delete the step-resume
+       breakpoint.
+       (switch_back_to_stepped_thread): Also check if the stepped thread
+       has advanced already on hardware step targets.
+       (currently_stepping): Return true if the thread stepped a
+       breakpoint.
+
+2014-11-12  Pedro Alves  <palves@redhat.com>
+
+       Mark locations as permanent, not the whole breakpoint.
+       * breakpoint.c (remove_breakpoint_1, remove_breakpoint): Adjust.
+       (mark_breakpoints_out): Don't mark permanent breakpoints as
+       uninserted.
+       (breakpoint_init_inferior): Use mark_breakpoints_out.
+       (breakpoint_here_p): Adjust.
+       (bpstat_stop_status, describe_other_breakpoints): Remove handling
+       of permanent breakpoints.
+       (make_breakpoint_permanent): Mark each location as permanent,
+       instead of marking the breakpoint.
+       (add_location_to_breakpoint): If the location is permanent, mark
+       it as such, and as inserted.
+       (init_breakpoint_sal): Don't make the breakpoint permanent here.
+       (bp_location_compare, update_global_location_list): Adjust.
+       (update_breakpoint_locations): Don't make the breakpoint permanent
+       here.
+       (disable_breakpoint, enable_breakpoint_disp): Don't skip permanent
+       breakpoints.
+       * breakpoint.h (enum enable_state) <bp_permanent>: Delete field.
+       (struct bp_location) <permanent>: New field.
+       * guile/scm-breakpoint.c (bpscm_enable_state_to_string): Remove
+       reference to bp_permanent.
+
+2014-11-12  Pedro Alves  <palves@redhat.com>
+
+       * arch-utils.c (default_skip_permanent_breakpoint): New function.
+       * arch-utils.h (default_skip_permanent_breakpoint): New
+       declaration.
+       * gdbarch.sh (skip_permanent_breakpoint): Now an 'f' function.
+       Install default_skip_permanent_breakpoint as default method.
+       * i386-tdep.c (i386_skip_permanent_breakpoint): Delete function.
+       (i386_gdbarch_init): Don't install it.
+       * infrun.c (resume): Assume there's always a
+       gdbarch_skip_permanent_breakpoint implementation.
+       * gdbarch.h, gdbarch.c: Regenerate.
+
+2014-11-11  Daniel Colascione  <dancol@dancol.org>
+
+       Warn about cross-PID-namespace debugging.
+       * nat/linux-procfs.h (linux_proc_pid_get_ns): New prototype.
+       * nat/linux-procfs.c (linux_proc_pid_get_ns): New function.
+       * linux-thread-db.c (check_pid_namespace_match): New function.
+       (thread_db_inferior_created): Call it.
+
+2014-11-10  Doug Evans  <xdje42@gmail.com>
+
+       * symmisc.c (print_objfile_statistics): Remove trailing whitespace.
+       (maintenance_info_symtabs, maintenance_check_symtabs): Ditto.
+
+2014-11-10  Doug Evans  <xdje42@gmail.com>
+
+       * source.c (select_source_symtab): Rewrite to use ALL_SYMTABS.
+
+2014-11-10  Doug Evans  <xdje42@gmail.com>
+
+       PR symtab/17564
+       * symtab.c (lookup_symbol_in_all_objfiles): Delete.
+       (lookup_static_symbol): Move definition to new location and rewrite.
+       (lookup_symbol_in_objfile): New function.
+       (lookup_symbol_global_iterator_cb): Call it.
+
+2014-11-10  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * eval.c (evaluate_subexp_standard): Work around GCC bug 63748.
+
 2014-11-07  Pedro Alves  <palves@redhat.com>
 
        * infrun.c (process_event_stop_test) <subroutine check>: Don't
This page took 0.028971 seconds and 4 git commands to generate.