aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-06-21* doc/as.texinfo (Overview): Use @itemx for grouped @tableAndreas Schwab11-45/+61
items. * doc/c-alpha.texi (Alpha Options): Likewise. * doc/c-arm.texi (ARM Directives): Likewise. * doc/c-bfin.texi (Blackfin Options): Likewise. * doc/c-d10v.texi (D10V-Opts): Likewise. * doc/c-i386.texi (i386-Options): Likewise. * doc/c-ia64.texi (IA-64 Options): Likewise. * doc/c-m68k.texi (M68K-Opts): Likewise. * doc/c-tic54x.texi (TIC54X-Directives): Likewise. * doc/internals.texi (Symbols): Likewise.
2010-06-21 PR gas/11733Alan Modra2-2/+7
* config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
2010-06-21daily updateAlan Modra1-1/+1
2010-06-21*** empty log message ***gdbadmin1-1/+1
2010-06-202010-06-20 Ian Lance Taylor <iant@google.com>Pedro Alves2-25/+28
Pedro Alves <pedro@codesourcery.com> * linux-x86-low.c (always_true): Delete. (EMIT_ASM, EMIT_ASM32): Use an uncondition asm jmp instead of trying to fool the compiler with always_true.
2010-06-20 * tracepoint.c (condition_true_at_tracepoint): Don't run compiledPedro Alves2-0/+21
conditions in gdbserver.
2010-06-20message.txtDanny Smith2-1/+7
2010-06-20*** empty log message ***gdbadmin1-1/+1
2010-06-20daily updateAlan Modra1-1/+1
2010-06-19 * layout.cc (gdb_sections): Add .debug_types.Cary Coutant2-0/+7
(lines_only_debug_sections): Likewise.
2010-06-19 * spu-tdep.c (spu_frame_unwind_cache): Use LSLR registerUlrich Weigand3-8/+24
value instead of hard-coded SPU_LS_SIZE. (spu_software_single_step): Likewise. * spu-tdep.h (SPU_LS_SIZE): Remove.
2010-06-19ChangeLog:Ulrich Weigand10-32/+251
* spu-multiarch.c (spu_xfer_partial): Wrap around local store limit on local store memory accesses. * spu-linux-nat.c (spu_xfer_partial): Likewise. * spu-tdep.c (spu_lslr): Remove. (spu_pointer_to_address): Do not truncate addresses. (spu_integer_to_address): Likewise. (spu_overlay_new_objfile): Use SPU_OVERLAY_LMA. * spu-tdep.h: Add comments. (SPUADDR_SPU): Respect SPU_OVERLAY_LMA bit. (SPU_OVERLAY_LMA): Define. gdbserver/ChangeLog: * spu-low.c (spu_read_memory): Wrap around local store limit. (spu_write_memory): Likewise. testsuite/ChangeLog: * gdb.arch/spu-ls.exp: New file. * gdb.arch/spu-ls.c: Likewise.
2010-06-19*** empty log message ***gdbadmin1-1/+1
2010-06-19daily updateAlan Modra1-1/+1
2010-06-182010-06-18 Stan Shebs <stan@codesourcery.com>Stan Shebs5-5/+64
* osdata.c (get_osdata): Warn separately if target does not report type list. (info_osdata_command): Allow empty type, report error if target does not return available types of OS data. * linux-nat.c (linux_nat_xfer_osdata): Report list of OS data types if no annex supplied. * gdb.texinfo (Operating System Auxiliary Information): Describe "info os" when no arguments given.
2010-06-18gas:Joseph Myers10-0/+74
* config/tc-tic6x.h (tic6x_segment_info_type): Add field func_units_used. * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used. (md_assemble): Clear func_units_used for new execute packet. Check for duplicate functional units and update func_units_used for instructions using a functional unit. gas/testsuite: * gas/tic6x/resource-func-unit-1.d, gas/tic6x/resource-func-unit-1.l, gas/tic6x/resource-func-unit-1.s, gas/tic6x/resource-func-unit-2.d, gas/tic6x/resource-func-unit-2.l, gas/tic6x/resource-func-unit-2.s: New.
2010-06-18 * thread.c (thread_id_make_value): Make a value representing theStan Shebs6-1/+51
current thread. (_initialize_thread): Create $_thread. * gdb.texinfo (Debugging Programs with Multiple Threads): Describe $_thread. * gdb.threads/thread-specific.exp: Add tests of $_thread.
2010-06-182010-06-18 Rafael Espindola <espindola@google.com>Rafael Ávila de Espíndola5-8/+20
* plugin.h (ld_plugin_add_input_file, ld_plugin_add_input_library): Make argument const. 2010-06-18 Rafael Espindola <espindola@google.com> * plugin.cc (add_input_file,add_input_library) (Plugin_manager::add_input_file): Make filename arguments const. * plugin.h (Plugin_manager::add_input_file): Make filename arguments const.
2010-06-18 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.Ulrich Weigand4-0/+30
* gdb.base/watch-cond.exp: Likewise. * gdb.python/py-breakpoint.exp: Likewise.
2010-06-18 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: UsePedro Alves3-27/+31
clean_restart, make sure every test has a distinct message, and that messages don't include the executable' full path.
2010-06-182010-06-18 Hui Zhu <teawater@gmail.com>Hui Zhu2-0/+16
* gdb.texinfo: (Process Record and Replay): Add documentation for commands "record save" and "record restore".
2010-06-18daily updateAlan Modra1-1/+1
2010-06-18*** empty log message ***gdbadmin1-1/+1
2010-06-17 * gdb.arch/i386-size.exp: Updated expected output forDoug Evans2-1/+6
DISASSEMBLY_OMIT_FNAME.
2010-06-17Minor reformatting in dwarf2read.c:psymtabs_addrmap_cleanup.Joel Brobecker2-0/+6
Really a tiny insignificant detail that just happened to catch my attention. Fixed thusly. 2010-06-17 Joel Brobecker <brobecker@adacore.com> * dwarf2read.c (psymtabs_addrmap_cleanup): Add empty line after last local variable declaration. No real code change.
2010-06-17 * dwarf2read.c (psymtabs_addrmap_cleanup): New function.Tom Tromey2-3/+24
(dwarf2_build_psymtabs_hard): Use it. Create addrmap on a temporary obstack.
2010-06-17 PR binutils/11711Nick Clifton2-11/+40
* windres.c (enum option_values): New enum. (long_options): Use separate option number for --include-dir option. (main): Separate backwards compatibility check from code to implement --include-dir. Check to see if directory exists and do not complain if it does.
2010-06-172010-06-17 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-8/+16
* Makefile.am (BFD32_BACKENDS_CFILES): Move vms-alpha.c to ... (BFD64_BACKENDS_CFILES): ... here. (BFD32_BACKENDS): Move vms-alpha.lo to ... (BFD64_BACKENDS): ... here. * Makefile.in: Regenerate.
2010-06-17oops - omitted from previous deltaNick Clifton1-0/+3
2010-06-17daily updateAlan Modra1-1/+1
2010-06-17*** empty log message ***gdbadmin1-1/+1
2010-06-16gdb/ChangeLog:Sergio Durigan Junior11-2/+564
2010-06-16 Sergio Durigan Junior <sergiodj@redhat.com> Jan Kratochvil <jan.kratochvil@redhat.com> * breakpoint.c: Include parser-defs.h. (watchpoint_exp_is_const): New function. (watch_command_1): Call watchpoint_exp_is_const to check if the expression is constant. gdb/doc/ChangeLog: 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com> * gdb.texinfo: Include information about the correct use of addresses in the `watch' command. gdb/testsuite/ChangeLog: 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com> Sergio Durigan Junior <sergiodj@redhat.com> * gdb.base/watch-notconst.c: New file. * gdb.base/watch-notconst.S: New file. * gdb.base/watch-notconst2.c: New file. * gdb.base/watch-notconst2.S: New file. * gdb.base/watch-notconst.exp: New file. * gdb.base/watchpoint.c (global_ptr_ptr): New variable. (func4): Add operations on `global_ptr_ptr'. * gdb.base/watchpoint.exp (test_constant_watchpoint): New routine to test watchpoints created with a constant expression. (test_inaccessible_watchpoint): Include tests for watchpoints created with a constant expression.
2010-06-162010-06-16 Doug Kwan <dougkwan@google.com>Doug Kwan2-3/+12
* arm.cc (Target_arm::do_finalize_sections): Do not emit an .ARM.attributes section if we have not merged any input attributes sections.
2010-06-16 PR gas/11673Nick Clifton4-1/+13
* m68k-opc.c (m68k_opcodes): Remove move.l for isab and later. * gas/m68k/p11673.s: New test. * gas/m68k/all.exp: Run the new test.
2010-06-162010-06-16 Vincent Rivire <vincent.riviere@freesbee.fr>Nick Clifton6-1/+28
PR binutils/11676 * m68k-dis.c (print_insn_arg): Prefix float constants with #0e. 2010-06-16 Nick Clifton <nickc@redhat.com> PR binutils/11676 * gas/m68k/pr11676.s: New test. * gas/m68k/pr11676.d: Expected disassembly. * gas/m68k/all.exp: Run the new test.
2010-06-16 * gmon_io.c (gmon_out_read): Remove double fclose of input file.Nick Clifton2-2/+4
2010-06-16bfd:Joseph Myers82-13/+951
* elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Decrease to 2. * elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type, elf32_tic6x_merge_arch_attributes, elf32_tic6x_merge_attributes, elf32_tic6x_merge_private_bfd_data): New. (bfd_elf32_bfd_merge_private_bfd_data, elf_backend_obj_attrs_arg_type, elf_backend_obj_attrs_section, elf_backend_obj_attrs_section_type, elf_backend_obj_attrs_vendor): Define. * elf32-tic6x.h (elf32_tic6x_merge_arch_attributes): Declare. binutils: * readelf.c (display_tic6x_attribute, process_tic6x_specific): New. (process_arch_specific): Call process_tic6x_specific for EM_TI_C6000. gas: * config/tc-tic6x.c: Include elf/tic6x.h. (tic6x_arch_attribute, tic6x_seen_insns): New. (tic6x_arch_table, tic6x_arches): Add attribute values. (tic6x_use_arch): Handle attribute settings. (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute, tic6x_attribute_table, tic6x_attributes, tic6x_convert_symbolic_attribute): New. (md_pseudo_table): Add c6xabi_attribute. (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute. (tic6x_set_attribute_int, tic6x_set_attributes): New. (tic6x_end): Call tic6x_set_attributes. * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define. (tic6x_convert_symbolic_attribute): Declare. gas/testsuite: * gas/elf/elf.exp: Set target_machine for tic6x-*-*. * gas/elf/section2.e-tic6x, gas/tic6x/attr-arch-directive-1.d, gas/tic6x/attr-arch-directive-1.s, gas/tic6x/attr-arch-directive-2.d, gas/tic6x/attr-arch-directive-2.s, gas/tic6x/attr-arch-directive-3.d, gas/tic6x/attr-arch-directive-3.s, gas/tic6x/attr-arch-directive-4.d, gas/tic6x/attr-arch-directive-4.s, gas/tic6x/attr-arch-directive-5.d, gas/tic6x/attr-arch-directive-5.s, gas/tic6x/attr-arch-opts-c62x.d, gas/tic6x/attr-arch-opts-c64x+.d, gas/tic6x/attr-arch-opts-c64x.d, gas/tic6x/attr-arch-opts-c674x.d, gas/tic6x/attr-arch-opts-c67x+.d, gas/tic6x/attr-arch-opts-c67x.d, gas/tic6x/attr-arch-opts-none-1.d, gas/tic6x/attr-arch-opts-none-2.d, gas/tic6x/attr-arch-opts-override-1.d, gas/tic6x/attr-arch-opts-override-2.d, gas/tic6x/empty.s: New. include/elf: * tic6x-attrs.h: New. * tic6x.h: Include elf/tic6x-attrs.h for attribute table. (C6XABI_Tag_CPU_arch_none, C6XABI_Tag_CPU_arch_C62X, C6XABI_Tag_CPU_arch_C67X, C6XABI_Tag_CPU_arch_C67XP, C6XABI_Tag_CPU_arch_C64X, C6XABI_Tag_CPU_arch_C64XP, C6XABI_Tag_CPU_arch_C674X): Define. ld: * emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Define. ld/testsuite: * ld-elf/orphan3.d: Allow section names starting '_'. * ld-tic6x/attr-arch-c62x-c62x.d, ld-tic6x/attr-arch-c62x-c64x+.d, ld-tic6x/attr-arch-c62x-c64x.d, ld-tic6x/attr-arch-c62x-c674x.d, ld-tic6x/attr-arch-c62x-c67x+.d, ld-tic6x/attr-arch-c62x-c67x.d, ld-tic6x/attr-arch-c62x.s, ld-tic6x/attr-arch-c64x+-c62x.d, ld-tic6x/attr-arch-c64x+-c64x+.d, ld-tic6x/attr-arch-c64x+-c64x.d, ld-tic6x/attr-arch-c64x+-c674x.d, ld-tic6x/attr-arch-c64x+-c67x+.d, ld-tic6x/attr-arch-c64x+-c67x.d, ld-tic6x/attr-arch-c64x+.s, ld-tic6x/attr-arch-c64x-c62x.d, ld-tic6x/attr-arch-c64x-c64x+.d, ld-tic6x/attr-arch-c64x-c64x.d, ld-tic6x/attr-arch-c64x-c674x.d, ld-tic6x/attr-arch-c64x-c67x+.d, ld-tic6x/attr-arch-c64x-c67x.d, ld-tic6x/attr-arch-c64x.s, ld-tic6x/attr-arch-c674x-c62x.d, ld-tic6x/attr-arch-c674x-c64x+.d, ld-tic6x/attr-arch-c674x-c64x.d, ld-tic6x/attr-arch-c674x-c674x.d, ld-tic6x/attr-arch-c674x-c67x+.d, ld-tic6x/attr-arch-c674x-c67x.d, ld-tic6x/attr-arch-c674x.s, ld-tic6x/attr-arch-c67x+-c62x.d, ld-tic6x/attr-arch-c67x+-c64x+.d, ld-tic6x/attr-arch-c67x+-c64x.d, ld-tic6x/attr-arch-c67x+-c674x.d, ld-tic6x/attr-arch-c67x+-c67x+.d, ld-tic6x/attr-arch-c67x+-c67x.d, ld-tic6x/attr-arch-c67x+.s, ld-tic6x/attr-arch-c67x-c62x.d, ld-tic6x/attr-arch-c67x-c64x+.d, ld-tic6x/attr-arch-c67x-c64x.d, ld-tic6x/attr-arch-c67x-c674x.d, ld-tic6x/attr-arch-c67x-c67x+.d, ld-tic6x/attr-arch-c67x-c67x.d, ld-tic6x/attr-arch-c67x.s: New.
2010-06-16*** empty log message ***gdbadmin1-1/+1
2010-06-16daily updateAlan Modra1-1/+1
2010-06-152010-06-15 Viktor Kutuzov <vkutuzov@accesssoftek.com>Doug Kwan2-1/+7
* arm.cc: Allow combining objects with no EABI version information.
2010-06-15 * elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Define.Joseph Myers4-13/+35
(struct elf_backend_data): Update comment on obj_attrs_order. * elf-attrs.c (vendor_obj_attr_size, vendor_set_obj_attr_contents, _bfd_elf_copy_obj_attributes): Use LEAST_KNOWN_OBJ_ATTRIBUTE instead of hardcoded 4. * elf32-arm.c (elf32_arm_obj_attrs_order): Use LEAST_KNOWN_OBJ_ATTRIBUTE and LEAST_KNOWN_OBJ_ATTRIBUTE + 1 instead of hardcoded 4 and 5. (elf32_arm_merge_eabi_attributes): Use LEAST_KNOWN_OBJ_ATTRIBUTE instead of hardcoded 4.
2010-06-152010-06-15 Rafael Espindola <espindola@google.com>Rafael Ávila de Espíndola2-0/+12
* plugin.cc (Plugin_hook::run): Set in_real_elf for the start symbol.
2010-06-15* configure.ac: Check for RDYNAMIC also for cross builds.Andreas Schwab3-66/+73
* configure: Regenerate.
2010-06-15 * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.Pedro Alves4-92/+17
(SFILES): Remove solib-null.c, add solib-target.c. (COMMON_OBS): Remove solib-null.o, add solib-target.o. (ALLDEPFILES): Remove solib-target.c. * solib-target.c (_initialize_solib_target): Set current_target_so_ops to solib_target_so_ops if not already set. * solib-null.c: Delete.
2010-06-15 * fileread.cc: Only #include <sys/uio.h> if HAVE_READV.Ian Lance Taylor2-1/+10
(struct iovec): Correct !HAVE_READV definition.
2010-06-15 * linux-x86-low.c (amd64_emit_const, amd64_emit_void_call_2)Pedro Alves4-9/+19
(i386_emit_const, i386_emit_void_call_2): Replace int64_t uses with LONGEST uses. * server.h (struct emit_ops): Replace int64_t uses with LONGEST uses. * tracepoint.c (emit_const, emit_void_call_2): Replace int64_t uses with LONGEST uses.
2010-06-15daily updateAlan Modra1-1/+1
2010-06-15*** empty log message ***gdbadmin1-1/+1
2010-06-14gdb/Pedro Alves11-6/+1836
2010-06-14 Pedro Alves <pedro@codesourcery.com> * NEWS: Mention GDBserver's JIT compilation of tracepoint bytecode. gdb/gdbserver/ 2010-06-14 Stan Shebs <stan@codesourcery.com> Pedro Alves <pedro@codesourcery.com> Bytecode compiler. * linux-x86-low.c: Include limits.h. (add_insns): New. (always_true): New. (EMIT_ASM): New. (EMIT_ASM32): New. (amd64_emit_prologue, amd64_emit_epilogue, amd64_emit_add) (amd64_emit_sub, amd64_emit_mul, amd64_emit_lsh) (amd64_emit_rsh_signed, amd64_emit_rsh_unsigned, amd64_emit_ext, (amd64_emit_log_not, amd64_emit_bit_and, amd64_emit_bit_or) (amd64_emit_bit_xor, amd64_emit_bit_not, amd64_emit_equal, (amd64_emit_less_signed, amd64_emit_less_unsigned, amd64_emit_ref, (amd64_emit_if_goto, amd64_emit_goto, amd64_write_goto_address) (amd64_emit_const, amd64_emit_call, amd64_emit_reg) (amd64_emit_pop, amd64_emit_stack_flush, amd64_emit_zero_ext) (amd64_emit_swap, amd64_emit_stack_adjust, amd64_emit_int_call_1) (amd64_emit_void_call_2): New. (amd64_emit_ops): New. (i386_emit_prologue, i386_emit_epilogue, i386_emit_add) (i386_emit_sub,i386_emit_mul, i386_emit_lsh, i386_emit_rsh_signed) (i386_emit_rsh_unsigned, i386_emit_ext, i386_emit_log_not) (i386_emit_bit_and, i386_emit_bit_or, i386_emit_bit_xor) (i386_emit_bit_not, i386_emit_equal, i386_emit_less_signed) (i386_emit_less_unsigned, i386_emit_ref, i386_emit_if_goto) (i386_emit_goto, i386_write_goto_address, i386_emit_const) (i386_emit_call, i386_emit_reg, i386_emit_pop) (i386_emit_stack_flush, i386_emit_zero_ext, i386_emit_swap) (i386_emit_stack_adjust, i386_emit_int_call_1) (i386_emit_void_call_2): New. (i386_emit_ops): New. (x86_emit_ops): New. (the_low_target): Install x86_emit_ops. * server.h (struct emit_ops): New. (get_raw_reg_func_addr): Declare. (current_insn_ptr, emit_error): Declare. * tracepoint.c (get_raw_reg, get_trace_state_variable_value) (set_trace_state_variable_value): New defines. (struct ipa_sym_addresses): New fields addr_get_raw_reg, addr_get_trace_state_variable_value and addr_set_trace_state_variable_value. (symbol_list): New fields for get_raw_reg, get_trace_state_variable_value and set_trace_state_variable_value. (condfn): New typedef. (struct tracepoint): New field `compiled_cond'. (do_action_at_tracepoint): Clear compiled_cond. (get_trace_state_variable_value, set_trace_state_variable_value): Export in the IPA. (condition_true_at_tracepoint): If there's a compiled condition, run that. (current_insn_ptr, emit_error): New globals. (struct bytecode_address): New. (get_raw_reg_func_addr): New. (emit_prologue, emit_epilogue, emit_add, emit_sub, emit_mul) (emit_lsh, emit_rsh_signed, emit_rsh_unsigned, emit_ext) (emit_log_not, emit_bit_and, emit_bit_or, emit_bit_xor) (emit_bit_not, emit_equal, emit_less_signed, emit_less_unsigned) (emit_ref, emit_if_goto, emit_goto, write_goto_address, emit_const) (emit_reg, emit_pop, emit_stack_flush, emit_zero_ext, emit_swap) (emit_stack_adjust, emit_int_call_1, emit_void_call_2): New. (compile_tracepoint_condition, compile_bytecodes): New. * target.h (emit_ops): Forward declare. (struct target_ops): New field emit_ops. (target_emit_ops): New. * linux-amd64-ipa.c (gdb_agent_get_raw_reg): New. * linux-i386-ipa.c (gdb_agent_get_raw_reg): New. * linux-low.c (linux_emit_ops): New. (linux_target_ops): Install it. * linux-low.h (struct linux_target_ops): New field emit_ops.
2010-06-14merge from gccDJ Delorie2-12/+12