summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2010-02-18 Doug Kwan <dougkwan@google.com>Doug Kwan2010-02-193-12/+448
| | | | | | | | | | | | | | | | | | | * arm-reloc.def: Mark R_ARM_TLS_GD32, R_ARM_TLS_LDM32, R_ARM_TLS_LDO32, R_ARM_TLS_IE32 and R_ARM_TLS_LE32 are implemented. * arm.cc (Arm_relocation_functions): New forward declaration. (Target_arm::Target_arm): Initialize new data members got_mod_index_offset_ and tls_base_symbol_defined_. (Target_arm::Relocate::relocate_tls): New method. (Target_arm::optimize_tls_reloc, Target_arm::define_tls_base_symbol, Target_arm::got_mod_index_entry, Target_arm::rel_tls_desc_section): New methods. (Target_arm::Got_type): Add GOT_TYPE_TLS_NOFFSET, GOT_TYPE_OFFSET, GOT_TYPE_TLS_PAIR and GOT_TYPE_TLS_DESC. (Target_arm::got_mod_index_offset_, Target_arm::tls_base_symbol_defined_): New data members. (Target_arm::Scan::local, Target::Scan::global, Target_arm::Relocate::relocate): Handle 32-bit initial TLS relocations.
* * p-typeprint.c (pascal_type_print_varspec_prefix): Update.Tom Tromey2010-02-196-63/+23
| | | | | | | | | | | | | | | | * m2-typeprint.c (m2_print_type): Update. * gdbtypes.c (recursive_dump_type): Update. (copy_type_recursive): Update. * c-typeprint.c (c_type_print_varspec_prefix): Update. (c_type_print_base): Update. * gdbtypes.h (TYPE_CODE_TEMPLATE, TYPE_CODE_TEMPLATE_ARG): Remove. (struct cplus_struct_type) <ntemplate_args>: Remove. <struct template_arg>: Remove. <is_dynamic>: Move earlier. (TYPE_TEMPLATE_ARGS): Remove. (TYPE_NTEMPLATE_ARGS): Remove. (TYPE_TEMPLATE_ARG): Remove.
* gdbTom Tromey2010-02-195-155/+290
| | | | | | | | | | | | | | | | | | | | | | | PR c++/8693, PR c++/9496: * cp-namespace.c (cp_lookup_nested_type): Handle TYPE_CODE_UNION. * c-exp.y (lex_one_token): Rename from yylex. Don't call write_dollar_variable. Don't try to classify NAME tokens. (token_and_value): New type. (token_fifo, popping, name_obstack): New globals. (classify_name): New function. (classify_inner_name): Likewise. (yylex): Likewise. (VARIABLE): Now has type sval. (exp : VARIABLE): Call write_dollar_variable. (qualified_name): Use TYPENAME, not typebase. Add production for multiple "::" instances. (variable): Use name_not_typename. (qualified_type): Remove. (typebase): Update. gdb/testsuite PR c++/8693, PR c++/9496: * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added regression tests.
* * gdbint.texinfo (Getting Started): Fix @node.Tom Tromey2010-02-192-2/+7
| | | | (Debugging GDB): Likewise.
* gdb/testsuite/Jan Kratochvil2010-02-192-225/+231
| | | | | | Fix compatibility with m68k as. * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte. Use only /* comments */.
* testsuite/Ulrich Weigand2010-02-193-3/+9
| | | | | * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT. * configure: Regenerate.
* gdb/Jan Kratochvil2010-02-193-13/+26
| | | | | | | * symfile.c (addr_info_make_relative): Extend comment. Move SECT to a more inner block. Initialize ADDR by LOWER_OFFSET only if it was found by bfd_get_section_by_name. * symfile.h (struct section_addr_info) <sectindex>: New comment.
* Don't set ELFOSABI_LINUX in dynamic ifunc-using executable.H.J. Lu2010-02-199-11/+34
| | | | | | | | | | | | | | | | | | | | | bfd/ 2010-02-18 H.J. Lu <hongjiu.lu@intel.com> * elf32-i386.c (elf_i386_add_symbol_hook): Don't set has_ifunc_symbols if the symbol comes from a shared library. * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise. * elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise. * elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise. * elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise. * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Likewise. ld/testsuite/ 2010-02-18 H.J. Lu <hongjiu.lu@intel.com> * ld-ifunc/ifunc.exp: Expect System V OSABI in dynamic ifunc-using executable.
* * configure.tgt: Whiltespace. Sort moxie entry.Alan Modra2010-02-192-15/+19
|
* * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.Alan Modra2010-02-193-2/+7
| | | | * Makefile.in: Regenerate.
* 2010-02-18 Doug Kwan <dougkwan@google.com>Doug Kwan2010-02-192-43/+227
| | | | | | | | | | | | | | | | | * arm.cc (Arm_relobj::find_linked_text_section): New method. (Arm_relobj::make_exidx_input_section): Pass section index of linked text section as a parameter becuase some broken tools may not set the link in section header. (Target_arm::has_got_section): New method. (Target_arm::scan_section_for_cortex_a8_stubs): Treat an input section without any mapping symbol as data only. Remove warning. (Arm_relobj::do_read_synbols): If an EXIDX input section has no link in its section header, try to discover the link by inspecting the REL31 relocation at the beginning of the section. (Target_arm::Scan::check_non_pic): Report name of offending relocation in error message. (Target_arm::Scan::global): Treat any reference to the symbol _GLOBAL_OFFSET_TABLE_ as a GOT access.
* bfd/Alan Modra2010-02-1911-36/+159
| | | | | | | | | | | | | | | | | * elf.c (_bfd_elf_fixup_group_sections): New function, split out from.. (_bfd_elf_copy_private_header_data): ..here. * elflink.c (_bfd_elf_size_group_sections): New function. (bfd_elf_size_dynamic_sections): Call it. * elf-bfd.h (_bfd_elf_size_group_sections): Declare. (_bfd_elf_fixup_group_sections): Declare. ld/ * ldlang.c (unique_section_p): Add os param. Allow group sections to match /DISCARD/. Update all callers. * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New. (LDEMUL_BEFORE_ALLOCATION): Define. ld/testsuite/ * ld-elf/group.ld: Discard .dropme sections. * ld-elf/group10.d, * ld-elf/group10.s: New test.
* * readelf.c (get_group_flags): Return empty string when flags zero.Alan Modra2010-02-192-3/+12
| | | | | Add space in other returned values. (process_section_groups): Adjust format string.
* * NEWS: Add new "[...] since 7.1" section. Rename the "[...] sinceJoel Brobecker2010-02-192-1/+8
| | | | 7.0 section" into "Changes in 7.1".
* Record GDB 7.1 branch creation. Bump version number to 7.1.50.20100219-cvs.gdbadmin2010-02-192-1/+6
|
* *** empty log message ***gdbadmin2010-02-191-1/+1
|
* daily updateAlan Modra2010-02-181-1/+1
|
* 2010-02-18 Harald Koenig <H.Koenig@science-computing.de>gdb_7_1-branchpointPedro Alves2010-02-183-2/+7
| | | | | * mi/mi-main.c (mi_cmd_exec_jump): Drop unneeded `return'. * symfile.c (symfile_map_offsets_to_segments): Fix assertion.
* * ld-arm/attr-merge-6.attr: Add new test. Missed off last commit.Matthew Gretton-Dann2010-02-182-0/+13
|
* * NEWS: Add Python API Improvements section.Tom Tromey2010-02-182-0/+18
|
* * NEWS: Correct typo.Daniel Jacobowitz2010-02-182-1/+5
|
* * gdb.python/py-type.exp: Check for Python support.Daniel Jacobowitz2010-02-182-0/+13
|
* * bfd/elf32-arm.c (elf32_arm_merge_eabi_attributes): Add support forMatthew Gretton-Dann2010-02-1822-14/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | merging Tag_DIV_use, Tag_MPextension_use, and Tag_MPextension_use_legacy tags. * binutils/readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of newly permitted attribute values. (arm_attr_tag_Virtualization_use): Likewise. (arm_attr_tag_DIV_use): Add description of new attribute. (arm_attr_tag_MPextension_use_legacy): Likewise. * gas/config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use. * gas/doc/c-arm.texi: Likewise. * gas/testsuite/gas/arm/attr-order.d: Fix test for new names for attribute values. * include/elf/arm.h (Tag_MPextension_use): Renumber. (Tag_DIV_use): Add. (Tag_MPextension_use_legacy): Likewise. * ld/testsuite/ld-arm/attr-merge-3.attr: Fix test for new attribute values. * ld/testsuite/ld-arm/attr-merge-3b.s: Likewise. * ld/testsuite/ld-arm/attr-merge-unknown-1.d: Fix test now that 42 is a recognised attribute ID. * ld/testsuite/ld-arm/attr-merge-unknown-1.s: Likewise. * ld/testsuite/ld-arm/attr-merge-6.attr: New test. * ld/testsuite/ld-arm/attr-merge-6a.s: Likewise. * ld/testsuite/ld-arm/attr-merge-6b.s: Likewise. * ld/testsuite/ld-arm/attr-merge-7.attr: Likewise. * ld/testsuite/ld-arm/attr-merge-7a.s: Likewise. * ld/testsuite/ld-arm/attr-merge-7b.s: Likewise. * ld/testsuite/ld-arm/arm-elf.exp: Run the new tests.
* * binutils-all/group-5.s, * binutils-all/group-5.d: New test.Alan Modra2010-02-184-0/+37
| | | | * binutils-all/objcopy.exp: Run it.
* * elf.c (bfd_elf_set_group_contents): Revert accidental 2009-01-15Alan Modra2010-02-182-13/+25
| | | | | | commit. Don't write zeros for removed group members. (_bfd_elf_copy_private_header_data): Adjust size of group section when group members are removed by objcopy.
* *** empty log message ***gdbadmin2010-02-181-1/+1
|
* * lib/gdb.exp (build_id_debug_filename_get): Don't assume newPedro Alves2010-02-172-1/+6
| | | | `regsub' syntax available.
* daily updateAlan Modra2010-02-171-1/+1
|
* * gdb.base/shmain.c (main): Remove printf call.Pedro Alves2010-02-175-22/+29
| | | | | | | * gdb.base/sizeof.c (main): Cast return of sizeof to int. * gdb.base/unload.c (main): Make format of fprintf a string literal. Add missing endlines to prints to stderr. * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
* gdbTom Tromey2010-02-175-2/+23
| | | | | | | * objfiles.c (gdb_bfd_ref): Handle abfd==NULL. gdb/testsuite * gdb.java/jprint.java (jprint.props): New field. * gdb.java/jprint.exp (set_lang_java): Add regression test.
* Use tab, not spaces.Pedro Alves2010-02-171-1/+1
|
* * gdb.base/charset.exp: Don't assume new `regsub' syntaxPedro Alves2010-02-172-2/+7
| | | | available.
* gdb/Jan Kratochvil2010-02-172-10/+15
| | | | | * symfile.c (build_section_addr_info_from_objfile): Include sections only if they are SEC_ALLOC or SEC_LOAD.
* Use CORE_ADDR instead of ULONGEST on address.H.J. Lu2010-02-172-2/+8
| | | | | | | | 2010-02-17 H.J. Lu <hongjiu.lu@intel.com> PR shlibs/11293 * solib-svr4.c (enable_break): Check size of CORE_ADDR instead of ULONGEST for address size.
* * NEWS: Add C++ improvements section.Tom Tromey2010-02-172-1/+18
|
* * python/python-internal.h [!WITH_THREAD] (PyGILState_Release,Ulrich Weigand2010-02-172-2/+7
| | | | PyThreadState_Swap): Avoid "statement with no effect" warning.
* gdb/Jan Kratochvil2010-02-172-1/+31
| | | | | * solib-svr4.c (enable_break <target_auxv_search>): New variable addr_bit. Adjust LOAD_ADDR sign for cross-arch inferiors.
* * Makefile.tpl: Use "-exec rm {}" rather than "-delete" to deleteNick Clifton2010-02-172-1/+4
| | | | the config.cache files found by the find command.
* 2010-02-17 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-02-172-4/+8
| | | | | | | Petr HluzĂ­<petr.hluzin@gmail.com> * avr-tdep.c (avr_scan_prologue): Convert an if statement to a gdb_assert. Fix info->size for SIG prologue.
* 2010-02-17 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-02-1722-0/+1409
| | | | | | * dmt.h, dst.h, eeom.h, egps.h, egsd.h, egst.h, egsy.h: New Files. * eiaf.h, eicp.h, eiha.h, eihd.h, eihi.h, eihs.h, eihvn.h: Ditto. * eisd.h, emh.h, eobjrec.h, esdf.h, esrf.h, etir.h, shl.h: Ditto.
* PR 11238Nick Clifton2010-02-175-34/+12
| | | | | | | | | * Makefile.tpl (local-distclean): Also remove config.cache files in sub-directories as there may not be Makefiles present in the sub-directories. * Makefile.in: Regenerate. * configure.ac: Revert previous delta. * configure: Regenerate.
* *** empty log message ***gdbadmin2010-02-171-1/+1
|
* daily updateAlan Modra2010-02-161-1/+1
|
* gdb/testsuite/Daniel Jacobowitz2010-02-163-11/+22
| | | | | * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file creation to support remote host testing.
* gdb/testsuite/Daniel Jacobowitz2010-02-162-4/+13
| | | | | * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail. Recognize "command not found".
* gdb/testsuite/Daniel Jacobowitz2010-02-162-1/+12
| | | | | * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware single-stepping.
* gdb/Daniel Jacobowitz2010-02-162-3/+10
| | | | | * infcmd.c (show_inferior_tty_command): Check for NULL. Correct output message.
* * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 testDaniel Jacobowitz2010-02-162-1/+8
| | | | if arguments are not supported.
* gdb/testsuite/Daniel Jacobowitz2010-02-162-2/+7
| | | | | * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to be const or non-const.
* gdb/testsuite/Daniel Jacobowitz2010-02-162-4/+8
| | | | | * gdb.mi/mi-break.exp (test_breakpoint_commands): Use mi_send_resuming_command to send -exec-continue.