aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-02-16 gdb/testsuite/Daniel Jacobowitz2-4/+13
* gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail. Recognize "command not found".
2010-02-16 gdb/testsuite/Daniel Jacobowitz2-1/+12
* gdb.arch/thumb2-it.exp (test_it_break): Handle hardware single-stepping.
2010-02-16 gdb/Daniel Jacobowitz2-3/+10
* infcmd.c (show_inferior_tty_command): Check for NULL. Correct output message.
2010-02-16 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 testDaniel Jacobowitz2-1/+8
if arguments are not supported.
2010-02-16 gdb/testsuite/Daniel Jacobowitz2-2/+7
* gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to be const or non-const.
2010-02-16 gdb/testsuite/Daniel Jacobowitz2-4/+8
* gdb.mi/mi-break.exp (test_breakpoint_commands): Use mi_send_resuming_command to send -exec-continue.
2010-02-16 gdb/Daniel Jacobowitz6-15/+67
* linespec.c (decode_line_1): Handle FILE:FUNCTION even if FUNCTION contains parentheses. Improve removal of a trailing single quote. gdb/testsuite/ * gdb.base/list.exp (test_list_filename_and_function): Add test with single quotes. * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy matching. * gdb.cp/overload.exp: Add tests with filename, function, and quotes. Add KFAIL'd tests for PR gdb/11289.
2010-02-16 gdb/Daniel Jacobowitz2-8/+20
* gcore.c (do_bfd_delete_cleanup): New function. (gcore_command): Use it. Discard the cleanup after success. (gcore_copy_callback): Delete dead code.
2010-02-16 gdb/Daniel Jacobowitz2-5/+8
* symfile.c (addr_info_make_relative): Always use find_lowest_section.
2010-02-16 gdb/testsuite/Daniel Jacobowitz2-1/+6
* gdb.cp/cpcompletion.exp: Specify source file name explicitly.
2010-02-16 gdb/testsuite/Daniel Jacobowitz3-4/+8
* gdb.base/comp-dir/subdir/dummy.txt: New file. * gdb.base/completion.exp: Use comp-dir/subdir instead of creating a temporary directory.
2010-02-16 gdb/testsuite/Daniel Jacobowitz2-33/+19
* gdb.base/charset.exp: Use a single regular expression to match show host-charset and show target-charset output.
2010-02-162010-02-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>Ramana Radhakrishnan4-13/+20
* ld-arm/jump-reloc-veneers-long.d: Correct testcase for arm-none-eabi target. * ld-arm/jump-reloc-veneers-short1.d: Likewise * ld-arm/jump-reloc-veneers-short2.d: Likewise
2010-02-162010-02-16 Sami Wagiaalla <swagiaal@redhat.com>Sami Wagiaalla2-0/+12
* NEWS: Added entry for namespace fixes.
2010-02-16*** empty log message ***gdbadmin1-1/+1
2010-02-15daily updateAlan Modra1-1/+1
2010-02-15 * dwarf2read.c (guess_structure_name): Allocate name on theTom Tromey2-1/+6
objfile obstack.
2010-02-15 * c-typeprint.c (c_type_print_base): Reverse order of test.Tom Tromey2-1/+5
2010-02-15bfd/ChangeLog:Dave Korn2-0/+12
PR binutils/11280 * configure.host (*-*-solaris2.11): Add host define to select valid default code page for windres/windmc on solaris.
2010-02-15gdb/Jan Kratochvil2-2/+13
* solib-svr4.c (LM_ADDR_CHECK): New variable minpagesize. Optionally initialize it from ELF BFD. Extend the prelink condition by it.
2010-02-15gdb/Jan Kratochvil13-47/+76
* defs.h (parse_pid_to_attach): New. * utils.c (parse_pid_to_attach): New. * darwin-nat.c (darwin_attach): Replace ARGS parsing by parse_pid. * gnu-nat.c (gnu_attach): Likewise. * nto-procfs.c (procfs_attach): Likewise. * procfs.c (procfs_attach): Likewise. * windows-nat.c (windows_attach): Likewise. * inf-ptrace.c (inf_ptrace_attach): Likewise. Remove variable dummy. * inf-ttrace.c (inf_ttrace_attach): Likewise. * remote.c (extended_remote_attach_1): Likewise. New comment on getpid check. gdb/testsuite/ * gdb.base/attach.exp (attach to nonsense is prohibited): Make the "Illegal process-id" expect string more exact. (attach to digits-starting nonsense is prohibited): New.
2010-02-15 PR 11238Nick Clifton3-0/+41
* configure.ac: Delete config.cache files in sub-directories when deleting Makefiles. * configure: Regenerate.
2010-02-15Sync from gcc mainline.Nick Clifton5-42/+124
2010-02-15Updated Vietnamese translation.Nick Clifton10-20/+40
2010-02-15*** empty log message ***gdbadmin1-1/+1
2010-02-14daily updateAlan Modra1-1/+1
2010-02-14* ppc-instructions: Fix missing assignment in last change.Andreas Schwab2-0/+5
2010-02-14 * configure.in: Check if the host has getopt.h.Masaki Muranaka5-0/+138
* configure: Regenerate. * config.in: Regenerate. * main.c: Include config.h. Use HAVE_STDLIB_H, HAVE_UNISTD_H, HAVE_GETOPT_H. Include getopt.h in case HAVE_GETOPT_H is defined.
2010-02-14 * interp.c: Don't include sysdep.h.Masaki Muranaka2-1/+24
Include stdio.h and errno.h. Include string.h strings.h stdlib.h sys/stat.h if present.
2010-02-14 * MAINTAINERS: Add myself for write after approval privileges.Masaki Muranaka2-0/+5
2010-02-14*** empty log message ***gdbadmin1-1/+1
2010-02-13daily updateAlan Modra1-1/+1
2010-02-13gdb/Jan Kratochvil2-1/+8
* solib-svr4.c: (LM_ADDR_CHECK): Move variable align to a more inner block.
2010-02-13gdb/Jan Kratochvil4-4/+19
* solib-svr4.c: (LM_ADDR_CHECK): Print successful prelink adjustment only if INFO_VERBOSE. gdb/testsuite/ * gdb.base/prelink.exp (set verbose on): New.
2010-02-13Document new gdb_test_timeout global variable.Joel Brobecker2-0/+37
* gdbint.texinfo (Testsuite): New section "Testsuite Configuration", documenting the gdb_test_timeout variable.
2010-02-13regenerate cgen-based filesDoug Evans6-95/+606
2010-02-13 * lm32-opinst.c: Regenerate.Doug Evans2-2/+20
2010-02-132010-02-12 Sriraman Tallam <tmsriram@google.com>Sriraman Tallam17-24/+556
* arm.cc (Scan::local_reloc_may_be_function_pointer): New function. (Scan::global_reloc_may_be_function_pointer): New function. * sparc.cc (Scan::local_reloc_may_be_function_pointer): New function. (Scan::global_reloc_may_be_function_pointer): New function. * powerpc.cc (Scan::local_reloc_may_be_function_pointer): New function. (Scan::global_reloc_may_be_function_pointer): New function. * i386.cc (Scan::local_reloc_may_be_function_pointer): New function. (Scan::global_reloc_may_be_function_pointer): New function. * x86_64.cc (Scan::local_reloc_may_be_function_pointer): New function. (Scan::global_reloc_may_be_function_pointer): New function. (Scan::possible_function_pointer_reloc): New function. (Target_x86_64::can_check_for_function_pointers): New function. * gc.h (gc_process_relocs): Scan relocation types to determine if function pointers were taken for targets that support it. * icf.cc (Icf::find_identical_sections): Include functions for folding in safe ICF whose pointer is not taken. * icf.h (Secn_fptr_taken_set): New typedef. (fptr_section_id_): New member. (section_has_function_pointers): New function. (set_section_has_function_pointers): New function. (check_section_for_function_pointers): New function. * options.h: Fix comment for safe ICF option. * target.h (can_check_for_function_pointers): New function. * testsuite/Makefile.am: Add icf_safe_so_test test case. Modify icf_safe_test for X86-64. * testsuite/Makefile.in: Regenerate. * testsuite/icf_safe_so_test.cc: New file. * testsuite/icf_safe_so_test.sh: New file. * testsuite/icf_safe_test.cc (kept_func_3): New function. (main): Change to take pointer to function kept_func_3. * testsuite/icf_safe_test.sh (arch_specific_safe_fold): Check if safe folding is done correctly for X86-64.
2010-02-13 * linux-low.c (linux_supports_tracefork_flag): Document.Doug Evans2-0/+9
(linux_look_up_symbols): Add comment.
2010-02-13 * output.h (Output_reloc<SHT_REL>::Output_reloc): AddDavid S. Miller4-80/+258
is_symbolless parameter. (Output_reloc<SHT_REL>::is_symbolless): New. (Output_reloc<SHT_REL>::is_symbolless_): New. (Output_reloc<SHT_REL>::type_): Decrease to 29 bits. (Output_reloc<SHT_RELA>::Output_reloc): Add is_symbolless parameter. (Output_reloc<SHT_RELA>::is_symbolless): New. (Output_data_reloc::add_global): Handle is_symbolless. (Output_data_reloc::add_global_relative): Likewise. (Output_data_reloc::add_local): Likewise. (Output_data_reloc::add_local_relative): Likewise. (Output_data_reloc::add_symbolless_global_addend): New. (Output_data_reloc::add_symbolless_local_addend): New. * output.cc (Output_reloc<SHT_REL>::Output_reloc): Handle is_symbolless. (Output_reloc::set_needs_dynsym_index): Test ->is_symbolless_ instead of ->is_relative_ (Output_reloc::write): Likewise. (Output_reloc::get_symbol_index): Return 0 when ->is_symbolless_ (Output_reloc::write_rel): Simplify. * sparc.cc (Target_sparc::Scan::local): Use ->add_symbolless_local_addend as needed. (Target_sparc::Scan::global): Use ->add_symbolless_global_addend as needed. Also, emit appropriate unaligned vs. aligned dynamic reloc based upon relocation offset.
2010-02-13*** empty log message ***gdbadmin1-1/+1
2010-02-12daily updateAlan Modra1-1/+1
2010-02-122010-02-12 Tomas Holmberg <th@virtutech.com>Michael Snyder2-0/+180
* mi-reverse.exp: New file. Test for reverse option to the following MI commands: exec-continue, exec-finish, exec-next, exec-step, exec-next-instruction, exec-step-instruction.
2010-02-122010-02-12 Jakob Engblom <jakob@virtutech.com>Michael Snyder2-24/+60
* gdb.texinfo (MI commands): Added documentation of --reverse option to a set of MI commands. Restructured documentation of MI commands --exec-continue to reflect the complexity of reverse execution.
2010-02-122010-02-12 Tomas Holmberg <th@virtutech.com>Michael Snyder2-8/+70
* mi/mi-main.c: Added the --reverse flag to the following MI commands: exec-continue, exec-finish, exec-next, exec-step, exec-next-instruction, exec-step-instruction. This is to support reverse execution over the MI interface to gdb.
2010-02-122010-02-12 Daniel Gutson <dgutson@codesourcery.com>Daniel Gutson7-1/+94
bfd/ * elf32-arm.c (elf32_arm_output_arch_local_syms): add missing mapping symbol to data only sections. ld/testsuite/ * ld-arm/arm-elf.exp (armelftests): New test case added. * ld-arm/data-only-map.s: New file. * ld-arm/data-only-map.d: New file. * ld-arm/data-only-map.ld: New file.
2010-02-12*** empty log message ***Daniel Gutson3-42/+42
2010-02-12 gas/Daniel Gutson14-119/+1301
* config/tc-arm.c (asm_opcode): operands type change. (BAD_PC_ADDRESSING): New macro message. (BAD_PC_WRITEBACK): Likewise. (MIX_ARM_THUMB_OPERANDS): New macro. (operand_parse_code): Added enum values. (parse_operands): Added thumb/arm distinction, plus new enum values handling. (encode_arm_addr_mode_2): Validations enhanced. (encode_arm_addr_mode_3): Likewise. (do_rm_rd_rn): Likewise. (encode_thumb32_addr_mode): Likewise. (do_t_ldrex): Likewise. (do_t_ldst): Likewise. (do_t_strex): Likewise. (md_assemble): Call parse_operands with a new parameter. (OPS_1): New macro. (OPS_2): Likewise. (OPS_3): Likewise. (OPS_4): Likewise. (OPS_5): Likewise. (OPS_6): Likewise. (insns): Updated insns operands. gas/testsuite/ * gas/arm/sp-pc-validations-bad.d: New testcase. * gas/arm/sp-pc-validations-bad.l: New file. * gas/arm/sp-pc-validations-bad.s: New file. * gas/arm/sp-pc-validations-bad-t.d: New testcase. * gas/arm/sp-pc-validations-bad-t.l: New file. * gas/arm/sp-pc-validations-bad-t.s: New file. * gas/arm/sp-pc-usage-t.d: Removed invalid insns. * gas/arm/sp-pc-usage-t.s: Likewise. * gas/arm/unpredictable.d: Likewise. * gas/arm/unpredictable.s: Likewise. * gas/arm/thumb2_bcond.d: Added test. * gas/arm/thumb2_bcond.s: Likewise.
2010-02-12 gdb/doc/Pedro Alves4-6/+21
* gdb.texinfo (Using the Collected Data): Specify that the address range of `tfind outsize' is exclusive, and that the address range of `tfind range' is inclusive. (Tracepoint Packets): Specify that the address range of `QTFrame:range' is inclusive, and that the address range of `QTFrame:outside' is exclusive gdb/ * tracepoint.c (_initialize_tracepoint): Specify that the address range of `tfind outsize' is exclusive, and that the address range of `tfind range' is inclusive, in the commands' help strings.
2010-02-12gas/Tristan Gingold7-1/+166
2010-02-12 Tristan Gingold <gingold@adacore.com> Douglas B Rupp <rupp@gnat.com> * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC. (DUMMY_RELOC_IA64_SLOTCOUNT): Added. (pseudo_func): Add an entry for slotcount. (md_begin): Initialize slotcount pseudo symbol. (ia64_parse_name): Handle @slotcount parameter. (ia64_gen_real_reloc_type): Handle slotcount. (md_apply_fix): Ditto. * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount. gas/testsuite/ 2010-02-12 Tristan Gingold <gingold@adacore.com> * gas/ia64/slotcount.s, gas/ia64/slotcount.s: New test. * gas/ia64/ia64.exp: Add slotcount test (vms only).