+2013-03-11 Tom Tromey <tromey@redhat.com>
+
+ * tracepoint.h (decode_agent_options): Add 'trace_string'
+ argument.
+ * tracepoint.c (decode_agent_options): Add 'trace_string'
+ argument.
+ (validate_actionline): Update.
+ (collect_symbol): Add 'trace_string' argument.
+ (struct add_local_symbols_data) <trace_string>: New field.
+ (do_collect_symbol): Update.
+ (add_local_symbols): Add 'trace_string' argument.
+ (encode_actions_1): Update.
+ (trace_dump_actions): Update.
+ * dwarf2loc.c (access_memory): Update.
+ * ax.h (struct agent_expr) <tracing, trace_string>: New fields.
+ * ax-general.c (new_agent_expr): Update.
+ * ax-gdb.h (gen_trace_for_expr, gen_trace_for_var)
+ (gen_trace_for_return_address): Add argument.
+ (trace_kludge, trace_string_kludge): Remove.
+ * ax-gdb.c (trace_kludge, trace_string_kludge): Remove.
+ (gen_traced_pop, gen_fetch, gen_bitfield_ref, gen_expr): Update.
+ (gen_trace_for_var): Add 'trace_string' argument.
+ (gen_trace_for_expr, gen_trace_for_return_address): Likewise.
+ (gen_printf, agent_eval_command_one): Update.
+
+2013-03-21 Tom Tromey <tromey@redhat.com>
+
+ PR exp/15109:
+ * c-exp.y (yylex): Rewrite to push all tokens onto the FIFO.
+ Handle FILENAME token.
+
+2013-03-21 Tom Tromey <tromey@redhat.com>
+
+ * c-exp.y (YYPRINT): Define.
+ (c_print_token): New function.
+
+2013-03-21 Tom Tromey <tromey@redhat.com>
+
+ * c-exp.y (%union) <sym, ivar, ivec>: Remove.
+
+2013-03-21 Yao Qi <yao@codesourcery.com>
+
+ * ctf.c: Include "gdb_stat.h".
+ [USE_WIN32API]: New macro 'mkdir'.
+ (ctf_start): Use permission bits macros if they are defined.
+
+2013-03-20 Keith Seitz <keiths@redhat.com>
+
+ * breakpoint.h (struct breakpoint): Add comment to
+ extra_string indicating that this member is mallod'd.
+ * breakpoint.c (base_breakpoint_dtor): Free extra_string.
+
+2013-03-20 Pedro Alves <palves@redhat.com>
+
+ PR gdb/15289
+
+ * cli/cli-setshow.c (do_set_command)
+ <var_uinteger, var_zuinteger>: Use LONGEST for variable holding
+ the result of parsing the command argument. Throw error if the
+ value is greater than UINT_MAX. Print the invalid value with
+ plongest.
+ <var_integer, var_zinteger>: Use LONGEST for variable holding the
+ result of parsing the command argument. Throw error if the value
+ is greater than INT_MAX, not greater or equal. Also throw error
+ if the value is less than INT_MIN. Print the invalid value with
+ plongest.
+ <var_zuinteger_unlimited>: Throw error if the value is greater
+ than INT_MAX, not greater or equal.
+ (do_show_command) <var_integer, var_zinteger,
+ var_zuinteger_unlimited>: Use %d for printing int, not %u.
+
+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>
+
+ PR c++/15203
+ PR c++/15210
+ * cp-namespace.c (cp_lookup_nested_symbol): Handle TYPE_CODE_FUNC and
+ TYPE_CODE_METHOD.
+ * elfread.c (elf_symtab_read): Handle BSF_GNU_UNIQUE for certain
+ symbols.
+
+2013-03-14 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (tfile_write_status): Write 'stop_desc' of trace
+ status to tfile if trace is stopped by command 'tstop'.
+
+2013-03-14 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (tfile_write_status): Write trace notes and user
+ name into tfile if they are not NULL.
+
+2013-03-14 Hui Zhu <hui@codesourcery.com>
+ Yao Qi <yao@codesourcery.com>
+
+ * Makefile.in (REMOTE_OBS): Add ctf.o.
+ (SFILES): Add ctf.c.
+ (HFILES_NO_SRCDIR): Add ctf.h.
+ * ctf.c, ctf.h: New files.
+ * tracepoint.c: Include 'ctf.h'.
+ (collect_pseudocommand): Remove static.
+ (trace_save_command): Parse option "-ctf".
+ Produce different trace file writers per option.
+ Adjust output message.
+ (trace_save_tfile, trace_save_ctf): New.
+ * tracepoint.h (trace_save_tfile, trace_save_ctf): Declare.
+ * mi/mi-main.c: Include 'ctf.h'.
+ (mi_cmd_trace_save): Handle option '-ctf'. Call either
+ trace_save_tfile or trace_save_ctf.
+ * NEWS: Mention these changes.
+
2013-03-14 Yao Qi <yao@codesourcery.com>
* tracepoint.c (trace_file_writer_xfree): New.