X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=e4cbe05e3619c2159da2708cccfcb9a6a7ffcec1;hb=8eacb197657337dd8eb09c716b8d7f3679a0952c;hp=632305668975290f1c847a7c513ced7bcfd96cac;hpb=46212e0bb5c0c74454045ef9410f80f1c9b44ddd;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6323056689..e4cbe05e36 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,450 @@ +2013-01-31 Tom Tromey + + * jit.c (jit_program_space_data): Rename from jit_inferior_data; + change type. + (struct jit_program_space_data): Rename from jit_inferior_data. + Update comments. + (get_jit_program_space_data): Rename from get_jit_inferior_data. + Change return type. Attach data to program space. + (jit_program_space_data_cleanup): Rename from + jit_inferior_data_cleanup; change argument type. + (jit_read_descriptor): Change 'inf_data' argument to 'ps_data', + change type. + (jit_register_code): Update. + (jit_update_inferior_cache): Remove. + (jit_breakpoint_deleted): Get jit data from the location's program + space. + (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to + 'ps_data', change type. + (jit_inferior_init, jit_breakpoint_re_set_internal) + (jit_event_handler): Update. + (free_objfile_data): Get data from objfile's program space. + (_initialize_jit): Update. + +2013-01-31 Tom Tromey + + PR gdb/13987: + * jit.c (struct jit_inferior_data) : New fields. + (jit_breakpoint_re_set_internal): Fix logging. Only create + breakpoint if cached address has changed. + (jit_update_inferior_cache, jit_breakpoint_deleted): New + functions. + (_initialize_jit): Register breakpoint deleted observer. + +2013-01-31 Aleksandar Ristovski + + * infrun.c (handle_syscall_event): Remove unused gdbarch. + (save_infcall_suspend_state): Ifdef out unused inf. + (restore_infcall_suspend_state): Ifdef out unused inf. + * jit.c (jit_register_code): Remove unused i, b, inf_data. + (jit_frame_sniffer): Remove unused inf_data. + +2013-01-31 Aleksandar Ristovski + + * c-exp.y (classify_inner_name): Remove unused type. + * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed, + in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished, + need_escape. + (c_get_string): Remove unused kind. + * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2. + +2013-01-31 Aleksandar Ristovski + + * charset.c (intermediate_encoding): Remove unused i. + * completer.c (signal_completer): Remove unused i. + * continuations.c (discard_my_continuations_1): Remove unused + continuation_ptr. + * corelow.c (core_close): Remove unuseD name. + (get_core_siginfo): Remove unused pid. + * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused + i, cps. + * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset. + (loclist_describe_location): Remove unused first. + * event-top.c (command_line_handler): Remove unused got_eof. + * exec.c (exec_close_1): Remove unused need_symtab_cleanup. + (resize_section_table): Remove unused old_value. + * gdb_bfd.c (gdb_bfd_map_section): Remove unused header. + * gnu-v3-abi.c (compute_vtable_size): Remove unused addr. + * i386-tdep.c (i386_process_record): Remove unused rex. + * infcmd.c (get_return_value): Remove unused uiout. + * jv-lang.c (type_from_class): Remove unused is_array. + * jv-valprint.c (java_val_print): Remove unused i. + * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid. + * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid. + * m2-typeprint.c (m2_print_type): Remove unused code. + * macroexp.c (get_character_constant): Remove unused body_start. + (macro_stringify): Remove unused result. + * objc-lang.c (find_methods): Remove unused gdbarch. + * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2. + * regcache.c (regcache_cooked_read): Remove unused gdbarch. + * stack.c (print_frame_args): Remove unused summary. + * thread.c (thread_apply_command): Remove unused p. + * valarith.c (value_x_unop): Remove unused mangle_ptr. + * valops.c (search_struct_method): Remove unused skip. + * valprint.c (generic_val_print): Remove unused byte_order. + * varobj.c (varobj_update): Remove unused changed. + * cli/cli-cmds.c (complete_command): Remove unused next_item. + (alias_command): Remove unused c. + * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c. + * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused + format. + (mi_cmd_data_write_memory): Remove unused word_format. + (mi_cmd_data_write_memory_bytes): Remove unused r. + * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused + p_start, p_end. + * python/python.c (_initialize_python): Remove unused cmd_name, cmd. + * tui/tui-disasm.c (tui_set_disassem_content): Remove unused + line_width. + +2013-01-31 Aleksandar Ristovski + + * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs. + * symtab.c (iterate_over_symtabs): Remove unused s. + (find_pc_sect_symtab): Remove unused pspAce. + (find_pc_sect_line): Remove unused alt_symtab. + (find_pcs_for_symtab_line): Remove unused ix, previous_function. + (completion_list_add_name): Remove unused newsize. + +2013-01-31 Tom Tromey + + PR c++/14998: + * dwarf2read.c (read_tag_ptr_to_member_type): Handle + TYPE_CODE_FUNC. + +2013-01-31 Aleksandar Ristovski + + * target.c (target_read_string): Remove unused origlen. + +2013-01-31 Aleksandar Ristovski + + * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec. + * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt. + * ax-general.c (ax_print): Remove unused is_float. + * blockframe.c (block_innermost_frame): Remove unused start, end. + * break-catch-sig.c (catch_signal_command): Remove unused gdbarch. + +2013-01-31 Aleksandar Ristovski + + * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo. + (svr4_read_so_list): Remove unused lmo. + * solib-target.c (solib_target_relocate_section_addresses): Remove + unused flags. + +2013-01-30 Tom Tromey + + * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0". + +2013-01-30 Tom Tromey + + * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32. + * utils.c (gnu_debuglink_crc32): Remove. + * utils.h (gnu_debuglink_crc32): Don't declare. + +2013-01-30 Tom Tromey + + * dwarf2read.c (compute_delayed_physnames, read_call_site_scope) + (read_structure_type, read_enumeration_type): Remove cast. + +2013-01-30 Tom Tromey + + * dwarf2read.c (read_namespace_type): Remove cast. + (read_typedef): Likewise. + +2013-01-29 Tom Tromey + + * dwarf2read.c (free_dwo_file): Remove assert. + +2013-01-29 Tom Tromey + + * value.c (deprecated_set_value_modifiable): Remove. + * value.h (deprecated_set_value_modifiable): Remove. + +2013-01-28 Doug Evans + + * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address + to addresses from dwo files. + +2013-01-25 Siva Chandra Reddy + + * valops.c (find_overload_match): Remove unused argument 'lax'. + * value.h: Remove unused argument 'lax' from the declaration of + find_overload_match. + * eval.c (value_subexp_standard): Do not pass a 'lax' argument + to find_overload_match. + * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax' + argument to find_overload_match. + +2013-01-25 Tom Tromey + + * dwarf2read.c (processing_has_namespace_info): Remove. + (struct dwarf2_cu) : New field. + (process_die, read_func_scope, dwarf2_start_symtab) + (new_symbol_full): Update. + +2013-01-25 Tom Tromey + + * cp-namespace.c (cp_set_block_scope): Remove. + * cp-support.h (cp_set_block_scope): Remove. + * dbxread.c: Include block.h. + (cp_set_block_scope): New function. + (process_one_symbol): Update. + * dwarf2read.c (read_func_scope): Use block_set_scope. + +2013-01-25 Pedro Alves + + * remote.c (add_current_inferior_and_thread): Tweak comment. + +2013-01-25 Tom Tromey + + * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update. + (cp_add_using_directive): Add 'copy_names' argument. + * cp-support.h (cp_add_using_directive): Update. + (struct using_direct) : Now const. + * dwarf2read.c (read_import_statement): Use obconcat. + Don't copy names passed to cp_add_using_directive. + +2013-01-25 Tom Tromey + + * c-exp.y (qualified_name): Use TYPE_SAFE_NAME. + +2013-01-25 Pedro Alves + + * remote.c (stop_reply_extract_thread): New. + (add_current_inferior_and_thread): New parameter 'wait_status'. + Handle it. + (remote_start_remote): Pass wait status to + add_current_inferior_and_thread. + (extended_remote_run): Update comment. + (extended_remote_create_inferior_1): Pass wait status to + add_current_inferior_and_thread. + +2013-01-25 Andrew Burgess + Ulrich Weigand + + * valarith.c (value_vector_widen): New function for replicating a + scalar into a vector. + (value_binop): Use value_vector_widen to widen scalar to vector + rather than casting, this better matches gcc C behaviour. + * valops.c (value_casst): Update logic for casting between vector + types, and for casting from scalar to vector, try to match gcc C + behaviour. + * value.h (value_vector_widen): Declare. + * opencl-lang.c (opencl_value_cast): New opencl specific casting + function, handle special case for casting scalar to vector. + (opencl_relop): Use opencl_value_cast. + (evaluate_subexp_opencl): Use opencl_value_cast instead of + value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE + in order to use opencl_value_cast. + +2013-01-25 Yao Qi + + * event-loop.c: Include "queue.h". + (gdb_event_p): New typedef. + (DECLARE_QUEUE_P): Use. + (DEFINE_QUEUE_P): Use. + (async_queue_event): Remove. + (gdb_event_xfree): New. + (initialize_event_loop): New. + (process_event): Use QUEUE macros. + (event_queue): Remove. + (gdb_wait_for_event): Caller update. + (check_async_event_handlers): Likewise. + (poll_timers): Likewise. + * event-loop.h (initialize_event_loop): Declare. + * event-loop.c (gdb_event_xfree): New. + * top.c (gdb_init): Call initialize_event_loop. + +2013-01-25 Yao Qi + + * event-loop.c (async_queue_event): Remove one parameter + 'position'. Remove code handling 'position' == TAIL. + (gdb_wait_for_event): Caller update. + (check_async_event_handlers): Caller update. + (poll_timers): Caller update. + * event-loop.h (enum queue_position): Remove. + +2013-01-25 Maxim Kuvyrkov + + * MAINTAINERS: Update my email. + +2013-01-25 Yao Qi + + * main.c (print_gdb_help): Remove "--epoch" from the help + message. + +2013-01-24 Ulrich Weigand  + + * symtab.c (skip_prologue_using_sal): Consider a file + change the same as an increased line number + +2013-01-24 Tiago Stürmer Daitx  + + * MAINTAINERS (Write After Approval): Add myself to the list. + +2013-01-24 Tom Tromey + + * ada-lang.h (ada_decode_symbol): Make return type const. + * ada-lang.c (ada_decode_symbol): Likewise. + +2013-01-23 Doug Evans + + * linespec.c (find_linespec_symbols): Make static. + +2013-01-23 Tiago Stürmer Daitx + + * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct + type on float conversion for complex type. + +2013-01-23 Siva Chandra Reddy + + Add a new class gdb.Architecture which exposes GDB's + internal representation of architecture via GDB Python API. + * Makefile.in: Add entries corresponding to the new file + python/py-arch.c. + * NEWS (Python Scripting): Add entries for the new class + gdb.Architecture and the new method gdb.Frame.architecture. + * python/py-arch.c: Implement gdb.Architecture class. + * python/py-frame.c (frapy_arch): Implement the method + gdb.Frame.architecture(). + (frame_object_methods): Add 'architecture' to the method table. + * python/python-internal.h: Add declarations of new utility + functions. + * python/python.c (_initialize_python): Initialize + gdb.Architecture class. + +2013-01-23 Doug Evans + + Work around binutils/15021. + * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and + type_unit_group out of union s. All uses updated. + (read_index_from_section): Watch for index version 8. + (follow_die_sig): If using .gdb_index version <= 7, record the TU as + an imported symtab. + (write_psymtabs_to_index): Increment version number to 8. + +2013-01-22 Pedro Alves + + * annotate.c (breakpoint_changed): Skip if breakpoint is not + user-visible. + +2013-01-22 Pedro Alves + + * annotate.c (annotate_breakpoints_changed): Rename to ... + (annotate_breakpoints_invalid): ... this. Make static. + (breakpoint_changed): Adjust. + (_initialize_annotate): Always install the observers. Install a + "breakpoint_created" observer. + * annotate.h (annotate_breakpoints_changed): Delete declaration. + * breakpoint.c (set_breakpoint_condition) + (breakpoint_set_commands, do_map_commands_command) + (init_raw_breakpoint, clear_command, set_ignore_count) + (enable_breakpoint_disp): No longer call + annotate_breakpoints_changed. + +2013-01-22 Pedro Alves + + * annotate.c: Include "inferior.h". + (frames_invalid_emitted) + (breakpoints_invalid_emitted): New globals. + (async_background_execution_p): New function. + (annotate_breakpoints_changed, annotate_frames_invalid): Skip + emitting the annotation if it has already been emitted. + (annotate_display_prompt): New function. + * annotate.h (annotate_display_prompt): New declaration. + * event-top.c: Include annotate.h. + (display_gdb_prompt): Call annotate_display_prompt. + +2013-01-22 Pedro Alves + + * annotate.c (ignore_count_changed): Delete. + (annotate_breakpoints_changed): Don't clear ignore_count_changed. + (annotate_ignore_count_change): Delete. + (annotate_stopped): Don't emit a delayed breakpoints-changed + annotation. + * annotate.h (annotate_ignore_count_change): Delete. + * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call + annotate_ignore_count_change. + +2013-01-22 Tom Tromey + + * dwarf2loc.c (dwarf2_compile_expr_to_ax) : Only + require_rvalue for a register location. + +2013-01-21 Marc Khouzam + + * breakpoint.c (print_one_breakpoint_location): Add MI + field 'thread-groups' when printing a breakpoint. + (output_thread_groups): New function. + +2013-01-21 Siva Chandra Reddy + + * python/lib/gdb/commands/explore.py + (CompoundExplorer.explore_expr): Correct the name of a method + being invoked. + (ExploreTypeCommand.invoke): Add a missing 'return'. + +2013-01-21 Tom Tromey + + * gdb_obstack.h (obconcat): Move declaration here, from... + * symfile.h (obconcat): ... here. + * gdb_obstack.c: New file. + (obconcat): Move from... + * symfile.c (obconcat): ... here. + * Makefile.in (SFILES): Add gdb_obstack.c. + (COMMON_OBS): Add gdb_obstack.o. + +2013-01-21 Tom Tromey + + * symfile.h (obsavestring): Don't declare. + * symfile.c (obsavestring): Remove. + * ada-exp.y: Use obstack_copy0, not obsavestring. + * ada-lang.c: Use obstack_copy0, not obsavestring. + * coffread.c: Use obstack_copy0, not obsavestring. + * cp-namespace.c: Use obstack_copy0, not obsavestring. + * dbxread.c: Use obstack_copy0, not obsavestring. + * dwarf2read.c: Use obstack_copy0, not obsavestring. + * jit.c: Use obstack_copy0, not obsavestring. + * mdebugread.c: Use obstack_copy0, not obsavestring. + * psymtab.c: Use obstack_copy0, not obsavestring. + * stabsread.c: Use obstack_copy0, not obsavestring. + * xcoffread.c: Use obstack_copy0, not obsavestring. + +2013-01-21 Tom Tromey + + * dwarf2read.c (fixup_go_packaging): Save package name + on objfile obstack. + * gdbtypes.c (init_type): Don't copy name. + +2013-01-21 Tom Tromey + + * dwarf2read.c (struct partial_die_info) : Now + const. + (struct attribute) : Now const. + (struct fnfieldlist) : Now const. + (dw2_get_file_names_reader, init_cutu_and_read_dies): Update. + (partial_die_parent_scope): Make return type const. + (partial_die_full_name, add_partial_symbol): Update. + (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make + 'name' const. + (find_file_and_directory): Make 'name' and 'comp_dir' const. + (read_file_scope, read_func_scope, dwarf2_add_field) + (dwarf2_add_member_fn, read_structure_type) + (process_enumeration_scope, read_array_type, read_module_type) + (read_base_type, read_subrange_type): Update. + (dwarf2_start_symtab): Make 'name' and 'comp_dir' const. + (new_symbol_full, guess_full_die_structure_name): Update. + (dwarf2_canonicalize_name): Return const type. Make 'name' const. + (dwarf2_name): Return const type. + (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir' + const. + +2013-01-21 Tom Tromey + + * gdbtypes.c (init_type): Make 'name' const. + * gdbtypes.h (init_type): Update. + 2013-01-21 Tom Tromey * buildsym.c (patch_subfile_names): Use set_last_source_file.