aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-09-02gdbTom Tromey11-0/+465
* frame.h (frame_unwinder_is): Declare. * frame.c (frame_unwinder_is): New function. * dwarf2loc.c: Include dwarf2-frame.h. (dwarf_expr_frame_cfa): New function. (dwarf2_evaluate_loc_desc): Use it. (needs_frame_frame_cfa): New function. (dwarf2_loc_desc_needs_frame): Use it. * dwarf2expr.h (struct dwarf_expr_context) <get_frame_cfa>: New field. * dwarf2expr.c (execute_stack_op) <DW_OP_call_frame_cfa>: New case. * dwarf2-frame.h (dwarf2_frame_cfa): Declare. * dwarf2-frame.c (no_get_frame_cfa): New function. (execute_stack_op): Use it. (dwarf2_frame_cfa): New function. gdb/testsuite * gdb.dwarf2/callframecfa.exp: New file. * gdb.dwarf2/callframecfa.S: New file.
2009-09-022009-09-02 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-7/+10
* configure.com: Do not copy makefile.vms-in to makefile.vms * makefile.vms-in: Renamed to... * makefile.vms: ... this usual name as it is not processed anymore. Remove WRITE_DEBUG_OBJS (unused) and reorder object files for objdump.exe.
2009-09-02 * binutils-all/bfin/unknown-mode.s: New test.Jie Zhang3-0/+66
* binutils-all/bfin/objdump.exp: New test.
2009-09-02 * config/bfin-parse.y (value_match): Use int instead of long.Jie Zhang3-5/+13
From Michael Frysinger <michael.frysinger@analog.com> * config/bfin-defs.h (Expr_Node_Value): Declare the i_value member as long long.
2009-09-02regenerate copyright updateAlan Modra2-2/+2
2009-09-02 From Bernd Schmidt <bernd.schmidt@analog.com>Jie Zhang5-115/+353
* config/gas/bfin-parse.y (asm_1): Clean up and unify error handling for load and store insns. (neg_value): Delete function. testsuite/ From Bernd Schmidt <bernd.schmidt@analog.com> * gas/bfin/expected_errors.l, gas/bfin/expected_errors.s: Check error messages for invalid load/store insns.
2009-09-02update copyright datesAlan Modra739-750/+819
2009-09-022009-09-02 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini6-1/+144
* Makefile.tpl (AWK): Fix typo. * Makefile.in: Regenerate. 2009-09-02 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Detect awk and sed. * Makefile.def (flags_to_pass): Add AWK and SED. * Makefile.tpl (AWK, SED): New. (BASE_FLAGS_TO_PASS): Add AWK and SED. * configure: Regenerate. * Makefile.in: Regenerate.
2009-09-02split changelogAlan Modra4-479/+503
2009-09-02[cgen]DJ Delorie4-85/+93
* cpu/mep.opc (parse_signed16_range): Mark as potentially unused. (parse_unsigned16_range): Likewise. (mep_cgen_insn_supported_asm): Make BSR12 check dependent on VLIW isa. [opcodes] * mep-asm.c: Regenerate. * mep-desc.c: Regenerate. * mep-opc.c: Regenerate.
2009-09-022009-09-02 Hui Zhu <teawater@gmail.com>Hui Zhu2-2/+6
* record.c (record_resume): Change "signal" to "siggnal".
2009-09-02*** empty log message ***gdbadmin1-1/+1
2009-09-02daily updateAlan Modra1-1/+1
2009-09-012009-09-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-0/+22
* gas/i386/att-regs.s: Add ymm tests for 16bit and 64bit. * gas/i386/intel-regs.s: Likewise. * gas/i386/att-regs.d: Updated. * gas/i386/intel-regs.d: Likewise.
2009-09-01add missing pr numberAlan Modra1-0/+1
2009-09-012009-09-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* gas/i386/att-regs.s: Remove a tab.
2009-09-012009-09-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+8
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Declare plt earlier.
2009-09-01Fix VPATH search for generated sources in binutils, gas, ld.Ralf Wildenhues9-60/+80
binutils/: * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o) (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct source file name for generated files which may be in $(srcdir). * Makefile.in: Regenerate. gas/: * Makefile.am (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o): Supply correct source file name for generated files which may be in $(srcdir). * Makefile.in: Regenerate. ld/: * Makefile.am (ldgram.o, ldlex.o, deffilep.o): Supply correct source file name for generated files which may be in $(srcdir). * Makefile.in: Regenerate.
2009-09-01Change to "Copyright 2009".H.J. Lu6-3/+15
2009-09-01 * gdb.texinfo (Caching Data of Remote Targets): Add note onDoug Evans2-2/+13
non-stop mode's affect on remote caching.
2009-09-01 * gold.cc: Include "incremental.h".Ian Lance Taylor4-6/+68
(queue_initial_tasks): Call Incremental_checker methods. * incremental.cc: Include "output.h". (Incremental_checker::can_incrementally_link_output_file): New method. * incremental.h (Incremental_checker): New class.
2009-09-01 * output.cc (Output_file::open_for_modification): New method.Ian Lance Taylor2-43/+112
(Output_file::map_anonymous): Changed return type to bool. Record map in base_ field. (Output_file::map_no_anonymous): New method, broken out of map. (Output_file::map): Use map_no_anonymous and map_anonymous. * output.h (class Output_file): Update declarations.
2009-09-01merge from gccDJ Delorie2-8/+2
2009-09-012009-09-01 Tristan Gingold <gingold@adacore.com>Tristan Gingold5-52/+144
* makefile.vms: Adjust include pathes. Remove useless vaxctrl library. * configure.com: Ported to Itanium VMS. Create build.com DCL script. Make edit silent.
2009-09-012009-09-01 Tristan Gingold <gingold@adacore.com>Tristan Gingold9-57/+197
* makefile.vms: Ported to Itanium VMS. Remove useless targets and dependencies. Remove unused FORMAT variable. * configure.com: New file to create build.com DCL script for Itanium VMS or Alpha VMS.
2009-09-012009-09-01 Tristan Gingold <gingold@adacore.com>Tristan Gingold6-53/+144
* makefile.vms: Ported to Itanium VMS. Remove useless variable and dependencies. Reindent. * configure.com: Ported to Itanium VMS. Now generates a build.com to build without make. Add messages but make edit silent. * hosts/alphavms.h: Add a prototype for stpcpy. * vms.c: Add a missing include for Alpha VMS. * elfxx-ia64.c (ELF_OSABI): Define for OpenVMS.
2009-09-01gdb/testsuite/Jan Kratochvil4-0/+196
* gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c, gdb.base/solib-overlap-main.c: New.
2009-09-012009-09-01 Hui Zhu <teawater@gmail.com>Hui Zhu2-2/+6
* record.c (record_resume): Change "siggnal" to "signal".
2009-09-01 * config/bfin-parse.y (asm_1): Only PREG and DREG are allowedJie Zhang5-27/+48
in comparison. testsuite/ * gas/bfin/expected_comparison_errors.s: Add more cases. * gas/bfin/expected_comparison_errors.l: Update accordingly.
2009-09-01 2007-09-28 Bernd Schmidt <bernd.schmidt@analog.com>Jie Zhang2-2/+11
* config/tc-bfin.c (bfin_fix_adjustable): Partially revert the 2007-08-23 change; BFD_RELOC_BFIN_GOT is not adjustable. 2007-08-23 Jie Zhang <jie.zhang@analog.com> * config/tc-bfin.c (bfin_fix_adjustable): Adjust BFD_RELOC_BFIN_GOT, BFD_RELOC_BFIN_GOT17M4 and BFD_RELOC_BFIN_FUNCDESC_GOT17M4.
2009-09-012009-08-31 Hui Zhu <teawater@gmail.com>Hui Zhu2-3/+8
* record.c (record_resume_siggnal): Deleted. (record_resume): Ditto. (record_wait): Change record_resume_siggnal to TARGET_SIGNAL_0.
2009-09-01 * scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext,Jie Zhang3-5/+10
_stack and __bss_start. * emulparams/bfin.sh (ENTRY): Remove.
2009-09-01 * read.c (TC_START_LABEL): Add a new argument.Jie Zhang13-28/+44
(read_a_source_file): Pass the beginning of the symbol through the new argument of TC_START_LABEL. * config/tc-arm.h (TC_START_LABEL): Add a new argument. * config/tc-bfin.c (bfin_start_label): Only search '(' and '[' from the beginning of the symbol. * config/tc-bfin.h (TC_START_LABEL): Add the new argument. * config/tc-d30v.h (TC_START_LABEL): Likewise. * config/tc-fr30.h (TC_START_LABEL): Likewise. * config/tc-m32c.h (TC_START_LABEL): Likewise. * config/tc-m32r.h (TC_START_LABEL): Likewise. * config/tc-mep.h (TC_START_LABEL): Likewise. testsuite/ * gas/bfin/stack2.s: Add pop multiple instruction with a label on the same line. * gas/bfin/stack2.d: Adjust accordingly.
2009-09-01daily updateAlan Modra1-1/+1
2009-09-01*** empty log message ***gdbadmin1-1/+1
2009-08-31merge from gccDJ Delorie1-0/+6
2009-08-31 Implement TARGET_OBJECT_STACK_MEMORY.Doug Evans19-71/+378
* NEWS: Add note on new "set stack-cache" option. * corefile.c (read_stack): New function. * dcache.c (dcache_struct): New member ptid. (dcache_enable_p): Mark as obsolete. (show_dcache_enabled_p): Flag option as deprecated. (dcache_invalidate): Update ptid. (dcache_invalidate_line): New function. (dcache_read_line): No longer check cacheable attribute, stack accesses get cached despite attribute. (dcache_init): Set ptid. (dcache_xfer_memory): Flush cache if from different ptid than before. Update cache after write. (dcache_update): New function. (dcache_info): Report ptid. (_initialize_dcache): Update text for `remotecache' to indicate it is obsolete. * dcache.h (dcache_update): Declare. * dwarf2loc.c (dwarf2_evaluate_loc_desc): Mark values on stack with set_value_stack. * frame-unwind.c (frame_unwind_got_memory): Ditto. * gdbcore.h (read_stack): Declare. * memattr.c (mem_enable_command): Call target_dcache_invalidate instead of dcache_invalidate. (mem_disable_command, mem_delete_command): Ditto. * target.c (stack_cache_enabled_p_1): New static global. (stack_cache_enabled_p): New static global. (set_stack_cache_enabled_p): New function. (show_stack_cache_enabled_p): New function. (target_dcache): Make static. (target_dcache_invalidate): New function. (target_load, target_resume): Call target_dcache_invalidate instead of dcache_invalidate. (memory_xfer_partial): New arg object, all callers updated. Check for existing inferior before calling dcache routines. When writing non-TARGET_OBJECT_STACK_MEMORY, notify dcache. (target_xfer_partial): Call memory_xfer_partial for TARGET_OBJECT_STACK_MEMORY. (target_read_stack): New function. (initialize_targets): Install new option `stack-cache'. * target.h: Remove #include of dcache.h. (enum target_object): New value TARGET_OBJECT_STACK_MEMORY. (target_dcache): Delete. (target_dcache_invalidate): Declare. (target_read_stack): Declare. * top.c (prepare_execute_command): New function. (execute_command): Call prepare_execute_command instead of free_all_values. * top.h (prepare_execute_command): Declare. * valops.c (get_value_at): New function. (value_at): Guts moved to get_value_at. (value_at_lazy): Similarly. (value_fetch_lazy): Call read_stack for stack values. * value.c (struct value): New member `stack'. (value_stack, set_value_stack): New functions. * value.h (value_stack, set_value_stack): Declare. * mi/mi-main.c (mi_cmd_execute): Call prepare_execute_command instead of free_all_values. doc/ * gdb.texinfo (Caching Data of Remote Targets): Update text. Mark `set/show remotecache' options as obsolete. Document new `set/show stack-cache' option. Update text for `info dcache'.
2009-08-312009-08-31 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+8
PR gas/10570 * write.c (write_object_file): Revert the accidental change made in revision 1.124 on 2009-08-17.
2009-08-31 * ltmain.sh (func_normal_abspath): New function.Dave Korn2-1/+185
(func_relative_path): Likewise. (func_mode_help): Document new -bindir option for link mode. (func_mode_link): Add new -bindir option, and use it to place output DLL if specified.
2009-08-31bfd/Jan Beulich7-6/+32
2009-08-31 Jan Beulich <jbeulich@novell.com> * elf-bfd.h (bfd_elf_get_default_section_type): Declare. * elf.c (bfd_elf_get_default_section_type): New. (elf_fake_sections): Use bfd_elf_get_default_section_type. gas/ 2009-08-31 Jan Beulich <jbeulich@novell.com> * config/obj-elf.c (obj_elf_change_section): Set default type by calling bfd_elf_get_default_section_type. gas/testsuite/ 2009-08-31 Jan Beulich <jbeulich@novell.com> * gas/elf/section5.l: Remove no longer issued warning pattern.
2009-08-31 * lib/ld-lib.exp (is_elf_format): Return 1 for bfin-*-uclinux.Jie Zhang2-0/+5
2009-08-31 * config/bfin-aux.h: Change format from DOS to UNIX.Jie Zhang2-151/+155
2009-08-31 * ld-ifunc/ifunc.exp: Match R_PPC64_JUMP_IREL.Alan Modra2-1/+5
2009-08-31*** empty log message ***gdbadmin1-1/+1
2009-08-31daily updateAlan Modra1-1/+1
2009-08-302009-08-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-34/+6
* elf32-i386.c (elf_i386_finish_dynamic_symbol): Revert the accidental checkin. * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likwise.
2009-08-30 PR ld/10569Alan Modra4-0/+34
* ld-elf/commonpage2.d: New. * ld-elf/maxpage4.d: Likewise. * ld-elf/maxpage4.t: Likewise.
2009-08-30 PR ld/10569Alan Modra7-9/+24
* ldexp.c (fold_name <MAXPAGESIZE>): Return config.maxpagesize. (fold_name <COMMONPAGESIZE>): Similarly. * ldlang.c (output_target): Make global. * ldlang.h (output_target): Declare. * ldmain.c (main): Set config.maxpagesize from bfd_emul_get_maxpagesize. Similarly for config.commonpagesize. * ldemul.c (set_output_arch_default): Call bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize. * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Don't call bfd_emul_set_maxpagesize or bfd_emul_set_commonpagesize here.
2009-08-30 PR ld/10569Alan Modra2-5/+8
* bfd.c (bfd_emul_get_maxpagesize): Don't abort. (bfd_emul_get_commonpagesize): Likewise.
2009-08-30daily updateAlan Modra1-1/+1