aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-06-272012-06-26 Siva Chandra Reddy <sivachandra@google.com>Siva Chandra Reddy8-2/+52
New attribute 'last' for gdb.Symtab_and_line. * NEWS (Python Scripting): Add entry about the new attribute. * python/py-symtab.c (salpy_get_last): New function which implements the get method for the 'last' attribute of gdb.Symtab_and_line. (sal_object_getset): Add entry for the 'last' attribute. doc/ * gdb.texinfo (Symbol Tables In Python): Add description about the new 'last' attribute of gdb.Symtab_and line. testsuite/ * gdb.python/py-symtab.exp: Add tests to test the new attribute 'last' of gdb.Symtab_and_line. * gdb.python/py-symbol.c: Move break point comment to enable testing of gdb.Symtab_and_line.last.
2012-06-27daily updateAlan Modra1-1/+1
2012-06-27*** empty log message ***gdbadmin1-1/+1
2012-06-262012-06-26 Siva Chandra Reddy <sivachandra@google.com>Siva Chandra Reddy2-2/+7
* gdb.texinfo (Symbol Tables In Python): Correct the description of the 'pc' attribute of gdb.Symtab_and_line.
2012-06-26 * dwarf2read.c (dwo_section_names): Add macinfo_dwo, macro_dwo.Doug Evans2-17/+60
(dwo_sections): Add macinfo, macro. (dwarf2_locate_dwo_sections): Watch for macro sections. (dwarf_decode_macros): Remove args lh, abfd, section, section_name. All callers updated. Handle DWO files.
2012-06-26 * NEWS: Mention new options "set debug dwarf2-read" andDoug Evans11-0/+164
"set debug symtab-create". * dwarf2read.c (dwarf2_read_debug): New static global. (dwarf2_build_psymtabs_hard): Add debugging printfs. (process_queue): Ditto. (process_full_comp_unit): Ditto. (_initialize_dwarf2_read): Add new option "set debug dwarf2-read". * elfread.c (elf_symfile_read): Add debugging printf. * minsyms.c (install_minimal_symbols): Ditto. * psymtab.c (allocate_psymtab): Ditto. * symfile.c (allocate_symtab): Ditto. * symtab.c (symtab_create_debug): New global. (_initialize_symtab): Add new option "set debug symtab-create". * symtab.h (symtab_create_debug): Declare. doc/ * gdb.texinfo (Debugging Output): Document debug options dwarf2-read and symtab-create.
2012-06-26 * dwarf2read.c (lookup_dwo_comp_unit): Enhance comment.Doug Evans2-2/+7
(lookup_dwo_type_unit): Ditto.
2012-06-26 * gdb.threads/step.c: Remove.Tom Tromey4-551/+6
* gdb.threads/step.exp: Remove. * gdb.threads/step2.exp: Remove.
2012-06-26 * gdb.threads/watchpoint-fork.exp (test): UseTom Tromey47-310/+202
standard_output_file. Don't declare objdir. * gdb.threads/attach-into-signal.exp: Use standard_testfile, standard_output_file. * gdb.threads/attach-stopped.exp: Use standard_testfile. * gdb.threads/bp_in_thread.exp: Use standard_testfile, clean_restart. Remove incdir. * gdb.threads/corethreads.exp: Use standard_testfile. * gdb.threads/execl.exp: Use standard_testfile, standard_output_file, clean_restart. * gdb.threads/fork-child-threads.exp: Use standard_testfile, clean_restart. * gdb.threads/fork-thread-pending.exp: Use standard_testfile, clean_restart. * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove incdir. * gdb.threads/hand-call-in-threads.exp: Use standard_testfile, clean_restart. Remove incdir. * gdb.threads/ia64-sigill.exp: Use standard_testfile. * gdb.threads/interrupted-hand-call.exp: Use standard_testfile, clean_restart. Remove incdir. * gdb.threads/killed.exp: Use standard_testfile, clean_restart. Remove incdir. * gdb.threads/leader-exit.exp: Use standard_testfile. * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart. * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile, clean_restart. * gdb.threads/manythreads.exp: Use standard_testfile, clean_restart. Remove incdir. * gdb.threads/multi-create.exp: Use standard_testfile, clean_restart. * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile. * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile. * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile. * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile. * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile. * gdb.threads/pending-step.exp: Use standard_testfile, clean_restart. Remove incdir. * gdb.threads/print-threads.exp: Use standard_testfile, clean_restart. Remove incdir. * gdb.threads/pthread_cond_wait.exp: Use standard_testfile, clean_restart. Remove incdir. * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart. Remove incdir. * gdb.threads/schedlock.exp: Use standard_testfile. Remove incdir. * gdb.threads/sigthread.exp: Use standard_testfile, clean_restart. * gdb.threads/staticthreads.exp: Use standard_testfile, clean_restart. Remove incdir. * gdb.threads/switch-threads.exp: Use standard_testfile, clean_restart. Remove incdir. * gdb.threads/thread-execl.exp: Use standard_testfile, clean_restart. Remove incdir. * gdb.threads/thread-find.exp: Use standard_testfile, clean_restart. * gdb.threads/thread-specific.exp: Use standard_testfile, clean_restart. Remove incdir. * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile, clean_restart. Remove incdir. * gdb.threads/thread_check.exp: Use standard_testfile, clean_restart. Remove incdir. * gdb.threads/thread_events.exp: Use standard_testfile. Remove incdir. * gdb.threads/threadapply.exp: Use standard_testfile, clean_restart. Remove incdir. * gdb.threads/threxit-hop-specific.exp: Use standard_testfile, clean_restart. Remove incdir. * gdb.threads/tls-nodebug.exp: Use standard_testfile, clean_restart. * gdb.threads/tls-shared.exp: Use standard_testfile, clean_restart, standard_output_file. * gdb.threads/tls-var.exp: Use standard_testfile, standard_output_file. * gdb.threads/tls.exp: Use standard_testfile, clean_restart. Remove incdir. * gdb.threads/watchthreads-reorder.exp: Use standard_testfile. * gdb.threads/watchthreads.exp: Use standard_testfile. Remove incdir. * gdb.threads/watchthreads2.exp: Use standard_testfile, clean_restart. Remove incdir.
2012-06-26 * gdb.trace/actions.exp: Use standard_testfile.Tom Tromey31-122/+83
* gdb.trace/ax.exp: Use standard_testfile. * gdb.trace/backtrace.exp: Use standard_testfile. * gdb.trace/change-loc.exp: Use standard_testfile. * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing. * gdb.trace/collection.exp: Use standard_testfile, prepare_for_testing. * gdb.trace/deltrace.exp: Use standard_testfile. * gdb.trace/disconnected-tracing.exp: Use standard_testfile. * gdb.trace/ftrace.exp: Use standard_testfile. * gdb.trace/infotrace.exp: Use standard_testfile. * gdb.trace/packetlen.exp: Use standard_testfile. * gdb.trace/passc-dyn.exp: Use standard_testfile. * gdb.trace/passcount.exp: Use standard_testfile. * gdb.trace/pending.exp: Use standard_testfile. * gdb.trace/report.exp: Use standard_testfile. * gdb.trace/save-trace.exp: Use standard_testfile. * gdb.trace/stap-trace.exp: Use standard_testfile. * gdb.trace/status-stop.exp: Use standard_testfile. * gdb.trace/strace.exp: Use standard_testfile. * gdb.trace/tfile.exp: Use standard_testfile. * gdb.trace/tfind.exp: Use standard_testfile. * gdb.trace/trace-break.exp: Use standard_testfile. * gdb.trace/trace-mt.exp: Use standard_testfile. * gdb.trace/tracecmd.exp: Use standard_testfile. * gdb.trace/tspeed.exp: Use standard_testfile. * gdb.trace/tstatus.exp: Use standard_testfile. * gdb.trace/tsv.exp: Use standard_testfile. * gdb.trace/unavailable.exp: Use standard_testfile, prepare_for_testing. * gdb.trace/while-dyn.exp: Use standard_testfile. * gdb.trace/while-stepping.exp: Use standard_testfile.
2012-06-26 * gdb.reverse/break-precsave.exp: Use standard_testfile.Tom Tromey26-123/+94
* gdb.reverse/break-reverse.exp: Use standard_testfile. * gdb.reverse/consecutive-precsave.exp: Use standard_testfile. * gdb.reverse/consecutive-reverse.exp: Use standard_testfile. * gdb.reverse/finish-precsave.exp: Use standard_testfile. * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile. * gdb.reverse/finish-reverse.exp: Use standard_testfile. * gdb.reverse/i386-precsave.exp: Use standard_testfile, prepare_for_testing. * gdb.reverse/i386-reverse.exp: Use standard_testfile, prepare_for_testing. * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile, prepare_for_testing. * gdb.reverse/i387-env-reverse.exp: Use standard_testfile, prepare_for_testing. * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile, prepare_for_testing * gdb.reverse/machinestate-precsave.exp: Use standard_testfile. * gdb.reverse/machinestate.exp: Use standard_testfile. * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile. * gdb.reverse/sigall-precsave.exp: Use standard_testfile, build_executable. * gdb.reverse/sigall-reverse.exp: Use standard_testfile, build_executable. * gdb.reverse/solib-precsave.exp: Use standard_testfile, standard_output_file. * gdb.reverse/solib-reverse.exp: Use standard_testfile, standard_output_file. * gdb.reverse/step-precsave.exp: Use standard_testfile. * gdb.reverse/step-reverse.exp: Use standard_testfile. * gdb.reverse/until-precsave.exp: Use standard_testfile. * gdb.reverse/until-reverse.exp: Use standard_testfile. * gdb.reverse/watch-precsave.exp: Use standard_testfile. * gdb.reverse/watch-reverse.exp: Use standard_testfile.
2012-06-26 * gdb.stabs/weird.exp: Remove directory-checking code. UseTom Tromey3-31/+13
standard_output_file. * gdb.stabs/exclfwd.exp: Use standard_testfile, prepare_for_testing. Remove directory-checking code.
2012-06-26Use PTRACE_PEEKUSER to get fs_base/gs_baseH.J. Lu5-0/+80
* amd64-linux-nat.c: Include <sys/user.h>. (ps_get_thread_area): Use PTRACE_PEEKUSER to get fs_base/gs_base if HAVE_STRUCT_USER_REGS_STRUCT_FS_BASE or HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE is defined. * configure.ac: Check if the fs_base and gs_base members of `struct user_regs_struct' exist. * config.in: Regenerated. * configure: Likewise.
2012-06-26 * elf64-ppc.c (ppc64_elf_next_toc_section): Don't error if inputAlan Modra2-2/+11
file has multiple .got/.toc sections and all don't fit in current toc group.
2012-06-26daily updateAlan Modra1-1/+1
2012-06-26*** empty log message ***gdbadmin1-1/+1
2012-06-25* ld-elf/ehdr_start.d (ld): Add explicit -e _start.Roland McGrath2-1/+7
(notarget): Add arm*-*-eabi* cris-*-*.
2012-06-25 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.Tom Tromey4-15/+20
* gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use build_executable, not prepare_for_testing. * gdb.multi/base.exp: Use standard_output_file. Use build_executable, not prepare_for_testing.
2012-06-25 * gdb.fortran/subarray.exp: Use standard_testfile,Tom Tromey10-53/+37
prepare_for_testing. * gdb.fortran/multi-dim.exp: Use standard_testfile. * gdb.fortran/module.exp: Use standard_testfile. * gdb.fortran/logical.exp: Use standard_testfile. * gdb.fortran/library-module.exp: Use standard_testfile, standard_output_file. * gdb.fortran/derived-type.exp: Use standard_testfile, prepare_for_testing. * gdb.fortran/complex.exp: Use standard_testfile, prepare_for_testing. * gdb.fortran/charset.exp: Use standard_testfile. * gdb.fortran/array-element.exp: Use standard_testfile, prepare_for_testing.
2012-06-25 * gdb.texinfo (GDB/MI Breakpoint Commands): Remove "-r" optionKeith Seitz2-6/+12
from example. Remove "rbreak" from list of corresponding gdb commands.
2012-06-25 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):Keith Seitz2-5/+10
Change rbreak-related tests to KFAIL and add bugzilla numbers.
2012-06-25 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.Tom Tromey5-30/+20
* gdb.pascal/hello.exp: Use standard_testfile, clean_restart. * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart. * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
2012-06-25 * gdb.linespec/ls-errs.exp: Use standard_testfile.Tom Tromey4-12/+13
* gdb.linespec/ls-dollar.exp: Use standard_testfile. * gdb.linespec/linespec.exp: Use standard_testfile.
2012-06-25 * gdb.modula2/unbounded-array.exp: Use standard_testfile,Tom Tromey2-10/+8
prepare_for_testing.
2012-06-25 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,Tom Tromey6-67/+34
prepare_for_testing. * gdb.opt/inline-break.exp: Use standard_testfile, prepare_for_testing. * gdb.opt/inline-bt.exp: Use standard_testfile, prepare_for_testing. * gdb.opt/inline-cmds.exp: Use standard_testfile, prepare_for_testing. * gdb.opt/inline-locals.exp: Use standard_testfile, prepare_for_testing.
2012-06-25 * gdb.asm/asm-source.exp: Use standard_output_file,Tom Tromey2-17/+22
standard_testfile. Construct .o files in proper subdir.
2012-06-25 * gdb.server/ext-attach.exp: Use standard_testfile,Tom Tromey8-45/+30
prepare_for_testing. * gdb.server/ext-run.exp: Use standard_testfile, build_executable. * gdb.server/file-transfer.exp: Use standard_testfile, prepare_for_testing. * gdb.server/server-exec-info.exp: Use standard_testfile. * gdb.server/server-mon.exp: Use standard_testfile, prepare_for_testing. * gdb.server/server-run.exp: Use standard_testfile, build_executable. * gdb.server/solib-list.exp: Use standard_testfile, standard_output_file.
2012-06-25 * lib/gdb.exp (standard_output_file): Use "file join".Tom Tromey11-29/+27
* gdb.go/chan.exp: Use standard_testfile. * gdb.go/handcall.exp: Use standard_testfile. * gdb.go/hello.exp: Use standard_testfile. * gdb.integers/chan.exp: Use standard_testfile. * gdb.go/methods.exp: Use standard_testfile. * gdb.go/package.exp: Use standard_testfile. * gdb.go/strings.exp: Use standard_testfile. * gdb.go/types.exp: Use standard_testfile. * gdb.go/unsafe.exp: Use standard_testfile.
2012-06-25PR14291: KeyboardInterrupt not caught for Python outputMichael Eager2-13/+23
2012-06-252012-06-25 Greta Yorsh <greta.yorsh@arm.com>Matthew Gretton-Dann2-4/+8
* gdb/testsuite/gdb.arch/arm-disp-step.S: Fix use of .global directives.
2012-06-252012-06-25 Greta Yorsh <greta.yorsh@arm.com>Matthew Gretton-Dann2-0/+8
* gdb/arm-tdep.c (arm_in_function_epilogue_p): Recognize POP with a single register as a stack alignment in ARM mode.
2012-06-25 * ldlang.c (load_symbols): Close file and set flags.loadedAlan Modra2-0/+12
after parsing script file. (open_input_bfds): Don't segv on closed script.
2012-06-25*** empty log message ***gdbadmin1-1/+1
2012-06-25daily updateAlan Modra1-1/+1
2012-06-24Replace -linux-gnux32 with -linux-gnuH.J. Lu1-2/+2
2012-06-24Enable elf_k1om for x86_64-*-linux-gnux32H.J. Lu2-4/+9
* configure.tgt: Enable elf_k1om for x86_64-*-linux-gnux32. Remove x32 in tdir_i386linux and tdir_elf_i386.
2012-06-24gdb/Jan Kratochvil9-58/+104
Update gnulib to GIT commit a39f53ccb70a613e647e1019fb4c63645220267e. * gnulib/config.in: Regenerate. * gnulib/configure: Likewise. * gnulib/import/m4/extensions.m4: Update it. * gnulib/import/m4/gnulib-common.m4: Likewise. * gnulib/import/m4/memmem.m4: Likewise. * gnulib/import/m4/mmap-anon.m4: Likewise. * gnulib/import/m4/multiarch.m4: Likewise. * gnulib/import/stdint.in.h: Likewise.
2012-06-24gdb:Yao Qi6-6/+30
* corefile.c (write_memory_with_notification): New. * gdbcore.h: Declare write_memory_with_notification. * ada-lang.c (ada_value_assign): Replace 'write_memory' and 'observer_notify_memory_changed' with 'write_memory_with_notification'. * valops.c (value_assign): Likewise. * python/py-inferior.c (infpy_write_memory): Call 'write_memory_with_notification'.
2012-06-24gdb/Jan Kratochvil2-1/+5
* cc-with-index.sh: Use also -ex "set auto-load no".
2012-06-24gdb/testsuite/Jan Kratochvil2-1/+6
Fix regression by the previous commit. * gdb.python/lib-types.exp: Add c++ to the compilation flags.
2012-06-24*** empty log message ***gdbadmin1-1/+1
2012-06-24daily updateAlan Modra1-1/+1
2012-06-23 PR 14125Doug Evans7-40/+463
* NEWS: Document additions to .gdb_index. * dwarf2read.c: #include "gdb/gdb-index.h". (DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE): New macro. (DW2_GDB_INDEX_SYMBOL_KIND_SET_VALUE): New macro. (DW2_GDB_INDEX_CU_SET_VALUE): New macro. (dwarf2_read_index): Recognize version 7. (dw2_do_expand_symtabs_matching): New args want_specific_block, block_kind, domain): All callers updated. (dw2_find_symbol_file): Handle new index CU values. (dw2_expand_symtabs_matching): Match symbol kind if requested. (add_index_entry): New args is_static, kind. All callers updated. (offset_type_compare, uniquify_cu_indices): New functions (symbol_kind): New function. (write_psymtabs_to_index): Remove duplicate CU values. (write_psymtabs_to_index): Write .gdb_index version 7. doc/ * gdb.texinfo (Index Section Format): Document version 7 format. include/gdb/ * gdb-index.h: New file.
2012-06-23*** empty log message ***gdbadmin1-1/+1
2012-06-23daily updateAlan Modra1-1/+1
2012-06-22gas/Roland McGrath9-9/+30
* NEWS: Mention 'rep ret' too. gas/testsuite/ * gas/i386/rep-ret.d: New file. * gas/i386/rep-ret.s: New file. * gas/i386/i386.exp: Add the new test. opcodes/ * i386-opc.tbl: Add RepPrefixOk to ret. * i386-tbl.h: Regenerate.
2012-06-22Add -Wdeclaration-after-statement to list of compiler warningsJoel Brobecker3-2/+9
gdb/ChangeLog: * configure.ac (build_warnings): Add -Wdeclaration-after-statement. * configure: Regenerate.
2012-06-22gold/Roland McGrath2-0/+14
* layout.cc (finalize): Define __ehdr_start symbol if applicable.
2012-06-22 * gdb.python/lib-types.exp: Use standard_testfile,Tom Tromey31-147/+108
prepare_for_testing. * gdb.python/py-block.exp: Use standard_testfile. * gdb.python/py-breakpoint.exp: Use standard_testfile. * gdb.python/py-events.exp: Use standard_testfile, standard_output_file. * gdb.python/py-evsignal.exp: Use standard_testfile. * gdb.python/py-evethreads.exp: Use standard_testfile. * gdb.python/py-explore-cc.exp: Use standard_testfile. * gdb.python/py-explore.exp: Use standard_testfile. * gdb.python/py-finish-breakpoint.exp: Use standard_testfile, standard_output_file. * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile, prepare_for_testing. * gdb.python/py-frame-inline.exp: Use standard_testfile. * gdb.python/py-frame.exp: Use standard_testfile. * gdb.python/py-inferior.exp: Use standard_testfile. * gdb.python/py-infthread.exp: Use standard_testfile. * gdb.python/py-mi.exp: Use standard_testfile. * gdb.python/py-objfile-script.exp: Use standard_testfile, build_executable. * gdb.python/py-objfile.exp: Use standard_testfile. * gdb.python/py-pp-maint.exp: Use standard_testfile, prepare_for_testing. * gdb.python/py-prettyprint.exp: Use standard_testfile. * gdb.python/py-progspace.exp: Use standard_testfile, build_executable. * gdb.python/py-prompt.exp: Use standard_testfile, build_executable. * gdb.python/py-section-script.exp: Use standard_testfile, build_executable. * gdb.python/py-shared.exp: Use standard_testfile, standard_output_file, clean_restart. * gdb.python/py-symbol.exp: Use standard_output_file, prepare_for_testing. * gdb.python/py-symtab.exp: Use standard_output_file, prepare_for_testing * gdb.python/py-template.exp: Use standard_testfile. * gdb.python/py-type.exp: Use standard_testfile. * gdb.python/py-value-cc.exp: Use standard_testfile. * gdb.python/py-value.exp: Use standard_testfile. * gdb.python/python.exp: Use standard_testfile, build_executable.
2012-06-22 * gdb.objc/basicclass.exp: Use standard_testfile.Tom Tromey4-12/+12
(do_objc_tests): Don't declare objdir. * gdb.objc/nondebug.exp: Use standard_testfile. (do_objc_tests): Don't declare objdir. * gdb.objc/objcdecode.exp: Use standard_testfile. (do_objc_tests): Don't declare objdir.