aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-06-02Fix spelling mistakes.Nick Clifton48-4555/+6016
2011-06-02* config.bfd: Add bfd_elf32_rx_be_ns_vec.DJ Delorie6-1/+45
* target.c: Likewise. * configure.in: Likewise. * configure.in: Regenerate. * elf32-rx.c: Add elf32-rx-be-ns target. (rx_elf_object_p): Never allow the be-ns target by default, only allow it if the user requests it.
2011-06-02daily updateAlan Modra1-1/+1
2011-06-02*** empty log message ***gdbadmin1-1/+1
2011-06-012011-05-31 Doug Kwan <dougkwan@google.com>Doug Kwan7-6/+120
Asier Llano PR gold/12826 * arm.cc (Target_arm::tag_cpu_arch_combine): Fix handling of arch value that equals to elfcpp::MAX_TAG_CPU_ARCH. * testsuite/Makefile.am: (MOSTLYCLEANFILES): Clean up. Remove redundant arm_exidx_test.so. * testsuite/Makefile.in: Regenerate. (check_SCRIPTS): Add pr12826.sh (check_DATA): Add pr12826.stdout (pr12826.stdout, pr12826.so, pr12826_1.o, pr12826_2.o): New rules. * testsuite/pr12826.sh: New file. * testsuite/pr12826_1.s: Ditto. * testsuite/pr12826_1.s: Ditto.
2011-06-01Properly warn relocation in readonly section in a shared object.H.J. Lu3-4/+10
2011-06-01 H.J. Lu <hongjiu.lu@intel.com> * elf32-i386.c (elf_i386_size_dynamic_sections): Properly warn relocation in readonly section in a shared object. * elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Likewise.
2011-06-01Add `sim_complete_command' definition to erc32 simJoel Brobecker2-0/+10
This patch fixes a build failure at link time due to sim_complete_command being undefined. There was a recent change that added this function to all the ports that do not use the common/ subdir. But somehow, the erc32 port got missed. sim/erc32/ChangeLog: * interf.c (sim_complete_command): New stub function.
2011-06-012011-06-01 Yao Qi <yao@codesourcery.com>Yao Qi2-0/+8
* gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
2011-06-01gdb: sim: automatically pass down sysrootMike Frysinger2-0/+9
Since gdb sets up a nice sysroot path for us by default, automatically pass it down to the sim target so it too gets a good default. This does not override anything the user explicitly specifies of course. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-012011-06-01 Yao Qi <yao@codesourcery.com>Yao Qi2-2/+8
* objfiles.h (obj_section_addr): Update reference to objfile from `abfd' to `obfd'. (obj_section_endaddr): Likewise.
2011-06-01Really correct email address.Daniel Jacobowitz1-1/+1
2011-06-01 * MAINTAINERS: Update my email address.Daniel Jacobowitz2-2/+6
2011-06-01 * MAINTAINERS: Update my email address and affiliation. AlsoDaniel Jacobowitz2-8/+13
update Ian Lance Taylor's affiliation. Use UTF-8 for ludo@gnu.org.
2011-06-01*** empty log message ***gdbadmin1-1/+1
2011-05-31 PR c++/12750Keith Seitz3-0/+134
* gdb.cp/static-method.cc: New file. * gdb.cp/static-method.exp: New file.
2011-05-31 PR c++/12750Keith Seitz2-51/+104
* linespec.c (get_search_block): New function. (find_methods): Add FILE_SYMTATB parameter and use it and get_search_block to pass an appropriate block to lookup_symbol_in_namespace. (decode_line_1): Record if *ARGPTR is single-quote enclosed. Check if *ARGPTR starts with a filename first. If it does, call locate_first_half again to locate the next "first half" of the linespec. Pass FILE_SYMTATB to decode_objc and decode_compound. Swallow the trailing single-quote if IS_SQUOTE_ENCLOSED. (locate_first_half): Stop on the first colon seen. (decode_compound): Add FILE_SYMTAB parameter. Pass FILE_SYMTAB to lookup_prefix_sym and find_method. (lookup_prefix_sym): Add FILE_SYMTAB parameter and use get_search_block with lookup_symbol. (find_method): Add FILE_SYMTAB parameter and pass it to find_methods. (decode_objc): Use get_search_block.
2011-05-31 PR symtab/12704Keith Seitz3-0/+168
* gdb.cp/anon-ns.cc: New file. * gdb.cp/anon-ns.exp: New file.
2011-05-31 PR symtab/12704Keith Seitz5-12/+38
* cp-namespace.c (ANONYMOUS_NAMESPACE_LEN): Remove. (cp_scan_for_anonymous_namespaces): Use CP_ANONYMOUS_NAMESPACE_STR and CP_ANONYMOUS_NAMESPACE_LEN. (cp_is_anonymous): Likewise. * cp-support.h (CP_ANONYMOUS_NAMESPACE_STR): Define. (CP_ANONYMOUS_NAMESPACE_LEN): Define. * dwarf2read.c (namespace_name): Likewise. (fixup_partial_die): Likewise. * linespec.c (decode_compound): If CP_ANONYMOUS_NAMESPACE_STR is seen in the input, keep it.
2011-05-312011-05-31 Pedro Alves <pedro@codesourcery.com>Pedro Alves6-2/+105
gdb/gdbserver/ * linux-x86-low.c (i386_dr_low_get_addr): Fix off by one in assertion. * win32-i386-low.c (i386_dr_low_get_addr): Ditto. gdb/testsuite/ * gdb.arch/i386-dr3-watch.c: New file. * gdb.arch/i386-dr3-watch.exp: New file.
2011-05-31 * archive.c (adjust_relative_path): Fix comment to prevent itNick Clifton2-3/+12
corrupting the auto-generated bfd.h.
2011-05-312011-05-31 Paul Brook <paul@codesourcery.com>Paul Brook11-2/+51
gas/ * config/tc-arm.c (arm_cpus): Add Cortex-R5. (arm_extensions): Allow idiv on ARMv7-R. * doc/c-arm.text: Update idiv extension restrictions. gas/testsuite/ * gas/arm/arm-idiv-bad.d: New test. * gas/arm/arm-idiv-bad.s: New test. * gas/arm/arm-idiv-bad.l: New test. * gas/arm/arm-idiv.d: New test. * gas/arm/arm-idiv.s: New test. include/ * opcode/arm.h (ARM_ARCH_V7R_IDIV): Define.
2011-05-312011-05-31 Paul Brook <paul@codesourcery.com>Paul Brook5-2/+59
gas/ * config/tc-arm.c (arm_force_relocation): Resolve all pc-relative loads. gas/testsuite/ * gas/arm/ldr-global.d: New test. * gas/arm/ldr-global.s: New test.
2011-05-312011-05-31 Paul Brook <paul@codesourcery.com>Paul Brook12-11/+62
bfd/ * elf32-arm.c (elf32_arm_final_link_relocate): Only do bl conversion for known functions. (elf32_arm_swap_symbol_in): Only set ST_BRANCH_TO_ARM for function symbols. include/elf/ * arm.h (arm_st_branch_type): Add ST_BRANCH_UNKNOWN. ld/testsuite/ * ld-arm/cortex-a8-far.d: Adjust expected output. * ld-arm/arm-call1.s: Give function symbol correct type. * ld-arm/arm-call2.s: Ditto. * ld-arm/farcall-group4.s: Ditto. * ld-arm/arm-elf.exp (cortex-a8-far): Define far symbols with correct type via assembly file. * ld-arm/cortex-a8-far-3.s: New file. * ld-arm/abs-call-1.s: Add Thumb tests
2011-05-312011-05-31 Paul Brook <paul@codesourcery.com>Paul Brook5-1/+32
gas/ * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant addresses. gas/testsuite/ * arm/t2-branch-global.d: New test. * arm/t2-branch-global.s: New test.
2011-05-312011-05-31 Paul Brook <paul@codesourcery.com>Paul Brook7-0/+63
Nathan Sidwell <nathan@codesourcery.com> gas/ * config/tc-arm.c (fix_new_arm): Create an absolute symbol for pc-relative fixes to constants. * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define. ld/testsuite/ * ld-arm/abs-call-1.d: New. * ld-arm/abs-call-1.s: New. * ld-arm/arm-elf.exp: Add it.
2011-05-312011-05-31 Paul Brook <paul@codesourcery.com>Paul Brook5-8/+33
bfd/ * elf32-arm.c (arm_stub_is_thumb): Add arm_stub_long_branch_v4t_thumb_tls_pic. (elf32_arm_final_link_relocate): TLS stubs are always ARM. Handle Thumb stubs. ld/testsuite/ * ld-arm/tls-longplt.d: Update expected output. * ld-arm/tls-thumb1.d: Ditto.
2011-05-31 PR binutils/12820Alan Modra3-3/+14
* configure.in (BUILD_INSTALL_MISC): Only add embedspu once. * configure: Regenerate.
2011-05-31 * reloc.cc (Sized_relobj_file::do_read_relocs): Ignore empty relocIan Lance Taylor2-0/+8
sections.
2011-05-31*** empty log message ***gdbadmin1-1/+1
2011-05-31daily updateAlan Modra1-1/+1
2011-05-302011-05-30 Pedro Alves <pedro@codesourcery.com>Pedro Alves5-17/+11
gdb/ * target.h (enum inferior_event_type): Delete INF_QUIT_REQ. * inf-loop.h (inferior_event_handler_wrapper): Delete. * inf-loop.c (inferior_event_handler_wrapper): Delete. (inferior_event_handler): Don't handle INF_QUIT_REQ. * remote.c (_initialize_remote): Register async_remote_interrupt_twice directly as sigint_remote_twice_token event.
2011-05-302011-05-30 Pedro Alves <pedro@codesourcery.com>Pedro Alves3-10/+5
gdb/ * target.h (enum inferior_event_type): Delete INF_ERROR. * inf-loop.c (inferior_event_handler): Don't handle INF_ERROR.
2011-05-302011-05-30 Pedro Alves <pedro@codesourcery.com>Pedro Alves2-1/+4
gdb/ * interps.c (interp_set): Don't cancel continuations.
2011-05-30gdb/Jan Kratochvil2-1/+5
* linux-nat.c (linux_lwp_is_zombie): Use xsnprintf.
2011-05-302011-05-30 Pedro Alves <pedro@codesourcery.com>Pedro Alves9-95/+173
gdb/ * continuations.h (continuation_ftype): Add `err' parameter. Document parameters. (do_all_continuations, do_all_continuations_thread) (do_all_intermediate_continuations) (do_all_intermediate_continuations_thread) (do_all_inferior_continuations): Add `err' parameter. * continuations.c (do_my_continuations_1, do_my_continuations) (do_all_inferior_continuations, do_all_continuations_ptid) (do_all_continuations_thread_callback) (do_all_continuations_thread, do_all_continuations) (do_all_intermediate_continuations_thread_callback) (do_all_intermediate_continuations_thread) (do_all_intermediate_continuations): Add `err' parameter, and pass it down all the way to the continuations proper. * inf-loop.c (inferior_event_handler): If fetching an inferior event throws an error, don't pop the target, and still call the continuations, but with `err' set. Adjust all other continuation calls. * breakpoint.c (until_break_command_continuation): Add `err' parameter. * infcmd.c (step_1_continuation): Add `err' parameter. Don't issue another step if `err' is set. (struct until_next_continuation_args): New. (until_next_continuation): Add `err' parameter. Adjust. (until_next_command): Adjust. (struct finish_command_continuation_args): Add `thread' field. (finish_command_continuation): Add `err' parameter. Handle it. (finish_forward): Adjust. (attach_command_continuation): Add `err' parameter. Handle it. * infrun.c (infrun_thread_stop_requested_callback): Adjust to cancel the continuations. * interps.c (interp_set): Adjust to cancel the continuations. * thread.c (clear_thread_inferior_resources): Adjust to cancel the continuations rather than discarding. (free_thread): Don't clear thread inferior resources here. (delete_thread_1): Do it here instead. And do it before removing the thread from the threads list. Tag the thread as exited before clearing thread inferior resources.
2011-05-30Rephrase error message in infcall.c:call_function_by_handJoel Brobecker2-1/+5
No real change besides the error message. gdb/ChangeLog: * infcall.c (call_function_by_hand): Rephrase error message.
2011-05-30 PR binutils/12820Alan Modra3-22/+96
* Makefile.am (bin_PROGRAMS): Move BUILD_INSTALL_MISC to.. (bin_SCRIPTS): ..here. (EXTRA_SCRIPTS): Define. (EXTRA_DIST): Add embedspu.sh. (DISTCLEANFILES): Add embedspu. (embedspu): Depend on Makefile. Replace sed "s" command with "c". * Makefile.in: Regenerate.
2011-05-302011-05-30 Yao Qi <yao@codesourcery.com>Yao Qi3-2/+205
* gdb.base/callfuncs.c (t_structs_fc): New. (t_structs_dc, t_structs_ldc): New. (t_double_many_args): (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define. (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define. (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define. * gdb.base/callfuncs.exp: Call new functions.
2011-05-302011-05-30 Yao Qi <yao@codesourcery.com>Yao Qi2-31/+63
* gdb.base/callfuncs.exp (rerun_and_prepare): New. Call rerun_and_prepare for each test to isolate effects.
2011-05-302011-05-30 Yao Qi <yao@codesourcery.com>Yao Qi4-0/+121
* gdb.base/varargs.c (find_max_float_real): New. (find_max_double_real, find_max_long_double_real): New. * gdb.base/varargs.exp: Call these new added functions. * lib/gdb.exp (setup_kfail_for_target): New.
2011-05-302011-05-30 Yao Qi <yao@codesourcery.com>Yao Qi4-1/+278
* gdb.base/funcargs.c (callca, callcb, callcc): New. (callcd, callce, callcf, callc1a, callc1b): New. (callc2a, callc2b): New. * gdb.base/funcargs.exp (complex_args): New. (complex_integral_args, complex_float_integral_args): New. * lib/gdb.exp (support_complex_tests): New. Determine whether to run test cases on _Complex types.
2011-05-30daily updateAlan Modra1-1/+1
2011-05-30*** empty log message ***gdbadmin1-1/+1
2011-05-29 PR gold/12804Ian Lance Taylor3-28/+38
* testsuite/Makefile.am: Use different file name for two_file_test temporary file for each incremental test. * testsuite/Makefile.in: Rebuild.
2011-05-29 * binary.cc (Binary_to_elf::sized_convert): Don't crash if theIan Lance Taylor2-5/+17
binary input file is empty.
2011-05-29*** empty log message ***gdbadmin1-1/+1
2011-05-29daily updateAlan Modra1-1/+1
2011-05-28*** empty log message ***gdbadmin1-1/+1
2011-05-28daily updateAlan Modra1-1/+1
2011-05-27 * testsuite/Makefile.am (ver_test_2.so): Use -Wl,-R,.Ian Lance Taylor3-4/+10
(ver_test_9.so): Likewise. * testsuite/Makefile.in: Rebuild.