aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-09-16bfd/H.J. Lu6-12/+72
2008-09-16 H.J. Lu <hongjiu.lu@intel.com> PR ld/6877 * elflink.c (_bfd_elf_merge_symbol): Allow a common symbol to override the function in a shared library. ld/testsuite/ 2008-09-16 H.J. Lu <hongjiu.lu@intel.com> PR ld/6877 * ld-elf/comm1.c: New. * ld-elf/func1.c: Likewise. * ld-elf/shared.exp: Add tests for libfunc1.so and comm1.
2008-09-16 PR 6844Alan Modra2-62/+57
* elf32-ppc.c (SYM_VAL): Define. Use throughout to find symbol vma. (ppc_elf_relocate_section): Correct GOT offset calculation. (ppc_elf_finish_dynamic_symbol): Use PPC_HA and PPC_LO. (ppc_elf_finish_dynamic_sections): Likewise. Error if htab->elf.hgot symbol is not defined in htab->got section.
2008-09-16* i386.cc (Target_i386::define_tls_base_symbol): Update comments.Alexandre Oliva3-4/+9
* x86_64.cc (Target_x86_64::define_tls_base_symbol): Likewise.
2008-09-16* options.h (General_options::output_is_executable): New.Alexandre Oliva4-2/+32
(General_options::output_is_pie): New. * i386.cc (Target_i386::define_tls_base_symbol): Use SEGMENT_START for shared libraries. * x86_64.cc (Target_x86_64::define_tls_base_symbol): Likewise.
2008-09-16*** empty log message ***gdbadmin1-1/+1
2008-09-16daily updateAlan Modra1-1/+1
2008-09-15 PR 6888Alan Modra2-11/+37
* elf32-ppc.c (ppc_elf_relocate_section): Handle NULL symbol section on R_PPC_TOC16, R_PPC_SDAREL16, R_PPC_EMB_SDA2REL, R_PPC_EMB_SDA21, R_PPC_EMB_RELSDA, R_PPC_SECTOFF* relocs.
2008-09-15* infcall.c (generic_push_dummy_code): Remove.Mark Kettenis2-45/+10
(push_dummy_code): Unconditionally call gdbarch_push_dummy_code.
2008-09-15 * dwarf2read.c (struct abbrev_info): Make members name, form 16 bits.Doug Evans2-4/+9
(struct attribute): Ditto.
2008-09-15 * gas/all/gas.exp: Don't run redef tests on a bunch of targets.Alan Modra3-11/+29
* gas/elf/elf.exp: Likewise.
2008-09-15 * write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test.Alan Modra2-2/+6
2008-09-15 * config/tc-frv.c (md_apply_fix): Use abs_section_sym forAlan Modra3-4/+21
relocs with no symbol. * config/tc-mmix.c (md_assemble): Mark fake symbol on BFD_RELOC_MMIX_BASE_PLUS_OFFSET as OK for use by relocs. (mmix_md_end): Likewise mark mmix reg contents section symbol.
2008-09-15 * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_unwind_cache): RecordDave Anglin2-2/+8
HPPA_IPSW_REGNUM and HPPA_SAR_REGNUM values.
2008-09-15 * hppa-linux-tdep.c (hppa_dwarf_reg_to_regnum): Remove surroundingDave Anglin3-19/+22
"#if 0" "#endif". Fix mapping of DWARF DBX registers to GDB registers. Correct arguments and improve comments. (hppa_linux_init_abi): Call set_gdbarch_dwarf2_reg_to_regnum. Delete disabled code. * hppa-tdep.c (hppa64_dwarf_reg_to_regnum): Fix check for floating point DBX register, change error to warning, and improve comments.
2008-09-15 * dwarf2read.c (struct die_info): Make members tag, num_attrs 16 bits.Doug Evans2-4/+15
2008-09-15*** empty log message ***gdbadmin1-1/+1
2008-09-15daily updateAlan Modra1-1/+1
2008-09-14 * hppa-linux-tdep.c (hppa_linux_supply_fpregset): Correct iteration.Dave Anglin2-2/+6
2008-09-14Add new tests for z80Arnold Metselaar18-0/+1581
2008-09-14Fix bugs in the disassembly of some ld-instructionsArnold Metselaar2-1/+10
2008-09-14 * defs.h (GCC_GENERATED_STDINT_H): Define.Joel Brobecker2-0/+18
2008-09-14Fix Opcode generation of ld a,(bc) and ld a,(de) on target z80Arnold Metselaar2-1/+6
2008-09-14*** empty log message ***gdbadmin1-1/+1
2008-09-14daily updateAlan Modra1-1/+1
2008-09-13 * varobj.c (varobj_set_display_format): Use xfree.Tom Tromey7-14/+20
* tracepoint.c (stringify_collection_list): Use xfree. * remote-fileio.c (remote_fileio_reset): Use xfree. * mipsread.c (read_alphacoff_dynamic_symtab): Use xfree. * dfp.c (decimal_from_floating): Use xfree, xstrprintf. Don't use asprintf. * cp-support.c (mangled_name_to_comp): Use xfree.
2008-09-13 * ada-lang.c (remove_extra_symbols): Remove stub symbols ifJoel Brobecker2-142/+127
the associated complete symbol is also in the list. (ada_add_local_symbols, ada_add_non_local_symbols): New functions, extracted out from ada_lookup_symbol_list. (ada_lookup_symbol_list): Use them. Remove the search through the minimal symbols.
2008-09-13 * dwarf2read.c (add_partial_subprogram): New procedure.Joel Brobecker2-18/+69
(scan_partial_symbols): Use it. (load_partial_dies): Read in children of subprogram and lexical blocks for Ada compilation units.
2008-09-13 * gdb.mi/mi-nonstop.exp: Do not check thread state while aDaniel Jacobowitz4-20/+42
stop is pending. Avoid ".*" when two stops are pending. * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC) (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match newlines in fullnames. * lib/mi-support.exp (mi_run_cmd): Do not require an anchor. (mi_expect_stop): Update comments. Only anchor in sync mode. Do not match newlines. (mi_send_resuming_command_raw): Always return status. (mi_get_stop_line): Do not match more than one line by accident. Only anchor in sync mode. (mi_run_inline_test): If -exec-next fails, give up.
2008-09-13 * symfile.c (build_id_verify): Free 'found'.Tom Tromey2-1/+9
(find_separate_debug_file): Use xfree, not free.
2008-09-13*** empty log message ***gdbadmin1-1/+1
2008-09-13daily updateAlan Modra1-1/+1
2008-09-12 * corefile.c (write_memory): Remove unnecessary copying.Doug Evans2-4/+3
2008-09-12 * sol-thread.c (_initialize_sol_thread): Add FIXME regardingDoug Evans2-0/+7
order of _initialize_* fns.
2008-09-12 * dwarf2read.c (comp_unit_head): Rename first_die_ptr toDoug Evans2-40/+38
first_die_offset. All uses updated. Delete unused members cu_head_ptr, next. Move members base_known, base_address to ... (dwarf2_cu) ... here. All uses updated.
2008-09-122008-09-12 Sterling Augustine <sterling@tensilica.com>Bob Wilson2-1/+6
* config/tc-xtensa.c (init_op_placement_info_table): Allow number of operands equal to MAX_INSN_ARGS.
2008-09-12gdb/Pedro Alves5-2/+17
* Makefile.in (generated_files): Add $(NAT_GENERATED_FILES). * config/i386/i386gnu.mh (NAT_GENERATED_FILES): New. gdb/doc/ * gdbint.texinfo (Native Debugging): Mention NAT_GENERATED_FILES.
2008-09-122008-09-11 Chris Demetriou <cgd@google.com>Chris Demetriou3-0/+14
* options.h (origin): New -z option. * layout.cc (Layout:finish_dynamic_section): If "-z origin" is specified, set DF_ORIGIN in DT_FLAGS and set DF_1_ORIGIN in DT_FLAGS_1.
2008-09-12daily updateAlan Modra1-1/+1
2008-09-12*** empty log message ***gdbadmin1-1/+1
2008-09-11gas/testsuite/H.J. Lu8-80/+2572
2008-09-11 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/sse2avx.s: Remove pclmulXXX tests. Add tests for Intel syntax. * gas/i386/x86-64-sse2avx.s: Likewise. * gas/i386/sse2avx.d: Updated. * gas/i386/x86-64-sse2avx.d: Likewise. opcodes/ 2008-09-11 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.tbl: Fix memory operand size for cmpXXXs[sd]. * i386-tbl.h: Regenerated.
2008-09-11bfd/Jan Kratochvil24-0/+2271
Fix loading large elf64 binaries on 32bit hosts. * configure.in: Call AC_SYS_LARGEFILE. * config.in: Regenerate. * configure: Regenerate. binutils/ Fix loading large elf64 binaries on 32bit hosts. * configure.in: Call AC_SYS_LARGEFILE. * config.in: Regenerate. * configure: Regenerate. gas/ * configure.in: Call AC_SYS_LARGEFILE. * config.in: Regenerate. * configure: Regenerate. gprof/ * configure.in: Call AC_SYS_LARGEFILE. * gconfig.in: Regenerate. * configure: Regenerate. ld/ * configure.in: Call AC_SYS_LARGEFILE. * config.in: Regenerate. * configure: Regenerate. libiberty/ * configure.in: Call AC_SYS_LARGEFILE. * config.in: Regenerate. * configure: Regenerate.
2008-09-11 * gdb.base/stack-checking.c (big_frame): Reduce stack consumptionUlrich Weigand2-0/+9
on SPU.
2008-09-11 * fork-child.c (startup_inferior): Use target_wait and target_resumeUlrich Weigand3-18/+70
directly instead of calling wait_for_inferior / resume. * infcmd.c (kill_if_already_running): Do not call no_shared_libraries or init_wait_for_inferior. (run_command_1): Call init_wait_for_inferior.
2008-09-11Add missing ChangeLog entry.Ulrich Weigand1-0/+16
2008-09-11 * gdbtypes.h (builtin_type_void_data_ptr, builtin_type_void_func_ptr,Ulrich Weigand4-120/+67
builtin_type_CORE_ADDR, builtin_type_char, builtin_type_short, builtin_type_int, builtin_type_long, builtin_type_signed_char, builtin_type_unsigned_char, builtin_type_unsigned_short, builtin_type_unsigned_int, builtin_type_unsigned_long, builtin_type_float, builtin_type_double, builtin_type_long_double, builtin_type_complex, builtin_type_double_complex, builtin_type_string, builtin_type_bool, builtin_type_long_long, builtin_type_unsigned_long_long): Remove macros. (builtin_type_f_character, builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_logical, builtin_type_f_logical_s1, builtin_type_f_logical_s2, builtin_type_f_real, builtin_type_f_real_s8, builtin_type_f_real_s16, builtin_type_f_complex_s8, builtin_type_f_complex_s16, builtin_type_f_complex_s32): Likewise. (builtin_type_m2_char, builtin_type_m2_int, builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool): Likewise. (struct builtin_f_type, builtin_f_type): Move to f-lang.h. (struct builtin_m2_type, builtin_m2_type): Move to m2-lang.h. * f-lang.h (struct builtin_f_type, builtin_f_type): Move here. * m2-lang.h (struct builtin_m2_type, builtin_m2_type): Move here.
2008-09-11 * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use builtin types ofUlrich Weigand3-18/+37
target_gdbarch instead of builtin_type_void_data_ptr. (LM_DYNAMIC_FROM_LINK_MAP, LM_NEXT, LM_NAME, IGNORE_FIRST_LINK_MAP_ENTRY, scan_dyntag, elf_locate_base, solib_svr4_r_map, solib_svr4_r_brk, solib_svr4_r_ldsomap, open_symbol_file_object): Likewise. * nto-tdep.c (LM_ADDR): Likewise.
2008-09-11 * bsd-uthread.c (bsd_uthread_read_memory_address): New function.Ulrich Weigand2-10/+18
(bsd_uthread_fetch_registers, bsd_uthread_store_registers, bsd_uthread_wait, bsd_uthread_find_new_threads): Use it.
2008-09-11 * procfs.c (procfs_address_to_host_pointer): Use target_gdbarchUlrich Weigand2-5/+12
and its associated types to perform pointer conversion. (procfs_can_use_hw_breakpoint): Likewise. (procfs_auxv_parse): Remove unused variable.
2008-09-11 * auxv.c (default_auxv_parse): Use gdbarch_ptr_bit (target_gdbarch)Ulrich Weigand3-2/+9
instead of builtin_type_void_data_ptr. * target.c (default_region_ok_for_hw_watchpoint): Likewise.
2008-09-11 * expprint.c (print_subexp_standard): Compare against builtin typeUlrich Weigand4-57/+61
associated with exp->gdbarch instead of builtin_type_char. * f-valprint.c (f_val_print): Use extract_unsigned_integer to extract values of arbitrary logical type. Handle arbitrary complex types. * printcmd.c (float_type_from_length): New function. (print_scalar_formatted, printf_command): Use it.