* arm-linux-tdep.c (arm_linux_init_abi): Call
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index c946296e67cb432f45884e459487495b28ab98a5..4f74aa66825edf501e70ce1930853864cd8a5f9b 100644 (file)
@@ -1,3 +1,367 @@
+2012-03-27 Oza Pawandeep   <oza.pawandeep@gmail.com>
+
+       * arm-linux-tdep.c (arm_linux_init_abi): Call
+       set_gdbarch_process_record.
+       Initialize `arm_swi_record' field.
+
+       * arm-tdep.c (arm_process_record): New function.
+       (deallocate_reg_mem): New function.
+       (decode_insn): New function.
+       (thumb_record_branch): New function.
+       (thumb_record_ldm_stm_swi(): New function.
+       (thumb_record_misc): New function.
+       (thumb_record_ld_st_stack): New function.
+       (thumb_record_ld_st_imm_offset): New function.
+       (thumb_record_ld_st_reg_offset(): New function.
+       (thumb_record_add_sub_cmp_mov): New function.
+       (thumb_record_shift_add_sub): New function.
+       (arm_record_coproc_data_proc): New function.
+       (arm_record_coproc): New function.
+       (arm_record_b_bl): New function.
+       (arm_record_ld_st_multiple): New function.
+       (arm_record_ld_st_reg_offset): New function.
+       (arm_record_ld_st_imm_offset): New function.
+       (arm_record_data_proc_imm): New function.
+       (arm_record_data_proc_misc_ld_str): New function.
+       (arm_record_extension_space): New function.
+       (arm_record_strx): New function.
+       (sbo_sbz): New function.
+       (struct insn_decode_record): New structure for arm insn record.
+       (REG_ALLOC): New macro for reg allocations.
+       (MEM_ALLOC): New macro for memory allocations.
+
+       * arm-tdep.h (struct gdbarch_tdep): New field 'arm_swi_record'
+
+2012-03-27  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * m68klinux-nat.c (fetch_register): Fix strict-aliasing violation.
+       (store_register): Likewise.
+
+2012-03-26 Oza Pawandeep  <oza.pawandeep@gmail.com>
+
+        * MAINTAINERS (Write After Approval): Add myself to the list.
+
+2012-03-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * NEWS (set breakpoint condition-evaluation): Change "gdb" to "host".
+       Describe also the option "auto".
+
+2012-03-22  Richard Henderson  <rth@redhat.com>
+
+       * sparc-linux-nat.c (_initialize_sparc_linux_nat): Fix prototype.
+       * sparc-nat.c (sparc_xfer_wcookie): Make static.
+
+2012-03-22  Richard Henderson  <rth@redhat.com>
+
+       * jit.c (jit_read_code_entry): Compute alignment and offset of
+       int64_t member before computing entry_size.
+
+2012-03-22  Siva Chandra Reddy  <sivachandra@google.com>
+
+       Python scripting: Add new method Value.referenced_value to
+       gdb.Value which can dereference pointer as well as reference
+       values.
+       * NEWS: Add entry under 'Python scripting' about the new method
+       Value.referenced_value on gdb.Value objects.
+       * python/py-value.c (valpy_referenced_value): New function
+       defining a new method on gdb.Value objects which can dereference
+       pointer and reference values.
+
+2012-03-22  Siva Chandra Reddy  <sivachandra@google.com>
+
+       * MAINTAINERS (Write After Approval): Add myself to the list.
+
+2012-03-21  Kevin Buettner  <kevinb@redhat.com>
+
+       * symtab.c (skip_prologue_sal): Change test to check for "main()"
+       in addition to "main".
+
+2012-03-21  Joel Brobecker  <brobecker@adacore.com>
+
+       * expression.h (op_name): Add declaration.
+       * expprint.c (op_name): Remove declaration.  Make non-static.
+       * ax-gdb.c (gen_expr): Use op_name instead of op_string.
+
+2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * amd64-linux-nat.c (amd64_linux_siginfo_fixup): Use siginfo_t instead
+       of struct siginfo.
+       * arm-linux-nat.c (arm_linux_stopped_data_address): Likewise.
+       * ia64-linux-nat.c (ia64_linux_stopped_data_address): Likewise.
+       * linux-nat.c (linux_nat_siginfo_fixup, siginfo_fixup)
+       (linux_xfer_siginfo, linux_nat_set_siginfo_fixup)
+       (linux_nat_get_siginfo): Likewise.
+       * linux-nat.h (struct lwp_info, linux_nat_set_siginfo_fixup)
+       (linux_nat_get_siginfo): Likewise.
+       * linux-tdep.c (linux_get_siginfo_type): Likewise.
+       * ppc-linux-nat.c (ppc_linux_stopped_data_address): Likewise.
+       * procfs.c (gdb_siginfo_t): Likewise.
+
+2012-03-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * .gitignore: Ignore more files.
+
+2012-03-20  Pedro Alves  <palves@redhat.com>
+
+       * remote.c (remote_start_remote): Clear `rs->starting_up' on early
+       returns.
+
+2012-03-20  Yao Qi  <yao@codesourcery.com>
+
+       * amd64-tdep.c (amd64_displaced_step_copy_insn): Complete missing "}" in
+       comment.
+
+2012-03-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanupp: Use cu_offset and sect_offset compile time type checking.
+       * dwarf2expr.c (add_piece, dwarf_get_base_type, execute_stack_op)
+       (ctx_no_dwarf_call, ctx_no_get_base_type): Use cu_offset and
+       sect_offset.
+       * dwarf2expr.h (cu_offset, sect_offset): New types.
+       (struct dwarf_expr_context_funcs) <dwarf_call>
+       (struct dwarf_expr_context_funcs) <get_base_type>: Use cu_offset and
+       sect_offset.
+       (struct dwarf_expr_context) <len>: Improve the comment.
+       (struct dwarf_expr_piece, ctx_no_dwarf_call, ctx_no_get_base_type): Use
+       cu_offset and sect_offset.
+       * dwarf2loc.c (per_cu_dwarf_call, dwarf_expr_dwarf_call)
+       (dwarf_expr_get_base_type, needs_frame_dwarf_call)
+       (dwarf2_compile_expr_to_ax, disassemble_dwarf_expression): Likewise.
+       * dwarf2loc.h: Include dwarf2expr.h.
+       (dwarf2_fetch_die_location_block, dwarf2_get_die_type): Use cu_offset
+       and sect_offset.
+       * dwarf2read.c (struct dwarf2_per_objfile) <debug_types_type_hash>:
+       Improve the comment.
+       (struct comp_unit_head, struct dwarf2_cu, struct dwarf2_per_cu_data)
+       (struct signatured_type, struct line_header, struct partial_die_info)
+       (struct die_info, find_partial_die, dwarf2_get_ref_die_offset)
+       (lookup_signatured_type_at_offset, dwarf2_find_containing_comp_unit)
+       (get_die_type_at_offset, create_cus_from_index)
+       (create_signatured_type_table_from_index, dw2_get_file_names)
+       (offset_in_cu_p, read_comp_unit_head, error_check_comp_unit_head)
+       (read_and_check_comp_unit_head, read_and_check_type_unit_head)
+       (create_debug_types_hash_table, process_psymtab_comp_unit)
+       (load_partial_comp_unit, create_all_comp_units)
+       (partial_die_parent_scope, partial_die_full_name, skip_one_die)
+       (load_full_comp_unit, dwarf2_physname, read_import_statement)
+       (inherit_abstract_dies, read_func_scope, read_call_site_scope)
+       (dwarf2_add_member_fn, process_enumeration_scope, read_module_type)
+       (read_typedef, die_hash, die_eq, read_full_die, dwarf2_read_abbrevs)
+       (load_partial_dies, read_partial_die, find_partial_die_in_comp_unit)
+       (find_partial_die, read_attribute_value, lookup_die_type)
+       (dump_die_shallow, store_in_ref_table): Use cu_offset and sect_offset.
+       (is_ref_attr): New function comment.
+       (dwarf2_get_ref_die_offset): New function comment, new variable retval.
+       Use cu_offset and sect_offset.
+       (follow_die_offset, follow_die_ref, dwarf2_fetch_die_location_block)
+       (dwarf2_get_die_type, follow_die_sig, lookup_signatured_type_at_offset)
+       (load_full_type_unit, read_signatured_type, per_cu_header_read_in)
+       (dwarf2_find_containing_comp_unit, struct dwarf2_offset_and_type)
+       (offset_and_type_hash, offset_and_type_eq, set_die_type)
+       (get_die_type_at_offset, partial_die_hash, partial_die_eq)
+       (write_one_signatured_type, write_psymtabs_to_index): Use cu_offset and
+       sect_offset.
+
+2012-03-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * python/py-auto-load.c (source_section_scripts): New variable back_to.
+       Turn fclose and xfree calls into make_cleanup_fclose and make_cleanup
+       with xfree.
+       (auto_load_objfile_script): Turn fclose into make_cleanup_fclose.
+
+2012-03-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * NEWS: Describe new options --init-command=FILE, -ix and
+       --init-eval-command=COMMAND, -iex.
+       * main.c (struct cmdarg): New enum items CMDARG_INIT_FILE and
+       CMDARG_INIT_COMMAND.
+       (captured_main): New enum items OPT_IX and OPT_IEX.  Add
+       "init-command", "init-eval-command", "ix" and "iex" to the variable
+       long_options.  Handle OPT_IX and OPT_IEX.  Process them from CMDARG_VEC.
+       New comment for CMDARG_FILE and CMDARG_COMMAND processing.
+       (print_gdb_help): Describe --init-command=FILE, -ix and
+       --init-eval-command=COMMAND, -iex.
+
+2012-03-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * main.c (struct cmdarg): Move it here from main.  Add more comments.
+       (cmdarg_s, VEC (cmdarg_s)): New.
+       (main): Move struct cmdarg from here.  New variables cmdarg_vec and
+       cmdarg_p.  Remove variables cmdsize and ncmd and their initialization.
+       Install cleanup for cmdarg_vec.  Update filling for options 'x' and
+       'X'.  Replace cmdarg processing by cmdarg_vec processing.  Remove xfree
+       of CMDARG.
+
+2012-03-19  Tom Tromey  <tromey@redhat.com>
+
+       * gnu-v3-abi.c (gnuv3_print_vtable): Initialize 'result_vec'.
+
+2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR symtab/13777
+       * dwarf2read.c (process_full_comp_unit): Set LOCATIONS_VALID only for
+       GCC >=4.5.
+
+2012-03-16  Chris January  <chris.january@allinea.com>
+
+       * tui-tui.win.c (tui_resize_all): Use erase and clearok instead
+       of clear.
+
+2012-03-16  Chris January  <chris.january@allinea.com>
+
+       * source.c (add_path): Use memmove instead of strcpy because the
+       strings overlap.
+
+2012-03-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * value.h (set_value_parent): Add declaration.
+       * value.c (set_value_parent): New function.
+       (value_address): If VALUE->PARENT is not NULL, then use it as
+       the base address instead of VALUE->LOCATION.address.
+       * ada-lang.c (ada_value_primitive_packed_val): Keep V's address
+       the same as OBJ's address.  Adjust V's offset accordingly.
+       Set V's parent.
+
+2012-03-16  Gary Benson  <gbenson@redhat.com>
+
+       PR breakpoints/10738
+       * dwarf2read.c (use_deprecated_index_sections): New global.
+       (struct partial_die_info): New member may_be_inlined.
+       (read_partial_die): Set may_be_inlined where appropriate.
+       (add_partial_subprogram): Add partial symbols for partial
+       DIEs that may be inlined.
+       (new_symbol_full): Add inlined subroutines to the current
+       scope.
+       (write_psymtabs_to_index): Bump version number.
+       (dwarf2_read_index): Read only version 6 indices unless
+       use_deprecated_index_sections is set.
+       * linespec.c (symbol_and_data_callback): New structure.
+       (iterate_inline_only): New function.
+       (iterate_over_all_matching_symtabs): New argument
+       "include_inline".  If nonzero, also call the callback for
+       symbols representing inlined subroutines.
+       (lookup_prefix_sym): Pass extra argument to the above.
+       (find_function_symbols): Likewise.
+       (add_matching_symbols_to_info): Likewise.
+       * NEWS: Mention that GDB can now set breakpoints on inlined
+       functions.
+
+2012-03-16  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * p-typeprint.c (pascal_type_print_method_args):
+       Fix display of parameter of methods.
+
+2012-03-16  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * amd64-windows-nat.c (_initialize_amd64_windows_nat):
+       Add missing prototype.
+
+2012-03-16  Yao Qi  <yao@codesourcery.com>
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix false compilation warning.
+       * gnu-v3-abi.c (print_one_vtable): Initialize ADDR.
+
+2012-03-15  Jonathan Larmour  <jifl@eCosCentric.com>
+           Pedro Alves  <pedro@codesourcery.com>
+
+       * arm-tdep.c: Include "remote.h" and "features/arm-with-m-fpa-layout.c".
+       (arm_register_g_packet_guesses): New function.
+       (arm_gdbarch_init): Don't force a target description with
+       registers when the executable is detected as M-profile.  Instead
+       set gdbarch->tdep->is_m.  Register `g' packet guesses.
+       (_initialize_arm_tdep): Initialize the new target description.
+       * features/arm-with-m-fpa-layout.xml: New description.
+       * features/arm-with-m-fpa-layout.c: New, generated.
+
+2012-03-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * breakpoint.c (breakpoint_xfer_memory): Add assertion.
+       Update function description.
+       (insert_bp_location): Do not wipe bl->target_info out.
+       * mem-break.c: #include "gdb_string.h".
+       (default_memory_insert_breakpoint): Do not call target_read_memory
+       with a pointer to the breakpoint's shadow_contents buffer.  Use
+       a local buffer instead.
+       * m32r-tdep.c (m32r_memory_insert_breakpoint): Ditto.
+
+2012-03-15  Tom Tromey  <tromey@redhat.com>
+
+       * NEWS: Mention "info vtbl", not "info vtable".
+       * cp-support.c (info_vtbl_command): Fix comment.
+       (_initialize_cp_support): Fix text.
+
+2012-03-15  Tom Tromey  <tromey@redhat.com>
+
+       * cp-valprint.c (cp_print_value_fields): Use
+       print_function_pointer_address for vtable slot.
+
+2012-03-15  Tom Tromey  <tromey@redhat.com>
+
+       * gnu-v3-abi.c (struct value_and_voffset): New.
+       (hash_value_and_voffset, eq_value_and_voffset)
+       (compare_value_and_voffset, compute_vtable_size)
+       (print_one_vtable, gnuv3_print_vtable): New functions.
+       (init_gnuv3_ops): Initialize 'print_vtable' field.
+       * cp-support.c (info_vtbl_command): New function.
+       (_initialize_cp_support): Add "info vtbl".
+       * cp-abi.h (cplus_print_vtable): Declare.
+       (struct cp_abi_ops) <print_vtable>: New field.
+       * cp-abi.c (cplus_print_vtable): New function.
+       * NEWS: Update.
+
+2012-03-15  Tom Tromey  <tromey@redhat.com>
+
+       * d-lang.c (d_language_defn) <la_iterate_over_symbols>: Set to
+       iterate_over_symbols.
+
+2012-03-14  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dwarf_stack_op_name): Add DW_OP_GNU_encoded_addr,
+       DW_OP_GNU_parameter_ref.
+
+2012-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix double prompt of 'interpreter-exec mi'.
+       * mi/mi-interp.c (mi_execute_command_input_handler): New prototype.
+       (mi_interpreter_resume): use it.
+       (mi_execute_command_input_handler): New function.
+       * mi/mi-main.c (mi_execute_command): Move prompt printing to
+       mi_execute_command_input_handler.
+
+2012-03-13  Josh Matthews  <josh@joshmatthews.net>  (tiny change)
+
+       * darwin-nat-info.c (_initialize_darwin_info_commands): Add
+       prototype.
+       (darwin_debug_port_info): Make static.
+       * darwin-nat.c (_initialize_darwin_inferior): Add prototype.
+       * machoread.c (_initialize_machoread): Add prototype.
+       * i386-darwin-nat.c (i386_darwin_dr_set, i386_darwin_dr_get)
+       (i386_darwin_set_control, i386_darwin_get_control)
+       i386_darwin_dr_set_addr, i386_darwin_get_addr)
+       i386_darwin_get_status, i386_darwin_get_control):
+       Comment out with HW_WATCHPOINT_NOT_YET_ENABLED macro.
+
+2012-03-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * ax-gdb.c (gen_usual_unary): Remove special handling of
+       enum and bool types.
+
+2012-03-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * ax-gdb.c (gen_fetch): Add handling for TYPE_CODE_RANGE types.
+
+2012-03-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * aix-thread.c (supply_fprs): Make more consistent with fill_fprs.
+
+2012-03-13  Chris January  <chris.january@allinea.com>
+
+       * aix-thread.c (fill_sprs): Store the floating point registers
+       at the correct offsets into vals.
+
 2012-03-13  Doug Evans  <dje@google.com>
 
        * NEWS: Mention symbol-reloading has been deleted.
 
 2012-02-01  Gary Benson  <gbenson@redhat.com>
 
-       * symtab.h (symbol_name_match_p_ftype): New typedef.
+       * symtab.h (symbol_found_callback_ftype): New typedef.
        (iterate_over_symbols): Use the above.
        * symtab.c (iterate_over_symbols): Likewise.
        * language.h (language_defn->la_iterate_over_symbols): Likewise.
This page took 0.042415 seconds and 4 git commands to generate.