aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-08-012011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov5-7/+50
PR gdb/13045 * doublest.c (convert_doublest_to_floatformat): Pass correct mantissa length to put_field. testsuite/ChangeLog: 2011-07-30 Paul Pluzhnikov <ppluzhnikov@google.com> PR gdb/13045 * gdb.base/float.exp: Add new test case for PR gdb/13045 * gdb.base/float.c: New file.
2011-08-01gdb/Jan Kratochvil2-20/+19
* stack.c (do_gdb_disassembly): Use RETURN_MASK_ERROR, simplify the exception_print code path. (backtrace_command): Remove variable e. Protect arg by make_cleanup in advance. Simplify memset. Remove TRY_CATCH. Remove explicit xfree. (backtrace_full_command): Remove variable e. Remove TRY_CATCH.
2011-08-01gdb/Jan Kratochvil2-116/+58
Code cleanup. * stack.c (struct print_stack_frame_args, print_stack_frame_stub): Remove, merge them into ... (print_stack_frame): ... here with a TRY_CATCH. New variable e, remove variable args and its initialization. (struct print_args_args, print_args_stub): Remove, merge them into print_frame. (struct gdb_disassembly_stub_args, gdb_disassembly_stub): Remove, merge them into ... (do_gdb_disassembly): ... here. Remove variable args and its initialization. (print_frame): Remove variable args and its initialization, new variable gdbarch and numargs (from print_args_stub), inline here print_args_stub with a TRY_CATCH. (struct backtrace_command_args, backtrace_command_stub): Remove, merge them into ... (backtrace_command, backtrace_full_command): ... here with a TRY_CATCH. New variable e, remove variable btargs and its initialization.
2011-08-012011-08-01 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+8
* darwin-nat.c (darwin_decode_exception_message): Adjust assertion.
2011-08-01 PR ld/12974Nick Clifton2-2/+27
* config/tc-arm.c (literal_pool): Add locs field. (add_to_lit_pool): Initialise the locs entry for the new literal. (s_ltorg): Generate a DWARF2 line number entry for each emitted literal pool entry.
2011-08-012011-08-01 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-11/+15
* write.c (write_relocs): Fix -Wshadow in DEBUG3 and DEBUG4.
2011-08-012011-08-01 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-18/+29
* frags.c (frag_grow): Simplify the code.
2011-08-01daily updateAlan Modra1-1/+1
2011-08-01*** empty log message ***gdbadmin1-1/+1
2011-07-31 * breakpoint.c (insert_bp_location): Document return value.Thiago Jung Bauermann2-4/+13
(insert_breakpoint_locations): Fix documentation. (remove_breakpoints): Add documentation.
2011-07-31 * breakpoint.c (insert_bp_location): Remove disabled_breaksThiago Jung Bauermann2-17/+16
argument. Update callers.
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.