aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2012-02-20 * ld-elf/comm-data.exp: Run for *-*-gnu*.Alan Modra2-3/+8
2012-02-20*** empty log message ***gdbadmin1-1/+1
2012-02-19daily updateAlan Modra1-1/+1
2012-02-19 * deffilep.y (cmp_import_elem): Sort first by module name.Kai Tietz3-89/+109
* pe-dll.c (process_def_file_and_drectve): Free strings from removed export-element. (add_bfd_to_link): Optimize loop on import-elements and lower allocated memory. (pe_implied_import_dll): Pass NULL instead of 0 for pointer argument.
2012-02-19gdb/testsuite/Jan Kratochvil2-1/+9
Fix for gdbserver non-extended mode. * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint and gdb_run_cmd.
2012-02-19*** empty log message ***gdbadmin1-1/+1
2012-02-18daily updateAlan Modra1-1/+1
2012-02-18Minor reformatting in breakpoint.c (watchpoint_exp_is_const)Joel Brobecker2-0/+6
gdb/ChangeLog: * breakpoint.c (watchpoint_exp_is_const): Add missing empty line between function description and implementation.
2012-02-18 * ldmisc.c (vfinfo <%S>): Use same type and avoid cast forHans-Peter Nilsson2-2/+7
temporary variable node used for NULL argument.
2012-02-18*** empty log message ***gdbadmin1-1/+1
2012-02-17daily updateAlan Modra1-1/+1
2012-02-17 PR python/10753:Tom Tromey2-1/+7
* gdb.texinfo (objfile-gdb.py file): Fix location of auto-load directory.
2012-02-17 PR python/12070:Tom Tromey9-4/+64
* python/py-event.c (event_object_getset): New global. (event_object_type): Reference it. * python/py-type.c (field_object_getset): New global. (field_object_type): Reference it. * python/python-internal.h (gdb_py_generic_dict): Declare. * python/py-utils.c (gdb_py_generic_dict): New function. testsuite/gdb * gdb.python/py-events.py (exit_handler): Add test for 'dir'. * gdb.python/py-events.exp: Check 'dir' output. * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
2012-02-172012-02-17 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+26
* solib-darwin.c (darwin_current_sos): Check magic and filetype
2012-02-17 PR ld/13343Alan Modra14-85/+143
* ld.h (parsing_defsym): Delete. * ldexp.c (exp_intop, exp_bigintop, exp_relop): Set type.filename. (fold_binary, fold_name, exp_fold_tree_1, exp_get_vma, exp_get_fill, exp_get_abs_int): Add tree arg for %S in error messages. Don't fudge lineno. (exp_binop, exp_unop, exp_nameop, exp_assop, exp_assert): Copy type.filename from sub-tree. (exp_trinop): Likewise, and use "cond" rather than "lhs". * ldexp.h (node_type): Add filename field to struct. * ldfile.c (ldfile_input_filename): Delete. Remove all refs. * ldfile.h (ldfile_input_filename): Delete. * ldgram.y (phdr_type, phdr_qualifiers, yyerror): Add NULL arg for %S in error messages. * ldemul.c (syslib_default, hll_default): Likewise. * ldlang.c (lang_memory_region_lookup, lang_memory_region_alias, lang_get_regions, lang_new_phdr): Likewise. (lang_size_sections_1): Pass addr_tree for %S. * ldlex.h (lex_redirect): Update prototype. (ldlex_filename): Declare. * ldlex.l (<EOF>): Don't set ldfile_input_filename. (lex_redirect): Add fake_filename and count params. Push fake_filename to file_name_stack and init lineno from count. (ldlex_filename): New function. (lex_warn_invalid): Use above. * ldmain.c (main): Update lex_redirect call. * ldmisc.c (vfinfo <%S>): Take file name and line number from etree_type arg, or use current if arg is NULL. * lexsup.c (parsing_defsym): Delete. (parse_args <OPTION_DEFSYM>): Update lex_redirect call.
2012-02-17gdb/testsuite/Yao Qi2-0/+12
* gdb.trace/strace.exp (strace_info_marker): Test `info threads'.