aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-07-26 * lib/ada.exp (standard_ada_testfile): New proc.Tom Tromey73-370/+184
* gdb.ada/aliased_array.exp: Use standard_ada_testfile. * gdb.ada/array_bounds.exp: Use standard_ada_testfile. * gdb.ada/array_return.exp: Use standard_ada_testfile. * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile. * gdb.ada/arrayidx.exp: Use standard_ada_testfile. * gdb.ada/arrayparam.exp: Use standard_ada_testfile. * gdb.ada/arrayptr.exp: Use standard_ada_testfile. * gdb.ada/atomic_enum.exp: Use standard_ada_testfile. * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile. * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile. * gdb.ada/bp_on_var.exp: Use standard_ada_testfile. * gdb.ada/bp_range_type.exp: Use standard_ada_testfile. * gdb.ada/call_pn.exp: Use standard_ada_testfile. * gdb.ada/catch_ex.exp: Use standard_ada_testfile. * gdb.ada/char_enum.exp: Use standard_ada_testfile. * gdb.ada/char_param.exp: Use standard_ada_testfile. * gdb.ada/complete.exp: Use standard_ada_testfile. * gdb.ada/cond_lang.exp: Use standard_ada_testfile, standard_output_file. * gdb.ada/dyn_loc.exp: Use standard_ada_testfile. * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile. * gdb.ada/exec_changed.exp: Use standard_ada_testfile, standard_output_file. * gdb.ada/exprs.exp: Use standard_ada_testfile. * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile. * gdb.ada/fixed_points.exp: Use standard_ada_testfile. * gdb.ada/formatted_ref.exp: Use standard_ada_testfile. * gdb.ada/frame_args.exp: Use standard_ada_testfile. * gdb.ada/fullname_bp.exp: Use standard_ada_testfile. * gdb.ada/fun_addr.exp: Use standard_ada_testfile. * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile. * gdb.ada/funcall_param.exp: Use standard_ada_testfile. * gdb.ada/homonym.exp: Use standard_ada_testfile. * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile. * gdb.ada/int_deref.exp: Use standard_ada_testfile. * gdb.ada/interface.exp: Use standard_ada_testfile. * gdb.ada/lang_switch.exp: Use standard_ada_testfile, standard_output_file * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile. * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile. * gdb.ada/mi_task_info.exp: Use standard_ada_testfile. * gdb.ada/mod_from_name.exp: Use standard_ada_testfile. * gdb.ada/nested.exp: Use standard_ada_testfile. * gdb.ada/null_array.exp: Use standard_ada_testfile. * gdb.ada/null_record.exp: Use standard_ada_testfile. * gdb.ada/operator_bp.exp: Use standard_ada_testfile. * gdb.ada/packed_array.exp: Use standard_ada_testfile. * gdb.ada/packed_tagged.exp: Use standard_ada_testfile. * gdb.ada/print_chars.exp: Use standard_ada_testfile. * gdb.ada/print_pc.exp: Use standard_ada_testfile. * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile. * gdb.ada/ptype_field.exp: Use standard_ada_testfile. * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile. * gdb.ada/rec_return.exp: Use standard_ada_testfile. * gdb.ada/ref_param.exp: Use standard_ada_testfile. * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile. * gdb.ada/same_enum.exp: Use standard_ada_testfile. * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile. * gdb.ada/small_reg_param.exp: Use standard_ada_testfile. * gdb.ada/start.exp: Use standard_ada_testfile. * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile. * gdb.ada/sym_print_name.exp: Use standard_ada_testfile. * gdb.ada/taft_type.exp: Use standard_ada_testfile. * gdb.ada/tagged.exp: Use standard_ada_testfile. * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile. * gdb.ada/task_bp.exp: Use standard_ada_testfile. * gdb.ada/tasks.exp: Use standard_ada_testfile. * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile. * gdb.ada/type_coercion.exp: Use standard_ada_testfile. * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile. * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile. * gdb.ada/watch_arg.exp: Use standard_ada_testfile. * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile. * gdb.ada/widewide.exp: Use standard_ada_testfile.
2012-07-26gdb/Jan Kratochvil2-2/+5
* auto-load.c (auto_load_info_scripts): Remove immediate_quit increment and decrement.
2012-07-262012-07-26 Teresa Johnson <tejohnson@google.com>Cary Coutant2-0/+7
* bfd/dwarf2.c (find_line): Initialize discriminator_ptr if it is non-NULL.
2012-07-26 * copying.c: Rebuild.Tom Tromey3-8/+9
* copying.awk: Don't use immediate_quit. Use 'no_set_class', not 'no_class'.
2012-07-26 * symmisc.c (print_symbol_bcache_statistics): Use QUIT, notTom Tromey5-28/+39
immediate_quit. (print_objfile_statistics): Likewise. (maintenance_print_symbols): Likewise. (maintenance_print_msymbols): Likewise. (maintenance_print_objfiles): Likewise. * psymtab.c (print_partial_symbols): Call QUIT. (maintenance_print_psymbols): Likewise. Don't modify immediate_quit. * copying.c (show_copying_command): Don't modify immediate_quit. (show_warranty_command): Likewise. * cli/cli-cmds.c (show_version): Don't modify immediate_quit.
2012-07-26 * linespec.c (linespec_lexer_lex_number): The inputKeith Seitz2-2/+13
is also a valid number if the next character is a comma or colon.
2012-07-26[NEWS] Document --enable-libmcheck/--disable-libmcheckJoel Brobecker2-0/+14
gdb/ChangeLog: * NEWS: Document new --enable-libmcheck/--disable-libmcheck configure options.
2012-07-26Fix attributation of PR 13135 patch.Nick Clifton2-2/+4
2012-07-26 PR ld/14397Nick Clifton6-1/+265
* elf32-arm.c (elf32_arm_finish_dynamic_sections): Report an error if a required section is missing from the linker script. * ld-arm/arm-elf.exp: Add tests of linking without .rel.plt. * ld-arm/arm-no-rel-plt.out: Linker script without .rel.plt section. * ld-arm/arm-no-rel-plt.out: Expected output.
2012-07-262012-07-26 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+5
* machoread.c: Include gdb_bfd.h.
2012-07-262012-07-26 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+6
* dwarf2loc.c (locexpr_describe_location_piece): Use uint64_t for offset.
2012-07-26 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Expand parameterSiddhesh Poyarekar4-16/+30
SIZE to size_t. (dwarf2_evaluate_loc_desc): Likewise. (dwarf2_loc_desc_needs_frame): Likewise. (locexpr_describe_location_1): Likewise. * dwarf2loc.h (struct dwarf2_locexpr_baton): Make SIZE as size_t. (struct dwarf2_loclist_baton): Likewise. * dwarf2read.c (struct dwarf_block): Likewise. (dump_die_shallow): Use pulongest to print dwarf_block.size. (decode_locdesc): Expand SIZE and I to size_t.
2012-07-26*** empty log message ***gdbadmin1-1/+1
2012-07-26daily updateAlan Modra1-1/+1
2012-07-25gdb/testsuite/Jan Kratochvil2-1/+6
Fix testsuite regression after --use-deprecated-index-sections removal. * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
2012-07-25gdb/testsuite/Jan Kratochvil2-0/+18
Fix compatibility with Tcl before 7.5. * lib/future.exp (lreverse): New function if it does not exist.
2012-07-25gdb/Jan Kratochvil2-2/+6
* contrib/cc-with-tweaks.sh: Put into comment path gdb/contrib/.
2012-07-252012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>Marc Khouzam3-1/+31
* gdb.mi/mi-pending.c: New method to set a second pending breakpoint. * gdb.mi/mi-pending.exp: Set a pending breakpoint with a condition.
2012-07-25convert_doublest_to_floatformat: handle off-range values.Joel Brobecker2-0/+28
On x86_64-linux targetting AVR, we see the following issues: (gdb) print 1.6e+308 $1 = 0.89002949 (gdb) print 1.6e-308 $3 = 2.87630892 What happens is that GDB is trying to convert the value it read (as a host "long double") into a target "double" value. The routine performing the conversion does not realize that 1.6e+308 is just too large to fit in a double. Similarly, it does not notice that 1.6e-308 is too small to be represented. This patch enhances convert_doublest_to_floatformat to both handle floats that are too small and too large. gdb/ChangeLog: * doublest.c (convert_doublest_to_floatformat): If the exponent is too small, treat the value as zero. If the exponent is too large, treat the value as infinity.
2012-07-25Add support for --enable-lmcheck configure option.Joel Brobecker3-3/+46
This allows the user to enable this option at configure time if building a release, or to disable it if building a snapshot. gdb/ChangeLog: * configure.ac: Add --enable-lmcheck configure option. * configure: Regenerate.
2012-07-25 * NEWS: Mention maint info bfds.Tom Tromey5-0/+95
* gdb_bfd.c (all_bfds): New global. (gdb_bfd_ref, gdb_bfd_unref): Update all_bfds. (print_one_bfd, maintenance_info_bfds, _initialize_gdb_bfd): New functions. gdb/doc * gdb.texinfo (Maintenance Commands): Document maint info bfds.
2012-07-252012-07-25 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-1/+5
* configure.tgt: Add v850*-*-rtems*.
2012-07-25 * macrotab.c (macro_bcache_str): Remove cast.Tom Tromey2-1/+5
2012-07-252012-07-25 James Lemke <jwlemke@codesourcery.com>James Lemke2-56/+60
* ppc-opc.c (powerpc_opcodes): Add/remove PPCVLE for some 32-bit insns.
2012-07-252012-07-25 Hui Zhu <hui_zhu@mentor.com>Hui Zhu2-12/+26
* linespec.c (linespec_lexer_lex_number): Update comments, change the return and add check to make sure the input is the decimal numbers. (linespec_lexer_lex_one): If linespec_lexer_lex_number return false, call linespec_lexer_lex_string.
2012-07-25MASM accepts ESP/RSP being specified second in a memory addressJan Beulich2-1/+21
operand, by silently making it the base register despite not being specified first. Consequently, we also permit an xmm/ymm index to be specified first (possibly alone), nevertheless putting it in as index register. 2012-07-24 Jan Beulich <jbeulich@suse.com> * config/tc-i386-intel.c (i386_intel_simplify_register): Handle xmm/ymm index register being specified first as well as esp/rsp base register being specified last in a memory operand.
2012-07-25Using the dedicated manifest constant is more descriptive.Jan Beulich2-2/+7
2012-07-24 Jan Beulich <jbeulich@suse.com> * config/tc-i386-intel.c (i386_intel_simplify_register): Replace literal 4 by corresponding ESP_REG_NUM.
2012-07-25daily updateAlan Modra1-1/+1
2012-07-25*** empty log message ***gdbadmin1-1/+1
2012-07-242012-07-24 Jan Waclawek <konfera@efton.sk>Eric B. Weddington2-1/+7
PR ld/14058 * emultempl/avrelf.em (avr_elf_after_allocation): Call elf32_avr_size_stubs with is_prealloc_run as TRUE.
2012-07-242012-07-24 Jan Waclawek <konfera@efton.sk>Eric B. Weddington2-4/+6
PR 13899 * elf32-avr.c (elf32_avr_relax_delete_bytes): Call _bfd_elf_link_read_relocs with keep_memory as TRUE.
2012-07-242012-07-24 Teresa Johnson <tejohnson@google.com>Cary Coutant20-34/+224
bfd/ * bfd.c (bfd_find_nearest_line_discriminator): New macro. * coff-rs6000.c: Init _bfd_find_nearest_line_discriminator. * coff64-rs6000.c: Likewise. * dwarf2.c (struct line_info): Add discriminator field. (add_line_info): Fill in new discriminator field. (decode_line_info): Record discriminator information instead of ignoring it. (lookup_address_in_line_info_table): Return discriminator field if requested. (comp_unit_find_nearest_line): Add discriminator argument. (find_line): Likewise. (_bfd_dwarf2_find_nearest_line): Likewise. (_bfd_dwarf2_find_line): Likewise. * elf-bfd.h (_bfd_elf_find_nearest_line_discriminator): New. (_bfd_elf_find_line_discriminator): Likewise. (_bfd_generic_find_nearest_line_discriminator): Likewise. Defined. * elf.c (_bfd_elf_find_nearest_line): Change to a wrapper that invokes _bfd_elf_find_nearest_line_discriminator with correct arguments. (_bfd_elf_find_nearest_line_discriminator): New. (_bfd_elf_find_line): Change to a wrapper that invokes _bfd_elf_find_line_discriminator with correct arguments. (_bfd_elf_find_line_discriminator): New. * coffgen.c (coff_find_nearest_line_with_names): Handle new discriminator argument. * elf32-arm.c (elf32_arm_find_nearest_line): Likewise. * elf64-alpha.c (elf64_alpha_find_nearest_line): Likewise. * elfxx-mips.c (_bfd_mips_elf_find_nearest_line): Likewise. * mach-o.c (bfd_mach_o_find_nearest_line): Likewise. * libbfd-in.h (_bfd_dwarf2_find_nearest_line): Add discriminator argument. (_bfd_dwarf2_find_line): Likewise. (_bfd_generic_find_nearest_line_discriminator): New. * libbfd.c (_bfd_generic_find_nearest_line_discriminator): New. * bfd-in2.h: Regenerated. * libbfd.h: Likewise. * targets.c (BFD_JUMP_TABLE_SYMBOLS): Initialize _bfd_find_nearest_line_discriminator with _bfd_generic_find_nearest_line_discriminator. (bfd_target): Add _bfd_find_nearest_line_discriminator. binutils/ * addr2line.c (find_address_in_section): Invoke bfd_find_nearest_line_discriminator to get the discriminator. (find_offset_in_section): Likewise. (translate_addresses): Print discriminator if it is non-zero. * objdump.c (show_line): Invoke bfd_find_nearest_line_discriminator to get the discriminator, and keep track of prev_discriminator. Print discriminator if it is non-zero. (disassemble_data): Initialize prev_discriminator. (dump_reloc_set): Invoke bfd_find_nearest_line_discriminator to get the discriminator, and keep track of last_discriminator. Print discriminator if it is non-zero.
2012-07-24 * symfile.c (symbol_file_add): Don't open BFD twice.Tom Tromey2-2/+5
2012-07-24Updated last commit's date.Marc Khouzam1-1/+1
2012-07-242012-07-20 Marc Khouzam <marc.khouzam@ericsson.com>Marc Khouzam2-1/+17
* breakpoint.c (create_breakpoint): Store condition for pending breakpoints.
2012-07-242012-07-24 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore5-5/+40
Jie Zhang <jzhang918@gmail.com> gas/ * config/tc-arm.c (md_apply_fix): Use encoding A2 of ADR if offset is negative. gas/testsuite/ * gas/arm/adr.d: New test. * gas/arm/adr.s: New test.
2012-07-24* m68k-tdep.c (m68k_reg_struct_return_p): Accept complex types.Andreas Schwab2-5/+14
(m68k_return_value): Handle complex types like structures. (m68k_svr4_return_value): Likewise.
2012-07-24Added maintainer entry for M68HC1x port.Sean Keys1-0/+1
2012-07-24 * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Added codeNick Clifton2-5/+89
that enables the linker to offset addresses, when linking against symbols from the XGATE processor and vice versa.
2012-07-24gdb/Jan Kratochvil2-1/+6
* gdb_bfd.c (zlib_decompress_section) <!HAVE_ZLIB_H>: Adjust parameters to bfd_get_section_name.
2012-07-24 PR binutils/13135Nick Clifton10-59/+76
* arm-dis.c: Add necessary casts for printing integer values. Use %s when printing string values. * hppa-dis.c: Likewise. * m68k-dis.c: Likewise. * microblaze-dis.c: Likewise. * mips-dis.c: Likewise. * ppc-dis.c: Likewise. * sparc-dis.c: Likewise. * dis-asm.h (fprintf_ftype): Add ATTRIBUTE_FPTR_PRINTF_2.
2012-07-24gdb/Yao Qi2-12/+10
* cli/cli-setshow.c (do_setshow_command): Handle case 'var_uinteger' and 'var_zuninteger' together. Handle case 'var_integer' and 'var_zinteger' together.
2012-07-24daily updateAlan Modra1-1/+1
2012-07-24*** empty log message ***gdbadmin1-1/+1
2012-07-23 * linespec.c (convert_linespec_to_sal): Don't addKeith Seitz2-5/+11
any symbols to the result vector if symbol_to_sal returns zero.
2012-07-23 * linespec.c (decode_objc): Record the function nameKeith Seitz2-0/+6
in the linespec.
2012-07-23 * rs6000-nat.c (add_vmap): Rewrite archive loop. Fix referenceTom Tromey3-8/+25
counting. * exec.c (exec_close_1): Unconditionally release vmap's BFD. (map_vmap): Acquire a reference to the BFD.
2012-07-23 * p-valprint.c (pascal_object_print_value): Replace potentiallySiddhesh Poyarekar3-4/+20
unsafe alloca with xmalloc/xfree. * valops.c (search_struct_method): Likewise.
2012-07-23 * solib-svr4.c (enable_break): Update.Tom Tromey3-7/+16
* bfd-target.h (target_bfd_reopen): Update documentation.
2012-07-23 * symfile.c (separate_debug_file_exists): Update.Tom Tromey4-5/+14
(gdb_bfd_open_maybe_remote): Rename from bfd_open_maybe_remote. (reread_symbols): Update. * elfread.c (build_id_verify): Update. * symfile.h (gdb_bfd_open_maybe_remote): Rename from bfd_open_maybe_remote.