aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-02-24 PR ld/13730Nick Clifton2-0/+16
* reloc.c (bfd_generic_get_relocated_section_contents): Issue an error message instead of aborting, when an outofrange reloc is encountered.
2012-02-24gdb/testsuite/Jan Kratochvil2-3/+16
Fix false FAILs on old CPUs without SSE. * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test): Return untested for Illegal instruction.
2012-02-24gdb/testsuite/Jan Kratochvil3-0/+14
Fix false FAILs with glibc debug infos installed. * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test. * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
2012-02-24*** empty log message ***gdbadmin1-1/+1
2012-02-23daily updateAlan Modra1-1/+1
2012-02-23 * jv-valprint.c (java_val_print): Remove dead code.Tom Tromey2-15/+4
2012-02-23deal with endian-ness in mach-o non-scattered relocs.Iain Sandoe5-51/+174
BFD: * mach-o.c (bfd_mach_o_swap_in_non_scattered_reloc): New. (bfd_mach_o_canonicalize_one_reloc): Swap non-scattered reloc bit-fields when target and host differ in endian-ness. When PAIRs are non-scattered find the 'symbol' from the preceding reloc. Add FIXME re. reloc symbols on section boundaries. (bfd_mach_o_swap_out_non_scattered_reloc): New. (bfd_mach_o_write_relocs): Use bfd_mach_o_encode_non_scattered_reloc. include/mach-o: * external.h: Add comments about relocations fields. Add macros for non-scattered relocations. Move scattered relocation macros to here. * reloc.h: Remove macros related to external representation of reloc fields.
2012-02-232012-02-23 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-47/+103
* ada-tasks.c (struct ada_tasks_inferior_data): Add known_tasks_element and known_tasks_length fields. (read_known_tasks_array): Change argument type. Use pointer type and number of elements from DATA. Adjust. (read_known_tasks_list): Likewise. (get_known_tasks_addr): Remove. (ada_set_current_inferior_known_tasks_addr): Renamed to ... (ada_tasks_inferior_data_sniffer): ... this. Use symtab for element type and array length. Merge former get_known_tasks_addr code.
2012-02-23gdb/Jan Kratochvil2-1/+8
PR backtrace/13716 * infcmd.c (finish_forward): New variable frame_id, initialize it, use it after set_momentary_breakpoint.
2012-02-23*** empty log message ***gdbadmin1-1/+1
2012-02-22 * gdb.texinfo (Blocks In Python): Clarify block iteration.Tom Tromey2-3/+9
2012-02-22ChangeLogSterling Augustine4-0/+13
2012-02-22 Sterling Augustine <saugustine@google.com> PR 13689: * breakpoint.c (watchpoint_exp_is_constant): Add UNOP_CAST to switch. testsuite/ChangeLog 2012-02-22 Sterling Augustine <saugustine@google.com> * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for constant with cast.
2012-02-22oops - omitted part of changelog entry with the previous delta.Nick Clifton1-0/+3
2012-02-22 PR ld/13683Nick Clifton15-24/+108
* ldlang.c (lang_process): Rerun lang_do_assignments before starting garbage collection. * ldexp.c (fold_name): Generate a reloc for defined symbols found without an associated output section during the mark phase. (exp_fold_tree_1): Continue processing an expression, even if we are unable to fold it, if we are in the first two evaluation phases. * ldexp.h (enum lang_phase_type): Add descriptions of the phases. * ld-gc/pr13683.c: New test source file. * ld-gc/pr13683.d: New test control and output file. * ld-gc/gc.exp: Run the pr13683 test. * ld-cris/tls-gc-68: Update expected symbol table dump. * ld-cris/tls-gc-69: Likewise. * ld-cris/tls-gc-70: Likewise. * ld-cris/tls-gc-71: Likewise. * ld-cris/tls-gc-75: Likewise. * ld-cris/tls-gc-76.d: Likewise. * ld-cris/tls-gc-79.d: Likewise.
2012-02-222012-02-22 Gary Benson <gbenson@redhat.com>Gary Benson2-2/+7
* dwarf2read.c (dwarf2_read_index): Correct misspelling. (find_slot_in_mapped_hash): Likewise.
2012-02-222012-02-21 Pedro Alves <palves@redhat.com>Pedro Alves2-107/+99
* gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
2012-02-222012-02-21 Pedro Alves <palves@redhat.com>Pedro Alves2-25/+26
* gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
2012-02-22*** empty log message ***gdbadmin1-1/+1
2012-02-21daily updateAlan Modra1-1/+1
2012-02-212012-02-21 Pedro Alves <palves@redhat.com>Pedro Alves2-37/+36
* gdb.trace/unavailable.exp (gdb_collect_globals_test): Use with_test_prefix.
2012-02-212012-02-21 Joern Rennecke <joern.rennecke@embecosm.com>Jeff Johnston3-0/+57
* COPYING.NEWLIB: Add Adapteva notice. * COPYING.LIBGLOSS: Add Adapteva notice.
2012-02-212012-02-21 Pedro Alves <palves@redhat.com>Pedro Alves29-68/+111
* gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do with_test_prefix here. (top level): Do it here instead. Remove `:' from the with_test_prefix string. * gdb.base/attach-pie-misread.exp: Remove the leading space the the suffix `:' from the with_test_prefix prefix string. * gdb.base/break-interp.exp: Ditto. * gdb.base/catch-load.exp: Ditto. * gdb.base/disp-step-syscall.exp: Ditto. * gdb.base/jit-so.exp: Ditto. * gdb.base/jit.exp: Ditto. * gdb.base/sepdebug.exp: Ditto. * gdb.base/solib-display.exp: Ditto. * gdb.base/solib-overlap.exp: Ditto. * gdb.base/watch-cond-infcall.exp: Ditto. * gdb.base/watchpoint.exp: Ditto. * gdb.dwarf2/dw2-noloc.exp: Ditto. * gdb.mi/mi-watch.exp: Ditto. * gdb.mi/mi2-watch.exp: Ditto. * gdb.threads/non-ldr-exc-1.exp: Ditto. * gdb.threads/non-ldr-exc-2.exp: Ditto. * gdb.threads/non-ldr-exc-3.exp: Ditto. * gdb.threads/non-ldr-exc-4.exp: Ditto. * gdb.threads/watchpoint-fork.exp: Ditto. * gdb.threads/watchthreads-reorder.exp: Ditto. * gdb.trace/change-loc.exp: Ditto. * gdb.trace/pending.exp: Ditto. * gdb.trace/status-stop.exp: Ditto. * gdb.trace/strace.exp: Ditto. * gdb.trace/trace-break.exp: Ditto. * gdb.trace/unavailable.exp: Ditto. * lib/gdb.exp (with_test_prefix): Always prefix with space and suffix with colon. Adjust leading comments.
2012-02-21gdb/Jan Kratochvil3-70/+20
PR build/13638 * configure.ac (MAKEINFO): Replace AC_CHECK_PROG by AC_ARG_VAR. (MAKEINFOFLAGS): Replace static string by AC_ARG_VAR. * configure: Regenerate.
2012-02-212012-02-21 Pedro Alves <palves@redhat.com>Pedro Alves30-433/+279
Tom Tromey <tromey@redhat.com> * lib/gdb.exp: Add description of test prefixes. (with_test_prefix): New procedure. * gdb.arch/altivec-abi.exp: Use with_test_prefix. * gdb.base/attach-pie-misread.exp: Use with_test_prefix. * gdb.base/break-interp.exp: Use with_test_prefix. Use append instead of lappend to append to pf_prefix. * gdb.base/catch-load.exp: Use with_test_prefix. * gdb.base/disp-step-syscall.exp: Use with_test_prefix. * gdb.base/jit-so.exp: Use with_test_prefix. * gdb.base/jit.exp: Use with_test_prefix. * gdb.base/return-nodebug.exp (do_test): Use append instead of lappend to append to pf_prefix. * gdb.base/sepdebug.exp: Use with_test_prefix. * gdb.base/solib-display.exp: Use with_test_prefix. * gdb.base/solib-overlap.exp: Use with_test_prefix. * gdb.base/watch-cond-infcall.exp: Use with_test_prefix. * gdb.base/watchpoint.exp: Use with_test_prefix. * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix. * gdb.mi/mi-watch.exp: Use with_test_prefix. * gdb.mi/mi2-watch.exp: Use with_test_prefix. * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix. * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix. * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix. * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix. * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use append instead of lappend to append to pf_prefix. * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix. * gdb.trace/change-loc.exp: Use with_test_prefix. * gdb.trace/pending.exp: Use with_test_prefix. * gdb.trace/status-stop.exp: Use with_test_prefix. * gdb.trace/strace.exp: Use with_test_prefix. * gdb.trace/trace-break.exp: Use with_test_prefix. * gdb.trace/unavailable.exp: Use with_test_prefix. Use append instead of lappend to append to pf_prefix.
2012-02-212012-02-21 Tristan Gingold <gingold@adacore.com>Pedro Alves7-25/+37
Pedro Alves <palves@redhat.com> * ia64-tdep.c: Do not include libunwind-ia64.h. * libunwind-frame.h: Remove #ifdef HAVE_LIBUNWIND_H guard. Include libunwind-ia64.h instead of libunwind.h. * configure.ac (--with-libunwind, $enable_libunwind): Don't check for libunwind.h existence. * configure, config.in: Regenerate.
2012-02-21Add HLEPrefixNone/HLEPrefixLock/HLEPrefixAny/HLEPrefixReleaseH.J. Lu4-4/+20
gas/ 2012-02-21 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock, HLEPrefixAny and HLEPrefixRelease. opcodes/ 2012-02-21 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.h (HLEPrefixNone): New. (HLEPrefixLock): Likewise. (HLEPrefixAny): Likewise. (HLEPrefixRelease): Likewise.
2012-02-21 * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.Nick Clifton2-1/+8
2012-02-21 PR binutils/13682Kai Tietz3-11/+61
* NEWS: Mention new feature. * dlltool.c (i386_x64_dljtab): New stub-code for x64 delayed-load feature. (i386_x64_trampoline): New trampoline-code for x64 delayed-load feature. (make_one_lib_file): Add support for x64 delayed-load feature. (make_delay_head): Likewis
2012-02-21gdb/Anton Gorenkov7-51/+102
* c-valprint.c (c_value_print): Use value_rtti_indirect_type instead of value_rtti_target_type. * eval.c (evaluate_subexp_standard): Use value_rtti_indirect_type instead of value_rtti_target_type. * typeprint.c (whatis_exp): Use value_rtti_indirect_type instead of value_rtti_target_type. * valops.c (value_ind): Extract function readjust_indirect_value_type. (value_rtti_target_type): Rename to ... (value_rtti_indirect_type): ... here and make it indirect. Update function comment. * value.c (readjust_indirect_value_type): New function. (coerce_ref): Support for enclosing type setting for references with readjust_indirect_value_type. * value.h (readjust_value_type): New declaration. (value_rtti_target_type): Rename to ... (value_rtti_indirect_type): ... here.
2012-02-21provide a hook to allow checking errors just before we output the file.Iain Sandoe4-0/+81
gas: * write.c (write_object_file): Add md_pre_output_hook. * config/obj-macho.c (obj_mach_o_check_before_writing): New. (obj_mach_o_pre_output_hook): New. * config/obj-macho.h (md_pre_output_hook): Define. (obj_mach_o_pre_output_hook): Declare.
2012-02-21gdb/Anton Gorenkov2-0/+5
* MAINTAINERS (Write After Approval): Add myself to the list.
2012-02-212012-02-21 Tristan Gingold <gingold@adacore.com>Iain Sandoe7-59/+276
* config/tc-i386.h (OBJ_MACH_O): New section. (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc. (TC_FORCE_RELOCATION_SUB_SAME): New (TC_FORCE_RELOCATION_SUB_LOCAL): New. (TC_VALIDATE_FIX_SUB): New. * frags.h (struct frag): OBJ_FRAG_TYPE, new field. * symbols.c (colon): obj_frob_colon: New hook. * write.c (write_object_file): md_pre_relax_hook, new hook. * config/obj-macho.c (obj_mach_o_frob_colon): New. (obj_mach_o_frob_label): Record sub-section labels. (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol. (obj_mach_o_set_subsections): New. (obj_mach_o_pre_relax_hook): New. (obj_mach_o_in_different_subsection): New. (obj_mach_o_force_reloc_sub_same): New. (obj_mach_o_force_reloc_sub_local): New. (obj_mach_o_force_reloc): New. * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New. (obj_frob_colon): New Define. (obj_mach_o_frob_label): Renamed. (obj_mach_o_frob_symbol): Renamed. (OBJ_FRAG_TYPE): New. (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc, obj_mach_o_force_reloc_sub_same, obj_mach_o_force_reloc_sub_local): New declarations.
2012-02-21 * objfiles.c (add_to_objfile_sections): Remove outdated comments.Doug Evans4-42/+27
Rename objfile_p_char parameter to objfilep. (build_objfile_section_table): Result is now void. All callers updated. * objfiles.h (struct objfile): Tweak comments, whitespace. (build_objfile_section_table): Update.
2012-02-21fix email address in previous entryDoug Evans1-1/+1
2012-02-21 * elfread.c (elf_symfile_segments): Fix warning text.Doug Evans2-1/+5
2012-02-21*** empty log message ***gdbadmin1-1/+1
2012-02-20daily updateAlan Modra1-1/+1
2012-02-20gdb/testsuite/Jan Kratochvil3-1/+25
Fix racy FAILs. * gdb.base/inferior-died.c (main): Add return of 0. * gdb.base/inferior-died.exp (continue): Fix expectation of asynchronous events. (p 1): New test.
2012-02-20 PR gdb/13498:Tom Tromey2-22/+90
* dwarf2read.c (dw2_expand_symtabs_matching): Only visit a particular set of file names once. (dw2_map_symbol_filenames): Likewise.
2012-02-20gas:Iain Sandoe3-0/+44
* config/obj-macho.c (obj_mach_o_is_frame_section): New. (obj_mach_o_allow_local_subtract): New. * config/obj-macho.h (md_allow_local_subtract): Define. (obj_mach_o_allow_local_subtract): Declare.
2012-02-20gas:Iain Sandoe2-0/+18
* config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of canonical information, try to determine CODE and DEBUG section flags from the mach-o section data.
2012-02-20gdb/Jan Kratochvil2-7/+11
Code cleanup. * main.c (write_files): Remove the declaration. (external_editor_command): Move the declaration ... [GDBTK] (external_editor_command): ... here. Fix the comment.
2012-02-20 * dwarf2read.c (dw2_map_symtabs_matching_filename): RemoveTom Tromey2-7/+5
extraneous block.
2012-02-202012-02-20 Pedro Alves <palves@redhat.com>Pedro Alves2-16/+49
* gdb.threads/attach-into-signal.exp (corefunc): Don't enable lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on gdb's internal debug output. For the non-threaded case, look for "Program received signal SIGLARM", for the threaded case, peek at the thread's siginfo.
2012-02-202012-02-20 Pedro Alves <palves@redhat.com>Pedro Alves3-27/+45
General cleanup, make output test messages unique, and build different executable files for the non-threaded and threaded cases. * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile): Delete. (executable_nothr, executable_thr): New globals. (top level): Adjust to delete both executables. (corefunc): New parameter $executable. Set $pf_prefix instead of hand writing a prefix in tests. Issue a clean_restart and enable lin-lwp debug output here. (top level): Adjust. Use build_executable. Don't start gdb here, and don't enable lin-lwp debug output here. * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
2012-02-20 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag onNick Clifton2-1/+7
local symbols.
2012-02-202012-02-20 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+15
* darwin-nat.h (enum darwin_msg_state): Add comments.
2012-02-202012-02-20 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-3/+8
* amd64-darwin-tdep.c (x86_darwin_init_abi_64): Fix jb_pc_offset value.
2012-02-20gdb/testsuite/Jan Kratochvil2-1/+6
Fix racy FAILs. * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate "continue" command.
2012-02-20 * objdump.c (slurp_file): Close file if fstat fails.Alan Modra2-8/+15