aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-09-23 * config.sub, config.guess: Update from upstream sources.Nick Clifton3-83/+52
2009-09-23 * ld-srec/srec.exp: Add xfails for bfin-*-linux-uclibc.Jie Zhang2-0/+8
2009-09-23Fix previous entry.Tristan Gingold1-1/+1
2009-09-232009-09-23 Tim E. Sneddon <tsneddon@kednos.com>Tristan Gingold2-1/+5
* gas/configure.com: Fix a typo.
2009-09-23 * elf32-bfin.c (_bfinfdpic_size_got_plt): Make sure emptyJie Zhang2-26/+28
.rel.plt and .plt sections are removed. (elf32_bfinfdpic_size_dynamic_sections): Remove empty .dynbss section. Remove the duplicated removing of empty .rel.plt section.
2009-09-23 * symbols.c (define_sym_at_dot): New function, extracted from..Alan Modra2-12/+19
(colon): ..here. Define error case cloned symbol.
2009-09-23Tolerate some whitespace differences in readelf output.Alan Modra137-4042/+4183
2009-09-23*** empty log message ***gdbadmin1-1/+1
2009-09-23daily updateAlan Modra1-1/+1
2009-09-22 * solib.c (solib_bfd_open): Relax a bit the compatibility check.Joel Brobecker2-1/+5
2009-09-22 * source.c (forget_cached_source_info): Clear last_source_visited.Daniel Jacobowitz4-11/+18
(init_last_source_visited): Delete. (directory_command): Do not clear last_source_visited. Call forget_cached_source_info only if required. (unset_substitute_path_command, set_substitute_path_command): Call forget_cached_source_info. * mi/mi-cmd-env.c (mi_cmd_env_dir): Do not call init_last_source_visited. * defs.h (init_last_source_visited): Delete declaration.
2009-09-22merge from gccDJ Delorie2-0/+13
2009-09-222009-09-22 Sterling Augustine <sterling@jaw.hq.tensilica.com>Sterling Augustine1-17/+0
* config/tc-xtensa.c (md_apply_fix): Remove check for constant with difference of of two symbols. (xtensa_fix_adjustable): Likewise.
2009-09-22 PR gdb/10583:Tom Tromey2-0/+17
* python/py-value.c (valpy_int): Use PyLong_FromLongLong. (valpy_long): Likewise.
2009-09-22 * testsuite/retain_symbols_file_test.sh (check_present): ChangeIan Lance Taylor2-4/+10
output file name to retain_symbols_file_test.stdout. (check_absent): Likewise.
2009-09-22binutils/Richard Sandiford2-4/+9
* objdump.c (disassemble_section): Use bfd_get_arch_size instead of assuming that the address size is 32 bits.
2009-09-22Error out if building separately but srcdir has build remnants.Ralf Wildenhues3-0/+17
/: PR bootstrap/32272 * configure.ac: Error out if $srcdir isn't '.' but contains host-${host_noncanonical}. * configure: Regenerate.
2009-09-22gdbTom Tromey4-4/+34
PR python/10680: * eval.c (evaluate_subexp_standard) <do_call_it>: Handle internal functions in EVAL_AVOID_SIDE_EFFECTS case. gdb/testsuite * gdb.python/py-function.exp: Add regression tests.
2009-09-222009-09-22 Ozkan Sezer <sezeroz@gmail.com>Kai Tietz2-0/+8
* choose-temp.c: Include unistd.h for mingw targets.
2009-09-22 * main.c: Fix spelling error.Joel Brobecker2-1/+5
2009-09-22 * MAINTAINERS: Add myself under Write After Approval.Jie Zhang2-0/+5
2009-09-22 * gas/ppc/a2.d: Match PPC64 relocs.Alan Modra2-16/+20
2009-09-22o * ppc.h (ppc_cpu_t): Typedef to uint64_t.Alan Modra2-1/+7
2009-09-22Delete unused scripts.Alan Modra6-201/+8
2009-09-22daily updateAlan Modra1-1/+1
2009-09-22*** empty log message ***gdbadmin1-1/+1
2009-09-21 * windows-nat.c (ctrl_c_handler): Also handle CTRL_BREAK_EVENT.Pierre Muller2-2/+6
2009-09-212009-09-21 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-10/+14
* config/tc-i386.c: Remove white spaces.
2009-09-21Require c++ in stage1_languages with --enable-gold in combined bootstrap.Ralf Wildenhues3-0/+18
/: * configure.ac: If bootstrapping a combined tree with --enable-gold, require c++ in stage1_languages. * configure: Regenerate.
2009-09-21toplevel configure: bootstrap target_libs of stage1_languages.Ralf Wildenhues3-6/+16
/: * configure.ac: Also add target_libs of stage1_languages to bootstrap_target_libs. * configure: Regenerate.
2009-09-21 * cp-support.h (cp_validate_operator): Declare new function.Keith Seitz4-12/+139
* cp-support.c (cp_validate_operator): New function. * linespec.c (decode_compound): For C++ check for a valid operator.
2009-09-21 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error messageKeith Seitz2-0/+10
with invalid operator.
2009-09-21Diagnose --enable-build-with-cxx --enable-bootstrap --enable-languages w/o c++Ralf Wildenhues3-0/+20
/: * configure.ac: Diagnose --enable-build-with-cxx bootstrap with --enable-languages not containing c++. * configure: Regenerate.
2009-09-21 * c-exp.y (qualified_name): Call CHECK_TYPEDEF before decidingKeith Seitz2-0/+7
that a type is not an aggregate type.
2009-09-21 * gdb.cp/classes.exp (do_tests): Add tests to print a constructorKeith Seitz5-0/+36
and destructor using typedef name of class. * gdb.cp/classes.cc (class Base1): Add a destructor. (base1): New typedef. (use_methods): Instanitate an object of type base1. * gdb.cp/templates.exp (test_template_typedef): New procedure. (do_tests): Call test_template_typedef. * gdb.cp/templates.cc (Baz::~Baz): New method. (intBazOne): New typedef. (main): Instantiate intBazOne.
2009-09-21ld/testsuite/Richard Sandiford2-1/+7
PR ld/10681 * ld-elf/eh6.d: Expect absolute pointers in shared libraries to be converted into PC-relative form.
2009-09-21bfd/Richard Sandiford4-21/+32
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Extend previous patch to handle the new personality relaxation. ld/testsuite/ * ld-mips-elf/eh-frame5.d: Expect PC-relative encodings to include DW_EH_PE_sdata4.
2009-09-21bfd/Richard Sandiford7-15/+51
* elf-eh-frame.c (make_pc_relative): New function. (_bfd_elf_write_section_eh_frame): Use it. ld/testsuite/ * ld-mips-elf/eh-frame1-n32.d: Expect PC-relative encodings to include DW_EH_PE_sdata4. * ld-mips-elf/eh-frame2-n32.d: Likewise. * ld-mips-elf/eh-frame1-n64.d: Expect PC-relative encodings to include DW_EH_PE_sdata8. * ld-mips-elf/eh-frame2-n64.d: Likewise.
2009-09-212009-09-21 Jason Orendorff <jason.orendorff@gmail.com>Tom Tromey2-2/+6
PR python/10666: * python/py-function.c (fnpy_init): Use xstrdup.
2009-09-21 * lib/gas-defs.exp (gas_test_error): Mark internal error/assertionMaciej W. Rozycki2-7/+13
failures seen in output as fails. Also record output being matched for fails.
2009-09-21 * gas/mips/eret-1.d: Adjust regexps for robustness.Maciej W. Rozycki6-65/+75
* gas/mips/eret-2.d: Likewise. * gas/mips/eret-3.d: Likewise. * gas/mips/eret-1.s: Reformat for readability. Add a label at the beginning. * gas/mips/eret-2.s: Add a label at the beginning.
2009-09-21 * gas/mips/eret-1.s: Add trailing padding.Maciej W. Rozycki7-3/+25
* gas/mips/eret-2.s: Likewise. * gas/mips/eret-3.s: Likewise. * gas/mips/eret-1.d: Adjust accordingly. Force a 32-bit ABI. * gas/mips/eret-2.d: Likewise. * gas/mips/eret-3.d: Likewise.
2009-09-21 * gas/mips/mips.exp: Fix a typo.Maciej W. Rozycki2-1/+5
2009-09-21 * doc/gdb.texinfo: Escape "{" and "}".Jie Zhang2-1/+5
2009-09-21include/elf/Alan Modra27-65/+475
* ppc.h (DT_PPC_TLSOPT): Define. * ppc64.h (DT_PPC64_TLSOPT): Define. bfd/ * elf32-ppc.c (TLS_GET_ADDR_GLINK_SIZE): Define. (ADD_3_12_2, BEQLR, CMPWI_11_0, LWZ_11_3, LWZ_12_3): Define. (MR_0_3, MR_3_0): Define. (struct ppc_elf_link_hash_table): Add no_tls_get_addr_opt. (ppc_elf_select_plt_layout): Save emit_stub_syms param earlier. (ppc_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash table. Check for presense of __tls_get_addr_opt (allocate_dynrelocs): Increase glink entry size for __tls_get_addr. (ppc_elf_size_dynamic_sections): Add DT_PPC_TLS_OPT tag. (write_glink_stub): Add param p. (ppc_elf_relocate_section): Adjust write_glink_stub call. (ppc_elf_finish_dynamic_symbol): Emit special glink call stub for __tls_get_addr. * elf32-ppc.h (ppc_elf_tls_setup): Update prototype. * elf64-ppc.c (struct ppc_link_hash_table): Add no_tls_get_addr_opt. (ppc64_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash table. Check for presense of __tls_get_addr_opt. (ppc64_elf_size_dynamic_sections): Add DT_PPC64_TLS_OPT tag. (LD_R11_0R3, LD_R12_0R3, MR_R0_R3, CMPDI_R11_0, ADD_R3_R12_R13, BEQLR, MR_R3_R0, MFLR_R11, STD_R11_0R1, BCTRL, LD_R11_0R1, LD_R2_0R1, MTLR_R11): Define. (build_tls_get_addr_stub): New function. (ppc_build_one_stub): Call it. (ppc_size_one_stub): Add extra size for __tls_get_addr stub. (ppc64_elf_relocate_section): Don't change nop to ld 2,40(1) for __tls_get_addr plt call. * elf64-ppc.h (ppc64_elf_tls_setup): Update prototype. binutils/ * readelf.c (get_ppc_dynamic_type): Add TLSOPT. (get_ppc64_dynamic_type): Likewise. ld/ * emultempl/ppc32elf.em (no_tls_get_addr_opt): New var. (ppc_before_allocation): Pass to ppc_elf_tls_setup. (OPTION_NO_TLS_GET_ADDR_OPT): Define. Redefine other options in terms of previous option. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-tls-get-addr-optimize. (PARSE_AND_LIST_ARGS_CASES): Handle it. * emultempl/ppc64elf.em (no_tls_get_addr_opt): New var. (ppc_before_allocation): Pass to ppc64_elf_tls_setup. (OPTION_NO_TLS_GET_ADDR_OPT): Define. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-tls-get-addr-optimize. (PARSE_AND_LIST_ARGS_CASES): Handle it. ld/testsuite/ * ld-powerpc/tlslib.s: Delete dot-symbol entry syms. Add __tls_get_addr_opt. * ld-powerpc/tlslib32.s: Add __tls_get_addr_opt. * ld-powerpc/oldtlslib.s: New file, old-abi version of tlslib.s. * ld-powerpc/powerpc.exp: Build old-abi library and use it in two new link tests. * ld-powerpc/tlsexe.d: Update for new __tls_get_addr stub. * ld-powerpc/tlsexe.g, * ld-powerpc/tlsexe.r, *ld-powerpc/tlsexe32.d, * ld-powerpc/tlsexe32.g, * ld-powerpc/tlsexe32.r, * ld-powerpc/tlsexetoc.d, * ld-powerpc/tlsexetoc.g, * ld-powerpc/tlsexetoc.r: Likewise.
2009-09-21gas/Ben Elliston12-85/+1301
* config/tc-ppc.c (md_show_usage): Document -mpcca2. * doc/c-ppc.texi (PowerPC-Opts): Document -mppca2. gas/testsuite/ * gas/ppc/a2.s: New. * gas/ppc/a2.d: Likewise. * gas/ppc/ppc.exp: Run the a2 dump test. include/opcode/ * ppc.h (PPC_OPCODE_PPCA2): New. opcodes/ * ppc-dis.c (ppc_opts): Add "ppca2" entry. * ppc-opc.c (powerpc_opcodes): Add eratilx, eratsx, eratsx., eratre, wchkall, eratwe, ldawx., mdfcrx., mfdcr. mtdcrx., icswx, icswx., mtdcr., dci, wclrone, wclrall, wclr, erativax, tlbsrx., ici mnemonics. (ERAT_T): New operand. (XWC_MASK): New mask. (XOPL2): New macro. (PPCA2): Define.
2009-09-212009-09-21 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon4-1/+32
PR python/10633 * c-lang.c (c_printstr): Do not loop past options->print_max when iterating with wchar_iterate. 2009-09-21 Phil Muldoon <pmuldoon@redhat.com> PR python/10633 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New Function. (run_lang_tests): Add print elements test.
2009-09-212009-09-21 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon5-1/+113
* python/py-value.c (valpy_getitem): Test value before allowing subscript operation. 2009-09-21 Phil Muldoon <pmuldoon@redhat.com> * gdb.python/py-value.exp (test_subscript_regression): New function. Test for invalid subscripts. * gdb.python/py-value.c (main): Add test array, and pointer to it. (ptr_ref): New function.
2009-09-212009-09-21 Hui Zhu <teawater@gmail.com>Hui Zhu2-26/+133
Michael Snyder <msnyder@vmware.com> * amd64-linux-tdep.c (amd64_all_but_ip_registers_record): New function. (amd64_linux_syscall_record): Call amd64_all_but_ip_registers_record if syscall is sys_rt_sigreturn. (AMD64_LINUX_redzone, AMD64_LINUX_xstate, AMD64_LINUX_frame_size): New macros. (amd64_linux_record_signal): New function. (amd64_linux_init_abi): Call set_gdbarch_process_record_signal.
2009-09-212009-09-21 Hui Zhu <teawater@gmail.com>Hui Zhu2-1/+83
Michael Snyder <msnyder@vmware.com> * i386-linux-tdep.c (i386_all_but_ip_registers_record): New function. (i386_linux_intx80_sysenter_record): Call i386_all_but_ip_registers_record if syscall is sys_sigreturn or sys_rt_sigreturn. (I386_LINUX_xstate, I386_LINUX_frame_size): New macros. (i386_linux_record_signal): New function. (i386_linux_init_abi): Call set_gdbarch_process_record_signal.