aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-07-31Sync with gcc.H.J. Lu2-1/+4
2011-07-26 H.J. Lu <hongjiu.lu@intel.com> * testsuite/demangle-expected: Remove an extra line.
2011-07-31*** empty log message ***gdbadmin1-1/+1
2011-07-31daily updateAlan Modra1-1/+1
2011-07-30gdb/Jan Kratochvil2-1/+5
* stack.c (print_frame_info): Comment typo fix.
2011-07-30gas/Richard Sandiford2-1/+4
* config/tc-mips.c (nops_for_vr4130): Revert previous commit.
2011-07-30daily updateAlan Modra1-1/+1
2011-07-30*** empty log message ***gdbadmin1-1/+1
2011-07-29 * elfxx-mips.c (check_br32): Fix return type.Maciej W. Rozycki2-1/+5
2011-07-29 * elfxx-mips.c (bz_insn_16): Correct opcode mask.Maciej W. Rozycki2-1/+5
2011-07-29 bfd/Maciej W. Rozycki6-144/+122
* elfxx-mips.c: Adjust comments throughout. (mips_elf_relax_delete_bytes): Reshape code. (_bfd_mips_elf_relax_section): Remove check for R_MICROMIPS_GPREL16 relocations. Reshape code. gas/ * config/tc-mips.c: Adjust comments throughout. (reglist_lookup): Reshape code. (jmp_reloc_p, jalr_reloc_p): Reformat. (got16_reloc_p, hi16_reloc_p, lo16_reloc_p): Handle microMIPS relocations. (gpr_mod_mask): Remove unused variable. (gpr_read_mask, gpr_write_mask): Reshape code. (fpr_read_mask, fpr_write_mask): Likewise. (nops_for_vr4130): Ensure non-microMIPS mode. (can_swap_branch_p): Correct pinfo2 reference. Reshape code. (append_insn): Skip Loongson 2F workaround in MIPS16 mode. Use the outermost operator of a compound relocation to determines the relocated field. Fix formatting. (md_convert_frag): Reshape code. include/opcode/ * mips.h: Clarify the description of microMIPS instruction manipulation macros. (MICROMIPSOP_MASK_MAJOR, MICROMIPSOP_SH_MAJOR): Remove macros.
2011-07-292011-07-29 Sterling Augustine <saugustine@google.com>Sterling Augustine2-0/+5
* MAINTAINERS (Write After Approval): Add myself to the list.
2011-07-29 * solib-target.c: Use DEF_VEC_I, not DEF_VEC_O.Tom Tromey2-3/+9
(library_list_start_segment): Update. (library_list_start_section): Update.
2011-07-29 * gas/elf/warn-2.s: Add other types of NOP insn.Nick Clifton2-6/+21
2011-07-292011-07-29 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-32/+36
* frags.c (frag_var_init): New function. (frag_var): Call frag_var_init to initialize. (frag_variant): Ditto.
2011-07-29*** empty log message ***gdbadmin1-1/+1
2011-07-29daily updateAlan Modra1-1/+1
2011-07-28 * workqueue-internal.h (Workqueue_threader::should_cancel_thread):Cary Coutant5-10/+28
Add thread_number parameter. (Workqueue_threader_threadpool::should_cancel_thread): Likewise. * workqueue-threads.cc (Workqueue_threader_threadpool::should_cancel_thread): Cancel current thread if its thread number is greater than desired thread count. * workqueue.cc (Workqueue_threader_single::should_cancel_thread): Add thread_number parameter. (Workqueue::should_cancel_thread): Likewise. (Workqueue::find_runnable_or_wait): Pass thread_number to should_cancel_thread. * workqueue.h (Workqueue::should_cancel_thread): Add thread_number parameter.
2011-07-28BFD vector for elf32-i386-nacl:Roland McGrath6-6/+195
bfd/ * elf32-i386.c (NACL_PLT_ENTRY_SIZE, NACLMASK): New macros. (elf_i386_nacl_plt0_entry): New variable. (elf_i386_plt_entry): New variable. (elf_i386_nacl_pic_plt0_entry): New variable. (elf_i386_nacl_pic_plt_entry): New variable. (elf_i386_nacl_plt, elf_i386_nacl_arch_bed): New variables. (elf_backend_arch_data): New macro setting for elf_i386_nacl_vec stanza. (elf_backend_plt_alignment): Likewise. * config.bfd: Handle i[3-7]86-*-nacl*. * elf32-i386.c (bfd_elf32_i386_nacl_vec): New backend vector stanza. * targets.c: Support bfd_elf32_i386_nacl_vec. * configure.in: Likewise. * configure: Regenerated.
2011-07-28Parameterize elf32-i386 PLT generation:Roland McGrath2-44/+138
* elf32-i386.c (struct elf_i386_plt_layout): New type. (GET_PLT_ENTRY_SIZE): New macro. (elf_i386_plt): New variable. (struct elf_i386_backend_data): New member `plt'. (elf_i386_arch_bed): Add initializer for it. (elf_i386_vxworks_arch_bed): Likewise. (elf_i386_allocate_dynrelocs): Use GET_PLT_ENTRY_SIZE. (elf_i386_plt_sym_val): Likewise. (elf_i386_relocate_section): Likewise. (elf_i386_finish_dynamic_symbol): Likewise. Also use other elf_i386_plt_layout members for PLT details. (elf_i386_finish_dynamic_sections): Likewise.
2011-07-28Clean up elf32-i386-vxworks:Roland McGrath4-57/+97
* elf32-i386.c (struct elf_i386_backend_data): New type. (get_elf_i386_backend_data): New macro. (elf_i386_arch_bed): New variable. (elf_backend_arch_data): New macro. (struct elf_i386_link_hash_table): Remove plt0_pad_byte and is_vxworks. (elf_i386_link_hash_table_create): Don't initialize them. (elf_i386_create_dynamic_sections): Find is_vxworks flags in elf_i386_backend_data, not elf_i386_link_hash_table. (elf_i386_adjust_dynamic_symbol): Likewise. (elf_i386_allocate_dynrelocs): Likewise. (elf_i386_readonly_dynrelocs): Likewise. (elf_i386_size_dynamic_sections): Likewise. (elf_i386_relocate_section): Likewise. (elf_i386_finish_dynamic_symbol): Likewise. (elf_i386_finish_dynamic_sections): Likewise. Same for plt0_pad_byte. (elf_i386_vxworks_link_hash_table_create): Function removed. (elf_i386_vxworks_arch_bed): New variable. (elf_backend_arch_data): New macro in elf32-i386-vxworks stanza. * elf-bfd.h (elf_backend_data): New member arch_backend_data. * elfxx-target.h (elf_backend_arch_data): New macro. (elfNN_bed): Use it as initializer for the new member.
2011-07-28 * dwarf2dbg.c (out_debug_line): Ignore non-normal segments, with aNick Clifton6-1/+44
warning. * doc/as.texinfo (Offset): Document .offset directive. testsuite/ * gas/elf/warn-2.s: New.
2011-07-28 * elf64-hppa.c (elf_hppa_final_link_relocate): Fix handling of outNick Clifton2-3/+8
of range branches.
2011-07-282011-07-28 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon6-9/+71
* varobj.c (value_get_print_value): Move hint check later into the function. Comment function. Free thevalue before reusing it. 2011-07-28 Phil Muldoon <pmuldoon@redhat.com> * gdb.python/py-mi.exp: Test printers returning string hint, and also not returning a value. * gdb.python/py-prettyprint.c: Add testcase for above. * gdb.python/py-prettyprint.py: Add test printer for above.
2011-07-28daily updateAlan Modra1-1/+1
2011-07-28*** empty log message ***gdbadmin1-1/+1
2011-07-27gdb/testsuite/Jan Kratochvil3-48/+34
* gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3. (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove. (.Ldie30) Add as field "data4". (.Ldie32) Rename field "b" to "shl". (abbrev4) Change for the "data4" field. (abbrev5, abbrev6) Remove. * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ... (p &s.shl): ... here. Add comment. (p &s.data4): New.
2011-07-27ld/testsuite/Roland McGrath2-5/+9
2011-07-27 Roland McGrath <mcgrathr@google.com> * ld-i386/vxworks1-lib.rd: Swap order of sections expected in output.
2011-07-27gdb/Jan Kratochvil4-10/+21
2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com> Pedro Alves <pedro@codesourcery.com> * eval.c (evaluate_subexp_standard): Remove not_lval from all calls of value_one. * valops.c (value_one): Remove parameter lv. Do not pass it to itself. Assert the result kind. * value.h (value_one): Remove parameter lv.
2011-07-27gdb/Jan Kratochvil4-1/+12
Fix crash on lval_computed values. * valops.c (value_zero): Use not_lval for lval_computed. gdb/testsuite/ Fix crash on lval_computed values. * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
2011-07-27 * Makefile.in (HFILES_NO_SRCDIR): Add 'common' prefix forTom Tromey2-2/+7
gdb_assert.h, gdb_locale.h, gdb_dirent.h.
2011-07-27gdb/Jan Kratochvil4-3/+14
* typeprint.c (_initialize_typeprint): Extend the help of "whatis" and "ptype" by their typedefs difference. gdb/testsuite/ * gdb.base/help.exp (help whatis): Update the expected string.
2011-07-27gdb/Jan Kratochvil8-229/+330
* dwarf2expr.c (ctx_no_read_reg): New function. * dwarf2expr.h (ctx_no_read_reg): New declaration. * dwarf2read.c (read_2_signed_bytes, read_4_signed_bytes): Remove. (decode_locdesc_read_mem, decode_locdesc_ctx_funcs): New. (decode_locdesc): Replace by a caller of dwarf_expr_eval. gdb/testsuite/ * gdb.dwarf2/dw2-simple-locdesc.S: New file. * gdb.dwarf2/dw2-simple-locdesc.exp: New file. * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors): Change the expected string.
2011-07-27gdb/Jan Kratochvil4-55/+77
* dwarf2-frame.c (no_get_frame_base, no_get_frame_cfa, no_get_frame_pc) (no_get_tls_address, no_dwarf_call, no_base_type): Move to the other file. (dwarf2_frame_ctx_funcs): Reference the renamed functions. * dwarf2expr.c (ctx_no_get_frame_base, ctx_no_get_frame_cfa) (ctx_no_get_frame_pc, ctx_no_get_tls_address, ctx_no_dwarf_call) (ctx_no_get_base_type): Move the functions here. * dwarf2expr.h (ctx_no_get_frame_base, ctx_no_get_frame_cfa) (ctx_no_get_frame_pc, ctx_no_get_tls_address, ctx_no_dwarf_call) (ctx_no_get_base_type): New declarations.
2011-07-27binutils/Jan Kratochvil2-6/+11
* dwarf.c (read_and_display_attr_value): Recognize DW_FORM_data4 and DW_FORM_data8 as location list pointers only for DWARF < 4.
2011-07-27 * xcoffread.c (dwarf2_xcoff_names): Add 'macro' and 'sentinel'Tom Tromey4-2/+15
entries. * symfile.h (struct dwarf2_debug_sections) <sentinel>: New field. * dwarf2read.c (dwarf2_elf_names): Add sentinel entry.
2011-07-272011-07-27 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-26/+24
* frags.c (frag_grow): Revert previous patch.
2011-07-27*** empty log message ***gdbadmin1-1/+1
2011-07-27daily updateAlan Modra1-1/+1
2011-07-26 * dwarf2.c (dwarf_debug_sections): Add .debug_macroJakub Jelinek7-1/+344
and .zdebug_macro entry. (dwarf_debug_section_enum): Add debug_macro. * NEWS: Mention .debug_macro support. * dwarf.c (read_and_display_attr_value): Don't print a tab if attribute is 0. (get_AT_name): Handle DW_AT_GNU_macros. (get_line_filename_and_dirname, display_debug_macro): New functions. (debug_displays): Add an entry for .debug_macro and .zdebug_macro. * readelf.c (process_section_headers): With do_debug_macinfo handle also .debug_macro sections. * dwarf.h (dwarf_section_display_enum): Add macro.
2011-07-262011-07-26 Sterling Augustine <saugustine@google.com>Paul Pluzhnikov2-2/+8
* cli/cli-dump.c (dump_binary_file): Change parameter type to ULONGEST. (dump_bfd_file): Likewise.
2011-07-262011-07-26 Philippe Waroquiers <philippe.waroquiers@skynet.be>Philippe Waroquiers4-0/+55
* remote.c (remote_region_ok_for_hw_watchpoint): New function. (remote_hw_watchpoint_length_limit): New variable. (_initialize_remote) add set,show cmds for this new variable. * gdb.texinfo: document these new commands. * NEWS: Mention these new commands.
2011-07-262011-07-26 Pedro Alves <pedro@codesourcery.com>Pedro Alves4-1/+32
gdb/ * breakpoint.c (works_in_software_mode_watchpoint): Also return true for software watchpoints. gdb/testsuite/ * gdb.base/watchpoint.exp (test_disable_enable_software_watchpoint): New procedure. (top level): Run it.
2011-07-26 Merge from gcc:Ian Lance Taylor6-749/+312
2011-07-26 Ian Lance Taylor <iant@google.com> * configure.ac: Set have_compiler based on whether gcc directory exists, rather than on whether gcc is in configdirs. * configure: Rebuild. 2011-07-20 David Edelsohn <dje.gcc@gmail.com> * Makefile.tpl (POSTSTAGE1_CONFIGURE_FLAGS): Add libsupc++ to link directories. * Makefile.in: Rebuild. 2011-07-20 Ian Lance Taylor <iant@google.com> PR bootstrap/49787 * configure.ac: Move --enable-bootstrap handling earlier in file. If --enable-bootstrap and either --enable-build-with-cxx or --enable-build-poststage1-with-cxx, enable C++ automatically. * configure: Rebuild. 2011-07-19 Ian Lance Taylor <iant@google.com> * configure.ac: Add --enable-build-poststage1-with-cxx. If set, make C++ a boot_language. Set and substitute POSTSTAGE1_CONFIGURE_FLAGS. * Makefile.tpl (POSTSTAGE1_CONFIGURE_FLAGS): New variable. (STAGE[+id+]_CONFIGURE_FLAGS): Add $(POSTSTAGE1_CONFIGURE_FLAGS). * configure, Makefile.in: Rebuild. 2011-07-16 Jason Merrill <jason@redhat.com> * Makefile.def (language=c++): Add check-c++0x and check-target-libmudflap-c++. * Makefile.tpl (check-target-libmudflap-c++): New. * Makefile.in: Regenerate. 2011-07-16 Matthias Klose <doko@ubuntu.com> * Makefile.tpl (EXTRA_CONFIGARGS_LIBJAVA): Define. * Makefile.def (target_modules/libjava): Pass $(EXTRA_CONFIGARGS_LIBJAVA). * configure.ac: Pass --disable-static in EXTRA_CONFIGARGS_LIBJAVA, if not configured with --enable-static-libjava. * Makefile.in: Regenerate. * configure: Likewise. 2011-06-22 Hans-Peter Nilsson <hp@axis.com> PR regression/47836 PR bootstrap/23656 PR other/47733 PR bootstrap/49247 PR c/48825 * configure.ac (target_libraries): Remove target-libiberty. Remove case-statement setting skipdirs=target-libiberty for multiple targets. Remove checking target_configdirs and removing target-libiberty but keeping target-libgcc if otherwise empty. * Makefile.def (target_modules): Don't add libiberty. (dependencies): Remove all traces of target-libiberty. * configure, Makefile.in: Regenerate.
2011-07-26 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version ofUlrich Weigand7-51/+61
executable file "${binfile}", C++ version "${binfile}-cxx". * gdb.python/py-prettyprint.exp: Likewise. * gdb.python/py-symbol.exp: Likewise. * gdb.python/py-type.exp: Likewise. * gdb.python/py-value.exp: Likewise. * gdb.python/py-template.exp (test_template_arg): Pass full executable file name instead of just suffix.
2011-07-26GDB 7.3 released.gdbadmin1-0/+4
2011-07-26 * symfile.h (struct dwarf2_debug_sections) <macro>: New field.Tom Tromey3-145/+472
* dwarf2read.c (read_indirect_string_at_offset): New function. (read_indirect_string): Use it. (dwarf_decode_macro_bytes): New function, taken from dwarf_decode_macros. Handle DW_MACRO_GNU_*. (dwarf_decode_macros): Use it. handle DW_MACRO_GNU_*. (dwarf_parse_macro_header, skip_form_bytes, skip_unknown_opcode): New functions. (struct dwarf2_per_objfile) <macro>: New field. (dwarf2_elf_names): Add .debug_macro. (dwarf2_macros_too_long_complaint): Add 'section' argument. (dwarf2_locate_sections): Handle new section. (read_file_scope): Handle DW_AT_GNU_macros. (dwarf2_per_objfile_free): Unmap the .debug_macro section.
2011-07-26gdb/doc/Jan Kratochvil2-14/+65
* gdb.texinfo (whatis, ptype): Highlight their differences. Describe typedefs unrolling. Extend the sample code by an inner typedef and outer typedefs unrolling.
2011-07-26merge from gccDJ Delorie3-1/+21
2011-07-262011-07-26 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov5-40/+171
* NEWS: Mention dcache configuration. * dcache.c (dcache_set_list, dcache_show_list): New variables. (dcache_size, dcache_line_size): New variables. (LINE_SIZE_MASK, XFORM, MASK): Adjust. (struct dcache_block): Make it expandable. (struct dcache_struct): New field. (dcache_invalidate): Discard freelist upon dcache_line_size changes. (dcache_hit, dcache_alloc, dcache_peek_byte): Adjust. (dcache_poke_byte, dcache_print_line): Adjust. (set_dcache_size, set_dcache_line_size): New functions. (set_dcache_command, show_dcache_command): New functions. (_initialize_dcache): Add new commands. doc/ChangeLog: 2011-07-26 Paul Pluzhnikov <ppluzhnikov@google.com> * gdb.texinfo (Caching Remote Data): Document {set,show} dcache size and line-size.
2011-07-262011-07-26 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov4-14/+34
* progspace.h (struct program_space): Add solib_add_generation. * infcmd.c (post_create_inferior): Only call solib_add if not already done. * solib.c (solib_add): Increment solib_add_generation.