aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-02-08include/Alan Modra15-189/+791
* opcode/ppc.h (PPC_OPCODE_TITAN): Define. bfd/ * archures.c (bfd_mach_ppc_titan): Define. * bfd-in2.h: Regenerate. * cpu-powerpc.c (bfd_powerpc_archs): Add titan entry. opcodes/ * ppc-dis.c (ppc_opts): Add titan entry. * ppc-opc.c (TITAN, MULHW): Define. (powerpc_opcodes): Support AppliedMicro Titan core (APM83xxx). gas/ * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs. (ppc_mach): Handle titan. * doc/c-ppc.texi: Mention -mtitan. gas/testsuite/ * gas/ppc/titan.d, * gas/ppc/titan.s: New test. * gas/ppc/ppc.exp: Run it.
2010-02-08 * elf32-ppc.c (ppc_elf_check_relocs): Remove dead ifunc code.Alan Modra2-34/+29
2010-02-08*** empty log message ***gdbadmin1-1/+1
2010-02-07daily updateAlan Modra1-1/+1
2010-02-07Move entry for elf/s390.h to elf/ChangeLog.H.J. Lu2-4/+4
2010-02-07*** empty log message ***gdbadmin1-1/+1
2010-02-06daily updateAlan Modra1-1/+1
2010-02-06 * configure.ac: Rewrite targetobjs duplicate removal code to useIan Lance Taylor3-2/+22
only shell constructs. * configure: Rebuild.
2010-02-062010-02-05 Doug Kwan <dougkwan@google.com>Doug Kwan2-28/+61
PR 11247 * arm.cc (Arm_relobj::section_is_scannable): New method. (Arm_relobj::section_needs_reloc_stub_scanning): Use it. (Arm_relobj::section_needs_cortex_a8_stub_scanning): Same.
2010-02-06*** empty log message ***gdbadmin1-1/+1
2010-02-05daily updateAlan Modra1-1/+1
2010-02-05 testsuite/Doug Evans4-1/+37
* lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by user. doc/ * gdbint.texinfo (Testsuite): Document INTERNAL_GDBFLAGS.
2010-02-052010-02-05 Sami Wagiaalla <swagiaal@redhat.com>Sami Wagiaalla6-23/+77
PR c++/7935: * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed. 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com> PR c++/7935: * cp-support.h: Added char* alias element to using_direct data struct. (cp_add_using): Added char* alias argument. (cp_add_using_directive): Ditto. * cp-namespace.c: Updated with the above changes. (cp_lookup_symbol_imports): Check for aliases. * dwarf2read.c (read_import_statement): Figure out local alias for the import and pass it on to cp_add_using. (read_namespace): Pass alias argument to cp_add_using.
2010-02-0510-02-05 Sterling Augustine <sterling@tensilica.com>Sterling Augustine1-7/+5
* config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and replace with... (xtensa_fetch_width) ...this.
2010-02-05 * gdbint.texinfo (Testsuite): Add a new section to document theDoug Evans2-0/+51
various DejaGnu variables that may be overridden.
2010-02-05Update Changelog entry to include bug number. Checked in as obvious.Sterling Augustine1-0/+5
2010-02-052010-02-05 Sterling Augustine <sterling@tensilica.com>Sterling Augustine1-0/+16
* elf.c (assign_file_positions_for_load_sections) Update lma of section if necessary.
2010-02-05* ppc-instructions: Fix aliasing bugs when callingAndreas Schwab2-8/+28
invalid_arithemetic_operation.
2010-02-05Remove trailing white spaces.H.J. Lu3-10/+15
2010-02-05 H.J. Lu <hongjiu.lu@intel.com> * elf32-i386.c: Remove trailing white spaces. * elf64-x86-64.c: Likewise.
2010-02-05 * configure.in (ALL_LIBGUAS): Add bg.Nick Clifton4-2/+2151
* configure: Regenerate. * po/bg.po: New Bulgarian translation.
2010-02-05 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help forNick Clifton2-2/+7
--target1-abs and --target1-rel options.
2010-02-05 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,Joseph Myers3-272/+6
MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove. * Makefile.in: Regenerate.
2010-02-052010-02-05 Hui Zhu <teawater@gmail.com>Hui Zhu4-2/+60
* defs.h (gdb_bfd_errmsg): New extern. * exec.c (exec_file_attach): Change bfd_errmsg to gdb_bfd_errmsg. * utils.c (AMBIGUOUS_MESS1): New macro. (AMBIGUOUS_MESS2): New macro. (gdb_bfd_errmsg): New function.
2010-02-052010-02-04 Doug Kwan <dougkwan@google.com>Doug Kwan5-6/+21
PR 11247 * arm-reloc-property.cc (cstdio): Include. * configure.ac (targetobjs): Remove duplicates. * configure: Regenerate. * resolve.cc (Symbol_table::resolve): Explicit instantiate both big and little endian version for a given address size.
2010-02-05*** empty log message ***gdbadmin1-1/+1
2010-02-04daily updateAlan Modra1-1/+1
2010-02-04 * solib-svr4.c (enable_break): Add comment.Doug Evans2-0/+23
2010-02-04sim-model.c: Include sim-model.hMike Frysinger2-0/+5
2010-02-04sime-base.h: fix typos in STATE_CPU() examplesMike Frysinger2-3/+8
2010-02-04Fix prolog analyzerAnthony Green2-0/+7
2010-02-04gdbTom Tromey4-17/+21
* 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. gdb/testsuite * gdb.cp/virtbase.exp: Make test case names unique.
2010-02-04 PR cli/8830:Tom Tromey2-2/+8
* gdb.texinfo (Files): -readnow comes before the filename for file and symbol-file.
2010-02-04Call tui_initialize_readline only if gdb_stdout is a tty.H.J. Lu2-1/+8
2010-02-04 H.J. Lu <hongjiu.lu@intel.com> PR tui/9622 * tui/tui-interp.c (tui_init): Call tui_initialize_readline only if gdb_stdout is a tty.
2010-02-04Generate set_tdesc_osabi for valid OSABI.H.J. Lu2-0/+17
2010-02-04 H.J. Lu <hongjiu.lu@intel.com> * target-descriptions.c: Include "osabi.h". (maint_print_c_tdesc_cmd): Generate set_tdesc_osabi for valid OSABI.
2010-02-04merge from gccDJ Delorie2-0/+5
2010-02-042010-02-04 Tristan Gingold <gingold@adacore.com>Tristan Gingold4-50/+34
* 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 * elf-bfd.h (emum elf_object_id): Rename to elf_target_id. AddNick Clifton44-639/+1312
entries for other architectures. (struct elf_link_hash_table): Add hash_table_id field. (elf_hash_table_id): New accessor macro. * elflink.c (_bfd_elf_link_hash_table_init): Add target_id parameter. * elf-m10300.c (elf32_mn10300_hash_table): Check table id before returning cast pointer. (elf32_mn10300_link_hash_table_create): Identify new table as containing MN10300 extensions. (mn10300_elf_relax_section): Check pointer returned by elf32_mn10300_hash_table. * elf32-arm.c: Likewise, except using ARM extensions. * elf32-avr.c: Likewise, except using AVR extensions. * elf32-bfin.c: Likewise, except using BFIN extensions. * elf32-cris.c: Likewise, except using CRIS extensions. * elf32-frv.c: Likewise, except using FRV extensions. * elf32-hppa.c: Likewise, except using HPPA32 extensions. * elf32-i386.c: Likewise, except using I386 extensions. * elf32-lm32.c: Likewise, except using LM32 extensions. * elf32-m32r.c: Likewise, except using M32RM extensions. * elf32-m68hc11.c: Likewise, except using M68HC11 extensions. * elf32-m68hc1x.c: Likewise, except using M68HC11 extensions. * elf32-m68hc1x.h: Likewise, except using M68HC11 extensions. * elf32-m68k.c: Likewise, except using M68K extensions. * elf32-microblaze.c: Likewise, except using MICROBLAZE extensions. * elf32-ppc.c: Likewise, except using PPC32 extensions. * elf32-s390.c: Likewise, except using S390 extensions. * elf32-sh.c: Likewise, except using SH extensions. * elf32-spu.c: Likewise, except using SPU extensions. * elf32-xtensa.c: Likewise, except using XTENSA extensions. * elf64-alpha.c: Likewise, except using ALPHA extensions. * elf64-hppa.c: Likewise, except using HPPA64 extensions. * elf64-ppc.c: Likewise, except using PPC64 extensions. * elf64-s390.c: Likewise, except using S390 extensions. * elf64-x86-64.c: Likewise, except using X86_64 extensions. * elfxx-ia64.c: Likewise, except using IA64 extensions. * elfxx-mips.c: Likewise, except using MIPS extensions. * elfxx-sparc.c: Likewise, except using SPARC extensions. * elfxx-sparc.h: Likewise, except using SPARC extensions. * elf32-cr16.c (struct elf32_cr16_link_hash_table): Delete redundant structure. (elf32_cr16_hash_table): Delete unused macro. (elf32_cr16_link_hash_traverse): Delete unused macro. * elf32-score.c: Likewise. * elf32-score7.c: Likewise. * elf32-vax.c: Likewise. * elf64-sh64.c: Likewise. * emultempl/alphaelf.em: Update value expected from elf_object_id. * emultempl/hppaelf.em: Likewise. * emultempl/mipself.em: Likewise. * emultempl/ppc32elf.em: Likewise. * emultempl/ppc64elf.em: Likewise.
2010-02-04 Include MI command in remotelog.Vladimir Prus2-0/+8
* mi/mi-main.c (mi_execute_command): Call target_log_command.
2010-02-042010-02-03 Doug Kwan <dougkwan@google.com>Doug Kwan5-527/+244
* arm-reloc-property.cc (Arm_reloc_property_table::reloc_name_in_error_message): New method definition. * arm-reloc-property.h (Arm_reloc_property_table::get_implemented_static_reloc_property): New method definition. (Arm_reloc_property_table::reloc_name_in_error_message): New method declaration. * arm-reloc.def (THM_MOVT_ABS, THM_MOVT_PREL, THM_MOVT_BREL): Change overflow to N. (GOT_PREL): Change implemented to Y. * arm.cc (Target_arm::reloc_uses_thumb_bit): Remove method. (Target_arm::Relocate::reloc_needs_sym_origin): Remove method. (Arm_relocate_functions::movw_abs_nc): Remove method. (Arm_relocate_functions::movt_abs): Ditto. (Arm_relocate_functions::thm_movw_abs_nc): Ditto. (Arm_relocate_functions::thm_movt_abs): Ditto. (Arm_relocate_functions::movw_rel_nc): Ditto. (Arm_relocate_functions::movw_rel): Ditto. (Arm_relocate_functions::movt_rel): Ditto. (Arm_relocate_functions:thm_movw_rel_nc): Ditto. (Arm_relocate_functions:thm_movw_rel): Ditto. (Arm_relocate_functions:thm_movt_rel): Ditto. (Arm_relocate_functions::movw, Arm_relocate_functions::movt, (Arm_relocate_functions::thm_movw, Arm_relocate_functions::thm_movt): New method definitions. (Arm_relocation_functions::arm_grp_alu): Add assertion for group index. (Arm_relocation_functions::arm_grp_ldr): Ditto. (Arm_relocation_functions::arm_grp_ldrs): Ditto. (Arm_relocation_functions::arm_grp_ldc): Ditto. (Target_arm::Relocate::relocate): Check for non-static or unimplemented relocation code and exit early. Change calls to Target_arm::reloc_uses_thumb_bit and Target_arm::Reloc::reloc_needs_sym_origin to use relocation property instead. Refactor code to handle similar relocations to increase code sharing. Remove check for unsupported relocation code in switch statement. (Target_arm::Relocatable_size_for_reloc::get_size_for_reloc): Use relocation property table to find out size. Change error message to print out the name of a relocation code instead of the numeric value. (Target_arm::scan_reloc_for_stub): Use relocation property table instead of calling Target_arm::reloc_uses_thumb_bit().
2010-02-04*** empty log message ***gdbadmin1-1/+1
2010-02-03merge from gccDJ Delorie4-13/+119
2010-02-03daily updateAlan Modra1-1/+1
2010-02-032010-02-03 Quentin Neill <quentin.neill@amd.com>Sebastian Pop11-16/+37
gas/ * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1. (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1. * config/tc-i386.h (processor_type): Same. * doc/c-i386.texi: Change amdfam15 to bdver1. opcodes/ * i386-gen.c (cpu_flag_init): Rename CPU_AMDFAM15_FLAGS to CPU_BDVER1_FLAGS * i386-init.h: Regenerated. testsuite/ * gas/i386/i386.exp: Rename amdfam15 test cases to bdver1. * gas/i386/x86-64-nops-1-amdfam15.d: Renamed test case to gas/i386/x86-64-nops-1-bdver1.d. * gas/i386/nops-1-amdfam15.d: Renamed test case to gas/i386/nops-1-bdver1.d.
2010-02-032010-02-03 Doug Kwan <dougkwan@google.com>Doug Kwan2-17/+23
* arm.cc (Target_arm::relocate_section): Do view adjustment for all types of relaxed input section.
2010-02-03Pass target_gdbarch to gdbarch_qsupported.H.J. Lu2-7/+8
2010-02-03 H.J. Lu <hongjiu.lu@intel.com> * 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-032010-02-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+9
* regcache.c (supply_register): Clear regcache if buf is NULL.
2010-02-03Add qsupported to gdbarch.H.J. Lu5-3/+65
2010-02-03 H.J. Lu <hongjiu.lu@intel.com> * 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 * amd64fbsd-nat.c (amd64fbsd_supply_pcb): Also check forDaniel Jacobowitz2-1/+6
__FreeBSD_kernel_version.
2010-02-032010-02-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold11-15/+71
* 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-03Increase MAX_REGISTER_SIZE to 32.H.J. Lu2-1/+5
2010-02-03 H.J. Lu <hongjiu.lu@intel.com> * defs.h (MAX_REGISTER_SIZE): Increase to 32.