aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-06-28 * common.h (AT_L1I_CACHESHAPE, AT_L1D_CACHESHAPE,Iain Sandoe2-1/+18
AT_L2_CACHESHAPE, AT_L3_CACHESHAPE): New defines.
2012-06-28 * dwarf2read.c (dwarf2_cu): Add ranges_base.Doug Evans6-11/+489
Delete have_addr_base, unused. All uses updated. (init_cutu_and_read_dies): Process DW_AT_GNU_ranges_base. (dwarf2_get_pc_bounds): Add ranges_base. (dwarf2_record_block_ranges): Ditto. testsuite/ * gdb.dwarf2/fission-base.c: New file. * gdb.dwarf2/fission-base.S: New file. * gdb.dwarf2/fission-base.exp: New file.
2012-06-28daily updateAlan Modra1-1/+1
2012-06-28*** empty log message ***gdbadmin1-1/+1
2012-06-27gdb/testsuite/Jan Kratochvil2-1/+5
* gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
2012-06-27 PR macros/7961:Tom Tromey11-30/+84
* varobj.c (varobj_create): Update. (varobj_set_value): Update. * tracepoint.c (validate_actionline): Update. (encode_actions_1): Update. * parse.c (parse_exp_1): Add 'pc' argument. (parse_exp_in_context): Add 'pc' argument. Change how expression_context_pc is set. (parse_expression): Update. (parse_field_expression): Update. * expression.h (parse_exp_1): Update. * eval.c (parse_to_comma_and_eval): Update. * breakpoint.c (set_breakpoint_condition): Update. (update_watchpoint): Update. (init_breakpoint_sal): Update (find_condition_and_thread): Update. (watch_command_1): Update. (update_breakpoint_locations): Update. * ada-lang.c (ada_read_renaming_var_value): Update. (create_excep_cond_exprs): Update. testsuite * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment. * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
2012-06-27 * gdb.dwarf2/pr10770.exp: Use standard_testfile.Tom Tromey51-198/+178
* gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile. * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile. * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile. * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile, prepare_for_testing. * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile. * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile. * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use standard_testfile. * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile. * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile. * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile. * gdb.dwarf2/callframecfa.exp: Use standard_testfile, prepare_for_testing. * gdb.dwarf2/dup-psym.exp: Use standard_testfile. * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile. * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile. * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile. * gdb.dwarf2/dw2-basic.exp: Use standard_testfile. * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile. * gdb.dwarf2/dw2-const.exp: Use standard_testfile. * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile. * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile. * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile. * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile. * gdb.dwarf2/dw2-filename.exp: Use standard_testfile. * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile. * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile. * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile. * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile. * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile. * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile. * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile. * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile. * gdb.dwarf2/dw2-producer.exp: Use standard_testfile. * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile, standard_output_file. * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile, standard_output_file. * gdb.dwarf2/dw2-restore.exp: Use standard_testfile. * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile. * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile. * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile. * gdb.dwarf2/dw2-strp.exp: Use standard_testfile. * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile. * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile. * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile. * gdb.dwarf2/implptr.exp: Use standard_testfile. * gdb.dwarf2/mac-fileno.exp: Use standard_testfile. * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile. * gdb.dwarf2/pieces.exp: Use standard_testfile. * gdb.dwarf2/pr11465.exp: Use standard_testfile. * gdb.dwarf2/pr13961.exp: Use standard_testfile. * gdb.dwarf2/valop.exp: Use standard_testfile, prepare_for_testing.
2012-06-27 * dwarf2read.c (per_cu_header_read_in): Simplify, and handleDoug Evans2-6/+7
type units.
2012-06-27 * gdb.python/python.exp: Fix regexps in pagination tests.Tom Tromey2-2/+6
2012-06-27ld-elf/ehdr_start.d (target): Add *-*-nacl*.Roland McGrath2-1/+5
2012-06-27 * ld-elf/ehdr_start.s: Use data rather than rodata.Alan Modra3-2/+7
* ld-elf/ehdr_start.d: Run on linux and gnu targets only.
2012-06-27 * gas/i386/rep-ret.s: Zero pad section.Alan Modra3-0/+7
* gas/i386/rep-ret.d: Update.
2012-06-27 * dwarf2read.c (read_and_check_comp_unit_head): Delete unnecessaryDoug Evans2-20/+41
prototype. (error_check_comp_unit_head): New arg abbrev_section. All callers updated. (read_and_check_comp_unit_head): Ditto. (read_and_check_type_unit_head): Ditto.
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.