* ax-gdb.c (gen_var_ref): Unconditionally call via computed ops,
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 2d911aad6616af6a3a84b17a3e7e9054a509d717..aee132ee83b7581024166fd0e52ede87ab0f1e6e 100644 (file)
@@ -1,3 +1,212 @@
+2013-03-20  Tom Tromey  <tromey@redhat.com>
+
+       * ax-gdb.c (gen_var_ref): Unconditionally call via computed ops,
+       if possible.
+       * dwarf2read.c (read_func_scope): Remove old FIXME.
+       * eval.c (evaluate_subexp_standard): Check SYMBOL_COMPUTED_OPS,
+       not LOC_COMPUTED.
+       * findvar.c (symbol_read_needs_frame, default_read_var_value):
+       Unconditionally call via computed ops, if possible.
+       * printcmd.c (address_info): Unconditionally call via computed ops,
+       if possible.
+       * stack.c (read_frame_arg): Unconditionally call via computed ops,
+       if possible.
+       * symtab.c (register_symbol_computed_impl): Sanity check 'ops'.
+       * tracepoint.c (scope_info): Unconditionally call via computed ops,
+       if possible.
+
+2013-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Tom Tromey  <tromey@redhat.com>
+
+       PR symtab/8421:
+       * coffread.c (coff_register_index): New global.
+       (process_coff_symbol, coff_read_enum_type): Set
+       SYMBOL_ACLASS_INDEX.
+       (_initialize_coffread): Initialize new global.
+       * dwarf2loc.c (locexpr_find_frame_base_location)
+       (dwarf2_block_frame_base_locexpr_funcs)
+       (loclist_find_frame_base_location)
+       (dwarf2_block_frame_base_loclist_funcs): New.
+       (dwarf_expr_frame_base_1): Call SYMBOL_BLOCK_OPS, remove internal_error.
+       (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Add location_has_loclist.
+       * dwarf2loc.h (dwarf2_block_frame_base_locexpr_funcs)
+       (dwarf2_block_frame_base_loclist_funcs): New.
+       * dwarf2read.c (dwarf2_locexpr_index, dwarf2_loclist_index)
+       (dwarf2_locexpr_block_index, dwarf2_loclist_block_index): New
+       globals.
+       (read_func_scope): Update.
+       (fixup_go_packaging, mark_common_block_symbol_computed)
+       (var_decode_location, new_symbol_full, dwarf2_const_value):
+       Set SYMBOL_ACLASS_INDEX.
+       (dwarf2_symbol_mark_computed): Likewise.  Add 'is_block' argument.
+       (_initialize_dwarf2_read): Initialize new globals.
+       * jit.c (finalize_symtab): Set SYMBOL_ACLASS_INDEX.
+       * jv-lang.c (add_class_symbol): Set SYMBOL_ACLASS_INDEX.
+       * mdebugread.c (mdebug_register_index, mdebug_regparm_index): New
+       globals.
+       (parse_symbol, psymtab_to_symtab_1): Set SYMBOL_ACLASS_INDEX.
+       (_initialize_mdebugread): Initialize new globals.
+       * psympriv.h (struct partial_symbol) <aclass>: Update comment.
+       * stabsread.c (patch_block_stabs): Set SYMBOL_ACLASS_INDEX.
+       (stab_register_index, stab_regparm_index): New globals.
+       (define_symbol, read_enum_type, common_block_end): Set
+       SYMBOL_ACLASS_INDEX.
+       (_initialize_stabsread): Initialize new globals.
+       * symtab.c (next_aclass_value, symbol_impl, symbol_impls): New
+       globals.
+       (MAX_SYMBOL_IMPLS): New define.
+       (register_symbol_computed_impl, register_symbol_block_impl)
+       (register_symbol_register_impl)
+       (initialize_ordinary_address_classes): New functions.
+       (_initialize_symtab): Call initialize_ordinary_address_classes.
+       * symtab.h (enum address_class) <LOC_FINAL_VALUE>: New constant.
+       (struct symbol_impl): New.
+       (SYMBOL_ACLASS_BITS): New define.
+       (struct symbol) <aclass, ops>: Remove fields.
+       <aclass_index>: New field.
+       (symbol_impls): Declare.
+       (SYMBOL_CLASS, SYMBOL_COMPUTED_OPS, SYMBOL_REGISTER_OPS): Redefine.
+       (SYMBOL_IMPL, SYMBOL_ACLASS_INDEX): New defines.
+       (register_symbol_computed_impl, register_symbol_block_impl)
+       (register_symbol_register_impl): Declare.
+       (struct symbol_computed_ops): Add location_has_loclist.
+       (struct symbol_block_ops): New.
+       (SYMBOL_BLOCK_OPS): New.
+       * xcoffread.c (process_xcoff_symbol): Set SYMBOL_ACLASS_INDEX.
+
+2013-03-20  Tom Tromey  <tromey@redhat.com>
+
+       * psymtab.c (find_pc_sect_psymbol, fixup_psymbol_section)
+       (print_partial_symbols, recursively_search_psymtabs): Use
+       PSYMBOL_CLASS.
+
+2013-03-20  Pierre Muller  <muller@sourceware.org>
+
+       * contrib/ari/gdb_ari.sh (OP eol rule): Also check
+       addtion, subtraction, multiplication and division binary operator.
+
+2013-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * bfd-target.c (target_bfd_xclose): Remove parameter quitting.
+       * bsd-kvm.c (bsd_kvm_close): Likewise.
+       * bsd-uthread.c (bsd_uthread_close): Likewise.
+       * corelow.c (core_close): Likewise.
+       (core_close_cleanup): Remove parameter quitting from a caller.
+       * event-top.c (async_disconnect): Likewise.
+       * exec.c (exec_close_1): Remove parameter quitting.
+       * go32-nat.c (go32_close): Likewise.
+       * linux-nat.c (linux_nat_close): Remove parameter quitting.  Remove
+       parameter quitting from a caller.
+       * mips-linux-nat.c (super_close): Remove parameter quitting from the
+       variable.
+       (mips_linux_close): Remove parameter quitting.  Remove parameter
+       quitting from a caller.
+       * monitor.c (monitor_close): Remove parameter quitting.
+       * monitor.h (monitor_close): Likewise.
+       * record-btrace.c (record_btrace_close): Likewise.
+       * record-full.c (record_full_close): Likewise.
+       * remote-m32r-sdi.c (m32r_close): Remove parameter quitting and remove
+       it also from fprintf_unfiltered.
+       * remote-mips.c (mips_close): Remove parameter quitting.
+       (mips_detach): Remove parameter quitting from a caller.
+       * remote-sim.c (gdbsim_close): Remove parameter quitting.
+       (gdbsim_close): Remove duplicate function comment.  Remove parameter
+       quitting and remove it also from printf_filtered.
+       * remote.c (remote_close): Remove parameter quitting.
+       * solib-svr4.c (enable_break): Remove parameter quitting from a caller.
+       * target.c (update_current_target): Remove parameter int from to_close
+       de_fault.
+       (push_target, unpush_target, pop_target): Remove parameter quitting from
+       a caller.
+       (pop_all_targets_above, pop_all_targets): Remove parameter quitting.
+       Remove parameter quitting from a caller.
+       (target_preopen): Remove parameter quitting from a caller.
+       (target_close): Remove parameter quitting.  Remove parameter quitting
+       from a caller two times.  Remove parameter quitting also from
+       fprintf_unfiltered.
+       * target.h (struct target_ops): Remove parameter quitting and as int
+       from fields to_xclose and to_close.
+       (extern struct target_ops current_target):
+       (target_close, pop_all_targets): Remove parameter quitting.  Update the
+       comment.
+       (pop_all_targets_above): Remove parameter quitting.
+       * top.c (quit_target): Remove parameter quitting from a caller.
+       * tracepoint.c (tfile_close): Remove parameter quitting.
+       * windows-nat.c (windows_close): Remove parameter quitting.
+
+2013-03-20  Corinna Vinschen  <vinschen@redhat.com>
+
+       * windows-nat.c (handle_output_debug_string): Replace call
+       to string_to_core_addr with call to strtoull.
+
+2013-03-20  Yao Qi  <yao@codesourcery.com>
+
+       * ctf.c (ctf_save_metadata_header): Define macro HOST_ENDIANNESS
+       and write it to CTF metadata.
+
+2013-03-19  Corinna Vinschen  <vinschen@redhat.com>
+
+       * windows-nat.c (handle_output_debug_string): Change type of n to
+       SIZE_T to avoid crash on 64 bit systems.
+
+2013-03-17  Eli Zaretskii  <eliz@gnu.org>
+
+       * python/python-internal.h (HAVE_SNPRINTF)
+       [_WIN32 && HAVE_DECL_SNPRINTF]: Define, to avoid compiler warnings
+       about redefinition of snprintf by pyerrors.h.
+
+2013-03-15  Steve Ellcey  <sellcey@mips.com>
+
+       * remote-sim.c (sim_command_completer): Make char arguments const.
+
+2013-03-15  Tom Tromey  <tromey@redhat.com>
+
+       PR c++/15116:
+       * gdbtypes.c (types_equal): Handle TYPE_CODE_FUNC.
+
+2013-03-14  Tom Tromey  <tromey@redhat.com>
+
+       * gdb_bfd.c (struct gdb_bfd_data) <crc_computed, crc>:
+       New fields.
+       (get_file_crc): Move from symfile.c.
+       (gdb_bfd_crc): New function.
+       * gdb_bfd.h (gdb_bfd_crc): Declare.
+       * objfiles.h (struct objfile) <crc32, crc32_p>: Remove.
+       * symfile.c (get_file_crc): Move to gdb_bfd.c.
+       (separate_debug_file_exists): Use gdb_bfd_crc.
+
+2013-03-14  Tom Tromey  <tromey@redhat.com>
+
+       * symfile.c (get_debug_link_info): Remove.
+       (find_separate_debug_file_by_debuglink): Use
+       bfd_get_debug_link_info.
+
+2013-03-14  Tom Tromey  <tromey@redhat.com>
+
+       * symtab.c (error_in_psymtab_expansion): New function.
+       (lookup_symbol_aux_quick)
+       (basic_lookup_transparent_type_quick): Remove "last resort"
+       code.  Use error_in_psymtab_expansion.
+
+2013-03-14  Doug Evans  <dje@google.com>
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2read.c (dw2_map_symtabs_matching_filename): Put continue after
+       any successful compare_filenames_for_search or FILENAME_CMP.
+       * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
+       * symtab.c (iterate_over_some_symtabs): Likewise.
+
+2013-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * source.c (print_source_lines_base): Make a local copy of
+       symtab_to_fullname.
+
+2013-03-14  Hui Zhu  <hui_zhu@mentor.com>
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * source.c (print_source_lines_base): Suppress "file" for TUI.
+
 2013-03-14  Keith Seitz  <keiths@redhat.com>
            Alan Matsuoka  <alanm@redhat.com>
 
This page took 0.028563 seconds and 4 git commands to generate.