X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=2b05b9b49c28e01d2971573aff957afa47f42262;hb=1a334831c050446a99a2b5c7ec8e0d452d2f9842;hp=e8577283f41ea15031a430ab1a61f9965212f165;hpb=3af6ddfec6363b97f9c850fef9f33e3bd2ad259c;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e8577283f4..2b05b9b49c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,7 +1,220 @@ +2010-02-04 Tom Tromey + + * valops.c (search_struct_field): Account for + value_embedded_offset. Fix check for virtual base past the end of + the object. Use value_copy when making a slice of the value. + +2010-02-04 H.J. Lu + + PR tui/9622 + * tui/tui-interp.c (tui_init): Call tui_initialize_readline + only if gdb_stdout is a tty. + +2010-02-04 H.J. Lu + + * target-descriptions.c: Include "osabi.h". + (maint_print_c_tdesc_cmd): Generate set_tdesc_osabi for valid + OSABI. + +2010-02-04 Tristan Gingold + + * machoread.c (macho_add_oso): Renamed to macho_register_oso. + (macho_symtab_read): Adjust calls to macho_add_oso. + (macho_oso_symfile): Renamed to macho_symfile_read_all_oso. + (macho_symfile_read): Adjust call to macho_oso_symfile. + (macho_new_init): Move this function after declarations. + (macho_symfile_init): Ditto. + * darwin-nat-info.c (darwin_lib_gdb_ports): Remove. + * darwin-nat.c (darwin_lookup_task): Remove unused prototype. + +2010-02-04 Vladimir Prus + + Include MI command in remotelog. + + * mi/mi-main.c (mi_execute_command): Call target_log_command. + +2010-02-03 H.J. Lu + + * remote.c (remote_state): Remove gdbarch. + (init_remote_state): Don't set gdbarch. + (remote_query_supported): Pass target_gdbarch instead of + rs->gdbarch to gdbarch_qsupported. + +2010-02-03 H.J. Lu + + * gdbarch.sh: Add qsupported. + + * gdbarch.c: Regenerated. + * gdbarch.h: Likewise. + + * remote.c (remote_state): Add gdbarch. + (init_remote_state): Set gdbarch. + (remote_query_supported): Support gdbarch_qsupported. + +2010-02-03 Daniel Jacobowitz + + * amd64fbsd-nat.c (amd64fbsd_supply_pcb): Also check for + __FreeBSD_kernel_version. + +2010-02-03 Tristan Gingold + + * symfile.h (struct sym_fns): Add sym_relocate field. + (default_symfile_relocate): New prototype. + (symfile_relocate_debug_section): First argument is now an objfile. + * symfile.c (default_symfile_relocate): Rename from + symfile_relocate_debug_section, first argument is now an objfile. + (symfile_relocate_debug_section): New function. + * coffread.c (coff_sym_fns): Set sym_relocate field. + * somread.c (som_sym_fns): Ditto. + * mipsread.c (ecoff_sym_fns): Ditto. + * machoread.c (macho_sym_fns): Ditto. + * elfread.c (elf_sym_fns): Ditto. + * dwarf2read.c (dwarf2_read_section): Ditto. + * xcoffread.c (xcoff_sym_fns): Ditto. + * dbxread.c (aout_sym_fns): Ditto. + (dbx_psymtab_to_symtab): Adjust call to symfile_relocate_debug_section. + (elfstab_build_psymtabs): Ditto. + +2010-02-03 H.J. Lu + + * defs.h (MAX_REGISTER_SIZE): Increase to 32. + +2010-02-02 Tom Tromey + + * valops.c (value_cast_structs): Try downcasting using the RTTI + type. + +2010-02-02 Tom Tromey + + * gnu-v2-abi.c: Don't include gnu-v2-abi.h. + (gnuv2_baseclass_offset): Now static. + * Makefile.in (HFILES_NO_SRCDIR): Remove gnu-v2-abi.h. + * gnu-v2-abi.h: Remove. + +2010-02-02 Tom Tromey + + * m2-typeprint.c (m2_record_fields): Don't use + TYPE_DECLARED_TYPE. + * gdbtypes.h (TYPE_DECLARED_CLASS): New macro. + (struct main_type) : New field. + (struct cplus_struct_type) : Remove. + : Move earlier. + (DECLARED_TYPE_CLASS, DECLARED_TYPE_UNION, DECLARED_TYPE_STRUCT) + (DECLARED_TYPE_TEMPLATE): Remove. + (TYPE_DECLARED_TYPE): Remove. + * gdbtypes.c (lookup_union): Don't use TYPE_DECLARED_TYPE. + * dwarf2read.c (read_structure_type): Set TYPE_DECLARED_CLASS. + * c-typeprint.c (c_type_print_base): Use TYPE_DECLARED_CLASS, not + TYPE_DECLARED_TYPE. + +2010-02-02 Tom Tromey + + PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890: + * valops.c (search_struct_field): Compute nbases after calling + CHECK_TYPEDEF. + (check_field): Call CHECK_TYPEDEF. + * cp-valprint.c (cp_print_value): Pass correct address to + baseclass_offset. Fix check for virtual base past the end of the + object. Don't offset address passed to cp_print_value_fields or + apply_val_pretty_printer. + (cp_print_value_fields): Fix call to val_print. + (cp_print_value_fields_rtti): New function. + * c-valprint.c (c_val_print): Use cp_print_value_fields_rtti. + * p-valprint.c (pascal_object_print_value_fields): Fix call to + val_print. + * python/py-prettyprint.c (apply_val_pretty_printer): Add embedded + offset to address. + * language.h (struct language_defn) : Document. + * c-lang.h (cp_print_value_fields_rtti): Declare. + +2010-02-01 Jan Kratochvil + + PR libc/11214: + * linux-low.c (linux_tracefork_child) [!(__UCLIBC__ && HAS_NOMMU)]: New. + (linux_test_for_tracefork): Move `stack' into [__UCLIBC__ && HAS_NOMMU]. + (linux_test_for_tracefork) [!(__UCLIBC__ && HAS_NOMMU)]: New. + +2010-02-01 Michael Matz + Daniel Jacobowitz + + * i386-tdep.c (i386_frame_cache): Assume valid anonymous + functions use a frame pointer. + +2010-02-01 Jan Kratochvil + + * solib-svr4.c (scan_dyntag): New variable dyn_addr. Replace gdb_assert + by a conditional setting DYN_ADDR. Use DYN_ADDR. + * config/djgpp/fnchange.lst: Add translations for + symbol-without-target_section.exp and symbol-without-target_section.c. + +2010-02-01 Daniel Jacobowitz + + * gdbarch.sh: Set LANG and LC_ALL to C, not c. + (remote_breakpoint_for_pc): Correct invalid_p check. + * gdbarch.c: Regenerated. + +2010-02-01 Daniel Jacobowitz + + * arm-tdep.c (arm_find_mapping_symbol): New function, from + arm_pc_is_thumb. + (arm_pc_is_thumb): Use arm_find_mapping_symbol. + (extend_buffer_earlier): New function. + (MAX_IT_BLOCK_PREFIX, IT_SCAN_THRESHOLD): New constants. + (arm_adjust_breakpoint_address): New function. + (arm_gdbarch_init): Register arm_adjust_breakpoint_address. + +2010-02-01 Daniel Jacobowitz + + * arm-linux-tdep.c (arm_linux_thumb2_be_breakpoint) + (arm_linux_thumb2_le_breakpoint): New constants. + (arm_linux_init_abi): Set thumb2_breakpoint and + thumb2_breakpoint_size. + * arm-tdep.c (thumb_insn_size, thumb_advance_itstate): New functions. + (thumb_get_next_pc): Add a comment. Rename IT to ITSTATE. + Implement support for single stepping through IT blocks if + a 32-bit Thumb breakpoint instruction is available. + (arm_breakpoint_from_pc): If a 32-bit Thumb breakpoint instruction + is available, use it when needed. + (arm_remote_breakpoint_from_pc): New function. + (arm_gdbarch_init): Register arm_remote_breakpoint_from_pc. + * arm-tdep.h (struct gdbarch_tdep): Correct thumb_breakpoint + comment. Add thumb2_breakpoint and thumb2_breakpoint_size. + +2010-02-01 Daniel Jacobowitz + + * arch-utils.c (default_remote_breakpoint_from_pc): New function. + * arch-utils.h (default_remote_breakpoint_from_pc): Declare. + * gdbarch.c, gdbarch.h: Regenerated. + * gdbarch.sh (remote_breakpoint_from_pc): New architecture method. + * remote.c (remote_insert_breakpoint, remote_insert_hw_breakpoint): Use + gdbarch_remote_breakpoint_from_pc. + +2010-01-29 Daniel Jacobowitz + + * infrun.c (prepare_to_proceed): Handle other signals which might + match a breakpoint. + (handle_inferior_event): Move the check for unusual breakpoint + signals earlier. + +2010-01-29 Paul Hilfinger + + amd64 - function returning record with field straddling 2 registers. + * amd64-tdep.c (amd_classify_aggregate): Handle the case of + a record of length <= 16 in which a field straddles the two + eightbytes. + +2010-01-29 Joel Brobecker + + Implement return values on amd64-windows. + * amd64-windows-tdep.c: #include gdbcore.h and regcache.h. + (amd64_windows_return_value): New function. + (amd64_windows_init_abi): Call set_gdbarch_return_value with + amd64_windows_return_value. + 2010-01-29 Joel Brobecker amd64-windows: 32 bytes allocated on stack by caller for integer - parameter registers + parameter registers. * i386-tdep.h (struct gdbarch_tdep): Add new field integer_param_regs_saved_in_caller_frame. * amd64-windows-tdep.c (amd64_windows_init_abi): Set