aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-05-132010-05-13 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+6
* stack.c: White space, add blank lines.
2010-05-132010-05-13 Michael Snyder <msnyder@vmware.com>Michael Snyder2-12/+4
* stack.c (initialize_stack): Remove long-dead code.
2010-05-13gdb/Jan Kratochvil2-24/+24
Code cleanup. * dwarf2loc.c (dwarf2_evaluate_loc_desc): Change the parameter to type. (locexpr_read_variable, loclist_read_variable): Update the callers.
2010-05-13gdb/Jan Kratochvil2-33/+17
Code cleanup. * dwarf2read.c (die_type, die_descriptive_type): Remove variable type. Remove check of NULL returned by tag_type_to_type. (die_containing_type): Remove variable type. Remove type_die variable initialization. Remove check of NULL returned by tag_type_to_type.
2010-05-13 * config/tc-arm.c (md_assemble): Clarify current mode in errorNathan Sidwell10-143/+172
messages about unsupported instructions. (UT): Delete #define. (insns): Adjust cbnz, cbz appropriately. testsuite: * gas/arm/armv1-bad.l: Adjust expected error text. * gas/arm/arch7em-bad.l: Likewise. * gas/arm/arch7m-bad.l: Likewise. * gas/arm/thumb-w-bad.l: Likewise. * gas/arm/arm7-bad.d: New. * gas/arm/arm7-bad.l: New. * gas/arm/arm7-bad.s: New.
2010-05-13 * gas/all/gas.exp: Don't run byte test on powerpc.Alan Modra2-1/+6
2010-05-13Correct wclr encoding.Alan Modra4-7/+15
2010-05-132010-05-12 Doug Kwan <dougkwan@google.com>Doug Kwan11-14/+254
elfcpp/ChangeLog * arm.h (Tag_FP_arch, Tag_ABI_align_needed, Tag_ABI_align_preserved, Tag_FP_HP_extension, Tag_MPextension_use_legacy): Rename from existing tags. (Tag_undefined40, Tag_undefined41, Tag_MPextension_use, Tag_undefined43): New tags. (Targ_VFP_arch, Tag_ABI_align8_needed, TAG_ABI_align8_preserved, Tag_VFP_HP_extension): Define aliases for backward compatiblity. gold/ChangeLog * arm.cc (Target_arm::do_finalize_sections): Create an empty attributes section only if there no attributes section after merging. (Target_arm::merge_object_attributes): Move value of Tag_MPextension_use_legacy to that of Tag_MPextension_use. Handle Tag_DIV_use and Tag_MPextension_use_legacy. * testsuite/Makefile.am (check_SCRIPTS): Add arm_attr_merge.sh (check_DATA): Add arm_attr_merge_6.stdout, arm_attr_merge_6r_stdout and arm_attr_merge_7.stdout. (arm_attr_merge_6.stdout, arm_attr_merge_6 arm_attr_merge_6a.o arm_attr_merge_6b.o, arm_attr_merge_6r.stdout, arm_attr_merge_6r, arm_attr_merge_7.stdout, arm_attr_merge_7, arm_attr_merge_7a.o, arm_attr_merge_7b.o): New rules. (MOSTLYCLEANFILES): Add arm_attr_merge_6, arm_attr_merge_6r and arm_attr_merge_7 * testsuite/Makefile.in: Regenerate. * testsuite/arm_attr_merge.sh: New file. * testsuite/arm_attr_merge_[67][ab].s: Same.
2010-05-13daily updateAlan Modra1-1/+1
2010-05-13*** empty log message ***gdbadmin1-1/+1
2010-05-12*** empty log message ***gdbadmin1-1/+1
2010-05-12daily updateAlan Modra1-1/+1
2010-05-112010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller5-0/+109
PR exp/11530. * gdbtypes.c (lookup_struct_elt_type): Also lookup names of unnamed structures or unions. testsuite ChangeLog entry: 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr> PR exp/11530. * testsuite/gdb.base/gdb11530.c: New file. * testsuite/gdb.base/gdb11530.exp: New file.
2010-05-11 * procfs.c (proc_watchpoint_address): New function.Pierre Muller2-3/+57
(procfs_stopped_by_watchpoint): Remove useless check after find_procinfo_or_die call. (procfs_stopped_data_address): New function. (procfs_use_watchpoints): Register new watchpoint related function.
2010-05-112010-05-11 Kai Tietz <kai.tietz@onevision.com>Kai Tietz3-19/+84
* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Initialize pe(p)_leading_underscore variable. (set_pe_name): Likewise. * emultempl/pep.em: Likewise. Additional change default to non-underscore for pep_leading_underscore equal to -1.
2010-05-112010-05-10 Andrew Stubbs <ams@codesourcery.com>Nick Clifton121-13/+359
gas/ * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use. gas/testsuite/ * gas/arm/attr-cpu-directive.d: Add Tag_DIV_use. * gas/arm/attr-default.d: Likewise. * gas/arm/attr-march-armv1.d: Likewise. * gas/arm/attr-march-armv2.d: Likewise. * gas/arm/attr-march-armv2a.d: Likewise. * gas/arm/attr-march-armv2s.d: Likewise. * gas/arm/attr-march-armv3.d: Likewise. * gas/arm/attr-march-armv3m.d: Likewise. * gas/arm/attr-march-armv4.d: Likewise. * gas/arm/attr-march-armv4t.d: Likewise. * gas/arm/attr-march-armv4txm.d: Likewise. * gas/arm/attr-march-armv4xm.d: Likewise. * gas/arm/attr-march-armv5.d: Likewise. * gas/arm/attr-march-armv5t.d: Likewise. * gas/arm/attr-march-armv5te.d: Likewise. * gas/arm/attr-march-armv5tej.d: Likewise. * gas/arm/attr-march-armv5texp.d: Likewise. * gas/arm/attr-march-armv5txm.d: Likewise. * gas/arm/attr-march-armv6-m.d: Likewise. * gas/arm/attr-march-armv6.d: Likewise. * gas/arm/attr-march-armv6j.d: Likewise. * gas/arm/attr-march-armv6k.d: Likewise. * gas/arm/attr-march-armv6kt2.d: Likewise. * gas/arm/attr-march-armv6t2.d: Likewise. * gas/arm/attr-march-armv6z.d: Likewise. * gas/arm/attr-march-armv6zk.d: Likewise. * gas/arm/attr-march-armv6zkt2.d: Likewise. * gas/arm/attr-march-armv6zt2.d: Likewise. * gas/arm/attr-march-armv7-a.d: Likewise. * gas/arm/attr-march-armv7.d: Likewise. * gas/arm/attr-march-armv7a.d: Likewise. * gas/arm/attr-march-iwmmxt.d: Likewise. * gas/arm/attr-march-iwmmxt2.d: Likewise. * gas/arm/attr-march-marvell-f.d: Likewise. * gas/arm/attr-march-xscale.d: Likewise. * gas/arm/attr-mcpu.d: Likewise. * gas/arm/attr-mfpu-arm1020e.d: Likewise. * gas/arm/attr-mfpu-arm1020t.d: Likewise. * gas/arm/attr-mfpu-arm1136jf-s.d: Likewise. * gas/arm/attr-mfpu-arm1136jfs.d: Likewise. * gas/arm/attr-mfpu-arm7500fe.d: Likewise. * gas/arm/attr-mfpu-fpa.d: Likewise. * gas/arm/attr-mfpu-fpa10.d: Likewise. * gas/arm/attr-mfpu-fpa11.d: Likewise. * gas/arm/attr-mfpu-fpe.d: Likewise. * gas/arm/attr-mfpu-fpe2.d: Likewise. * gas/arm/attr-mfpu-fpe3.d: Likewise. * gas/arm/attr-mfpu-maverick.d: Likewise. * gas/arm/attr-mfpu-neon-fp16.d: Likewise. * gas/arm/attr-mfpu-neon.d: Likewise. * gas/arm/attr-mfpu-softfpa.d: Likewise. * gas/arm/attr-mfpu-softvfp+vfp.d: Likewise. * gas/arm/attr-mfpu-softvfp.d: Likewise. * gas/arm/attr-mfpu-vfp.d: Likewise. * gas/arm/attr-mfpu-vfp10-r0.d: Likewise. * gas/arm/attr-mfpu-vfp10.d: Likewise. * gas/arm/attr-mfpu-vfp3.d: Likewise. * gas/arm/attr-mfpu-vfp9.d: Likewise. * gas/arm/attr-mfpu-vfpv2.d: Likewise. * gas/arm/attr-mfpu-vfpv3-d16.d: Likewise. * gas/arm/attr-mfpu-vfpv3.d: Likewise. * gas/arm/attr-mfpu-vfpv4-d16.d: Likewise. * gas/arm/attr-mfpu-vfpv4.d: Likewise. * gas/arm/attr-mfpu-vfpxd.d: Likewise. * gas/arm/attr-order.d: Likewise. * gas/arm/attr-override-cpu-directive.d: Likewise. * gas/arm/attr-override-mcpu.d: Likewise. * gas/arm/eabi_attr_1.d: Likewise. ld/testsuite/ * ld-arm/attr-merge-2.attr: Add Tag_DIV_use. * ld-arm/attr-merge-2a.s: Likewise. * ld-arm/attr-merge-2b.s: Likewise. * ld-arm/attr-merge-3a.s: Likewise. * ld-arm/attr-merge-3b.s: Likewise. * ld-arm/attr-merge-4.attr: Likewise. * ld-arm/attr-merge-5.attr: Likewise. * ld-arm/attr-merge-6.attr: Likewise. * ld-arm/attr-merge-7.attr: Likewise. * ld-arm/attr-merge-arch-1.attr: Likewise. * ld-arm/attr-merge-arch-2.attr: Likewise. * ld-arm/attr-merge-unknown-2.d: Likewise. * ld-arm/attr-merge-unknown-2r.d: Likewise. * ld-arm/attr-merge-unknown-3.d: Likewise. * ld-arm/attr-merge-vfp-1.d: Likewise. * ld-arm/attr-merge-vfp-1r.d: Likewise. * ld-arm/attr-merge-vfp-2.d: Likewise. * ld-arm/attr-merge-vfp-2r.d: Likewise. * ld-arm/attr-merge-vfp-3.d: Likewise. * ld-arm/attr-merge-vfp-3r.d: Likewise. * ld-arm/attr-merge-vfp-4.d: Likewise. * ld-arm/attr-merge-vfp-4r.d: Likewise. * ld-arm/attr-merge-vfp-5.d: Likewise. * ld-arm/attr-merge-vfp-5r.d: Likewise. * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise. * ld-arm/attr-merge-wchar-00.d: Likewise. * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise. * ld-arm/attr-merge-wchar-02.d: Likewise. * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise. * ld-arm/attr-merge-wchar-04.d: Likewise. * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise. * ld-arm/attr-merge-wchar-20.d: Likewise. * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise. * ld-arm/attr-merge-wchar-22.d: Likewise. * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise. * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise. * ld-arm/attr-merge-wchar-40.d: Likewise. * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise. * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise. * ld-arm/attr-merge-wchar-44.d: Likewise. * ld-arm/attr-merge.attr: Likewise. 2010-04-07 Jie Zhang <jie@codesourcery.com> gas/ * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_ABI_HardFP_use to 1 if a single precision FPU is selected. gas/testsuite/ * gas/arm/attr-mfpu-vfpxd.d: New test. bfd/ * elf32-arm.c (elf32_arm_merge_eabi_attributes): Merge Tag_ABI_HardFP_use correctly. ld/testsuite/ * ld-arm/attr-merge-vfp-6.d: New test. * ld-arm/attr-merge-vfp-6r.d: New test. * ld-arm/attr-merge-vfpv3xd.s: New test. * ld-arm/arm-elf.exp: Add attr-merge-vfp-6 and attr-merge-vfp-6r. 2010-05-11 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> * arm-dis.c (thumb_opcodes): Update ldmia entry to use new %W format. (print_insn_thumb16): Add support for new %W format. * gas/arm/thumb32.d: Fix expected disassembly of ldmia instruction.
2010-05-11 * eval.c (evaluate_subexp_standard): Revert inadvertent change.Tom Tromey2-2/+6
2010-05-112010-04-20 Tiemen Schut <T.Schut@sron.nl>Joel Sherrill6-42/+54
* erc32.c (sis_memory_write): Change prototype to const unsigned char *. * func.c (exec_cmd, event, advance_time, wait_for_irq): Use uint64 for counts. * interf.c (run_sim): Change icount to uint64_t. Use strtol directly. (sim_resume): Specify maximum run time as uint64. * sis.c (run_sim): Change icount to uint64_t. * sis.h: Define uint64 as uint64_t. Change various fields and prototypes to uint64 to support longer simulations.
2010-05-11 * coffcode.h (coff_write_object_contents): Enclose all occurrencesAlan Modra2-1/+10
of hasdebug and is_reloc_section in #ifdef COFF_IMAGE_WITH_PE.
2010-05-11*** empty log message ***gdbadmin1-1/+1
2010-05-11daily updateAlan Modra1-1/+1
2010-05-102010-05-10 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+44
* utils.c: White space cleanup.
2010-05-10 * eval.c (ptrmath_type_p): Add 'lang' argument.Tom Tromey3-19/+28
(evaluate_subexp_standard): Update. (evaluate_subexp_with_coercion): Update. * language.h (CAST_IS_CONVERSION): Add 'LANG' argument.
2010-05-102010-05-10 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+6
* utils.c (do_fclose_cleanup) Restore local variable.
2010-05-10daily updateAlan Modra1-1/+1
2010-05-10*** empty log message ***gdbadmin1-1/+1
2010-05-09 * record.c (init_record_core_ops): Rename record_core to record-core.Doug Evans2-1/+5
2010-05-09daily updateAlan Modra1-1/+1
2010-05-09*** empty log message ***gdbadmin1-1/+1
2010-05-08Implement task switching on pa-hpux.Joel Brobecker2-0/+16
gdb/ChangeLog: * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): New function. (inf_ttrace_target): Set t->to_get_ada_task_ptid.
2010-05-08 * valops.c (find_overload_match): Add missing i18n markup.Pierre Muller2-1/+5
2010-05-08 * p-exp.y (exp : SIZEOF '(' exp ')'): New rule.Pierre Muller2-0/+7
2010-05-08gdb/Jan Kratochvil6-36/+57
* dwarf2read.c (typename_concat): Use (char *) NULL terminated stdarg list for the obconcat call. * mdebugread.c (parse_symbol): Likewise. * stabsread.c (define_symbol, read_member_functions, read_cpp_abbrev): Likewise. * symfile.c (obconcat): Replace the s1, s2 and s3 parameters by `...'. New variable ap. Remove variables len and val. * symfile.h (obconcat): Likewise for the prototype.
2010-05-08gdb/testsuite/Jan Kratochvil3-0/+176
* gdb.dwarf2/dw2-modula2-self-type.exp: New. * gdb.dwarf2/dw2-modula2-self-type.S: New.
2010-05-08daily updateAlan Modra1-1/+1
2010-05-08*** empty log message ***gdbadmin1-1/+1
2010-05-072010-05-07 Michael Snyder <msnyder@vmware.com>Michael Snyder14-20/+29
* python/python.c (execute_gdb_command): Remove unused variables. * python/py-block.c (gdbpy_block_for_pc): Remove unused variable. * python/py-breakpoint.c (gdbpy_breakpoint_created): Remove unused variable. * python/py-cmd.c (cmdpy_function): Remove unused variable. (cmdpy_completer): Remove unused variable. * python/py-frame.c (frapy_find_sal): Remove unused variable. * python/py-function.c (fnpy_call): Remove unused variable. * python/py-objfile.c (objfile_to_objfile_object): Remove unused variable. * python/py-param.c (parmpy_init): Remove unused variable. * python/py-prettyprint.c (apply_varobj_pretty_printer): Remove unused variable. (gdbpy_default_visualizer): Remove unused variable. * python/py-progspace.c (pspace_to_pspace_object): Remove unused variable. * python/py-symtab.c (symtab_and_line_to_sal_object): Remove unused variable. * python/py-type.c (typy_template_argument): Remove unused variable. * python/py-value.c (valpy_string): Remove unused variable. (convert_value_from_python): Remove unused variables.
2010-05-072010-05-07 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+7
* valops.c (value_cast_pointers): Restore unused variable 'type1', and use it to compute variable 't1'.
2010-05-07 bfd/Daniel Jacobowitz5-7/+125
* elf32-arm.c (struct a8_erratum_reloc): Add hash member. Move sym_name to improve packing. (cortex_a8_erratum_scan): Check for PLT entries. (elf32_arm_size_stubs): Save the target symbol for a8 relocs. ld/testsuite/ * ld-arm/cortex-a8-fix-bl-rel-plt.d: New file. * ld-arm/arm-elf.exp (armelftests): Run cortex-a8-fix-bl-rel-plt.d.
2010-05-07Fix formatting.Joel Brobecker1-2/+2
2010-05-07 * ada-lang.c (assign_aggregate): Remove unused variable.Joel Brobecker2-1/+4
2010-05-07Implement task switching on solaris targets.Joel Brobecker2-0/+42
* sol-thread.c (thread_db_find_thread_from_tid) (sol_get_ada_task_ptid): New functions. (init_sol_thread_ops): Set sol_thread_ops.to_get_ada_task_ptid.
2010-05-07Add ADL supportSami Wagiaalla13-51/+632
2010-05-07 Sami Wagiaalla <swagiaal@redhat.com> PR C++/7943: * valops.c (find_overload_match): Handle fsym == NULL case. Add int no_adl argument. (find_oload_champ_namespace_loop): Call make_symbol_overload_list_adl when appropriate. Add int no_adl argument. (find_oload_champ_namespace): Add int no_adl argument. * parse.c (operator_length_standard): Return length for OP_ADL_FUNC expression. * expprint.c (op_name_standard): Added string for OP_ADL_FUNC case. * eval.c (evaluate_subexp_standard): Added OP_ADL_FUNC case. Evaluate arguments and use them to perform ADL lookup. Pass no_adl argument to find_overload_match. Disable adl lookup when evaluating a fully qualified OP_FUNCALL. * cp-support.h: Added prototype for make_symbol_overload_list_namespace. * cp-support.c (make_symbol_overload_list_namespace): New function. (make_symbol_overload_list_adl_namespace): New function. (make_symbol_overload_list_adl): New function. (make_symbol_overload_list_using): Moved code to add function to overload set to make_symbol_overload_list_namespace. * c-exp.y: create UNKNOWN_CPP_NAME token. Add parse rule for ADL functions. (classify_name): Recognize an UNKNOWN_CPP_NAME. 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com> * gdb.cp/koenig.exp: New test. * gdb.cp/koenig.cc: New test program.
2010-05-07gdb/Jan Kratochvil2-1/+7
* fbsd-nat.c (fbsd_make_corefile_notes): Add cast to NULL used as sentinel.
2010-05-07 * remote.c (remote_query_supported_append): Use reconcat.Pedro Alves2-12/+14
(remote_query_supported): Install a cleanup. Use reconcat.
2010-05-07 * gdbarch.sh (qsupported): Delete.Pedro Alves5-35/+7
* gdbarch.h, gdbarch.c: Regenerate. * remote.c (remote_query_supported): Remove use of gdbarch_qsupported.
2010-05-07bfd/Tristan Gingold22-40/+76
2010-05-07 Tristan Gingold <gingold@adacore.com> * Makefile.in: Regenerate with automake 1.11.1. * aclocal.m4: Ditto. bfd/doc/ 2010-05-07 Tristan Gingold <gingold@adacore.com> * Makefile.in: Regenerate with automake 1.11.1. binutils/ 2010-05-07 Tristan Gingold <gingold@adacore.com> * Makefile.in: Regenerate with automake 1.11.1. * aclocal.m4: Ditto. * doc/Makefile.in: Ditto. gas/ 2010-05-07 Tristan Gingold <gingold@adacore.com> * Makefile.in: Regenerate with automake 1.11.1. * aclocal.m4: Ditto. * doc/Makefile.in: Ditto. gprof/ 2010-05-07 Tristan Gingold <gingold@adacore.com> * Makefile.in: Regenerate with automake 1.11.1. * aclocal.m4: Ditto. ld/ 2010-05-07 Tristan Gingold <gingold@adacore.com> * Makefile.in: Regenerate with automake 1.11.1. * aclocal.m4: Ditto. opcodes/ 2010-05-07 Tristan Gingold <gingold@adacore.com> * Makefile.in: Regenerate with automake 1.11.1. * aclocal.m4: Ditto.
2010-05-07gdb/ChangeLog:Sergio Durigan Junior2-12/+6
2010-05-06 Sergio Durigan Junior <sergiodj@redhat.com> * xml-syscall.c (syscall_start_syscalls_info): Remove unused function.
2010-05-072010-05-06 Michael Snyder <msnyder@vmware.com>Michael Snyder10-21/+19
* xml-support.c (xinclude_start_include): Delete unused variable. (xml_process_xincludes): Delete unused variable. * xml-syscall.c (syscall_parse_xml): Delete unused variable. * target-descriptions.c (tdesc_gdb_type): Delete unused variable. (tdesc_find_arch_register): Delete unused variable. (tdesc_use_registers): Delete unused variable. * xml-tdesc.c (tdesc_start_target): Delete unused variable. * inferior.c (print_inferior): Delete unused variable. * record.c (record_open_1): Delete unused variable. (record_restore): Delete unused variable. (cmd_record_save): Delete unused variable. * gcore.c (derive_heap_segment): Delete unused variable. (objfile_find_memory_regions): Use unused variable. * jit.c (jit_inferior_init): Delete unused variable. * progspace.c (clone_program_space): Delete unused variable. (pspace_empty_p): Delete unused variable.
2010-05-072010-05-06 Michael Snyder <msnyder@vmware.com>Michael Snyder7-14/+14
* frame-unwind.c (frame_unwind_find_by_frame): Delete unused variable. * gnu-v2-abi.c (gnuv2_value_rtti_type): Delete unused variable. * cp-support.c (mangled_name_to_comp): Delete unused variable. (method_name_from_physname): Delete unused variable. (cp_func_name): Delete unused variable. (cp_validate_operator): Delete unused variable. * cp-namespace.c (cp_scan_for_anonymous_namespaces): Delete unused variable. * trad-frame.c (trad_frame_get_prev_register): Delete unused variable. * tramp-frame.c (tramp_frame_cache): Delete unused variable.