X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=6aac6d79eacdb6e6333d29f14bed93588dfa470e;hb=92bc6a206434a8b6922846d064e9c701a5a10a0e;hp=4d608f5514403fcc72f04a7f40ef4674a7ea64f0;hpb=d6682f9ee928ad479b5189bef428dbfca8b34241;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4d608f5514..6aac6d79ea 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,293 @@ +2013-03-11 Tom Tromey + + * 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) : 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) : 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 + + PR exp/15109: + * c-exp.y (yylex): Rewrite to push all tokens onto the FIFO. + Handle FILENAME token. + +2013-03-21 Tom Tromey + + * c-exp.y (YYPRINT): Define. + (c_print_token): New function. + +2013-03-21 Tom Tromey + + * c-exp.y (%union) : Remove. + +2013-03-21 Yao Qi + + * 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 + + * 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 + + PR gdb/15289 + + * cli/cli-setshow.c (do_set_command) + : 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. + : 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. + : Throw error if the value is greater + than INT_MAX, not greater or equal. + (do_show_command) : Use %d for printing int, not %u. + +2013-03-20 Tom Tromey + + * 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 + Tom Tromey + + 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) : 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) : New constant. + (struct symbol_impl): New. + (SYMBOL_ACLASS_BITS): New define. + (struct symbol) : Remove fields. + : 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 + + * psymtab.c (find_pc_sect_psymbol, fixup_psymbol_section) + (print_partial_symbols, recursively_search_psymtabs): Use + PSYMBOL_CLASS. + +2013-03-20 Pierre Muller + + * contrib/ari/gdb_ari.sh (OP eol rule): Also check + addtion, subtraction, multiplication and division binary operator. + +2013-03-20 Jan Kratochvil + + 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 + + * windows-nat.c (handle_output_debug_string): Replace call + to string_to_core_addr with call to strtoull. + +2013-03-20 Yao Qi + + * ctf.c (ctf_save_metadata_header): Define macro HOST_ENDIANNESS + and write it to CTF metadata. + +2013-03-19 Corinna Vinschen + + * 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 + + * 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 + + * remote-sim.c (sim_command_completer): Make char arguments const. + +2013-03-15 Tom Tromey + + PR c++/15116: + * gdbtypes.c (types_equal): Handle TYPE_CODE_FUNC. + +2013-03-14 Tom Tromey + + * gdb_bfd.c (struct gdb_bfd_data) : + 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) : Remove. + * symfile.c (get_file_crc): Move to gdb_bfd.c. + (separate_debug_file_exists): Use gdb_bfd_crc. + +2013-03-14 Tom Tromey + + * symfile.c (get_debug_link_info): Remove. + (find_separate_debug_file_by_debuglink): Use + bfd_get_debug_link_info. + +2013-03-14 Tom Tromey + + * 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 + Jan Kratochvil + + * 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 + + * source.c (print_source_lines_base): Make a local copy of + symtab_to_fullname. + +2013-03-14 Hui Zhu + Jan Kratochvil + + * source.c (print_source_lines_base): Suppress "file" for TUI. + +2013-03-14 Keith Seitz + Alan Matsuoka + + 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 * tracepoint.c (tfile_write_status): Write 'stop_desc' of trace