X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Ftestsuite%2FChangeLog;h=74826cfbb483b5a0e57b5a30d9a13df3535aa2e9;hb=e18b27534c2181c92dc9b685adc05bcf6b685817;hp=622fd587e7ae1589bd51798c239b4245a9a81aca;hpb=543305c9cd7417b50b1e6d1fce6c7e0e44741bf4;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 622fd587e7..74826cfbb4 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,492 @@ +2011-10-09 Jan Kratochvil + + Display @entry parameter values (without references). + * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2) + (different, validity, invalid): New functions. + (main): Call them. + * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr, + stacktest, breakhere_stacktest, different, breakhere_different, + breakhere_validity and breakhere_invalid. + (entry: bt): Update for @entry. + (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *) + (entry_validity: *, entry_invalid: *): Many new tests. + * gdb.base/break.exp + (run until breakpoint set at small function, optimized file): Accept + also the @entry suffix. + * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value. + * gdb.mi/mi2-amd64-entry-value.c: New files. + * gdb.mi/mi2-amd64-entry-value.exp: New files. + +2011-10-09 Jan Kratochvil + + Protect entry values against self tail calls. + * gdb.arch/amd64-entry-value.cc (self2, self): New. + (main): Call self. + * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt) + (set debug entry-values 1, self: bt debug entry-values): New tests. + +2011-10-09 Jan Kratochvil + + Recognize virtual tail call frames. + * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb) + (amb_b, amb_a): New. + (main): Call a and b. + * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt) + (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3) + (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt): + New tests. + +2011-10-09 Jan Kratochvil + + Implement basic support for DW_TAG_GNU_call_site. + * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value. + * gdb.arch/amd64-entry-value.cc: New file. + * gdb.arch/amd64-entry-value.exp: New file. + +2011-10-09 Jan Kratochvil + + Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches. + * gdb.dwarf2/implptr-64bit.S: New file. + * gdb.dwarf2/implptr-64bit.exp: New file. + +2011-10-09 Jan Kratochvil + + Fix initial language detection with -readnow. + * gdb.cp/readnow-language.cc: New file. + * gdb.cp/readnow-language.exp: New file. + +2011-10-09 Jan Kratochvil + + Fix printed anonymous struct name. + * gdb.cp/anon-struct.exp (print type of X::t2): New test. + +2011-10-09 Joseph Myers + + * gdb.base/solib-symbol.exp: Do not include directories in + filenames in expected messages. + +2011-10-07 Doug Evans + + * gdb.python/py-pp-maint.py: Add tests for `replace' arg. + +2011-10-07 Kevin Pouget + + Allow Python notification of new object-file loadings. + * gdb.python/py-events.exp: Test newobjfile event. + * gdb.python/py-events.py: Register newobjfile callback. + * gdb.python/py-events.c: Add call to shared library + * gdb.python/py-events-shlib.c: New file. + +2011-10-06 Joseph Myers + + * gdb.base/fixsection.exp: Do not include directories in filename + in expected message. + +2011-10-05 Pierre Muller + + Add tests for passing of environment variables to inferior. + * gdb.base/testenv.c: New test source. + * gdb.base/testenv.exp: New expect test. + +2011-10-04 Paul Koning + + * gdb.python/py-value.c (main): Break before return. + +2011-10-04 Kevin Pouget + + PR python/12691: Add the inferior to Python exited event + * gdb.python/py-events.exp: Test the inferior attribute of exited + event with a fork. + * gdb.python/py-events.py: Print inferior number on exit. + * gdb.python/py-events.c: Fork the inferior. + +2011-10-03 Edjunior Machado + + * gdb.base/jit.exp: Add testcase name to log message + +2011-10-03 Paul Koning + Jan Kratochvil + + * gdb.python/py-value.exp + (python inval = gdb.parse_and_eval('*(int*)0')) + (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc) + (set argc=2, python print argc_lazy): New tests. + +2011-10-02 Joel Brobecker + + * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files. + +2011-10-01 Jan Kratochvil + Pedro Alves + + * gdb.python/py-value.exp (test_value_in_inferior): New variable + can_read_0, test for it. + (python print gdb.parse_and_eval('*(int*)0')): Rename to ... + (parse_and_eval with memory error): ... here, make it untested if + can_read_0. + +2011-09-30 Marek Polacek + + * gdb.python/python.exp (verify pagination beforehand) + (verify pagination afterwards): Fix race by splitting the line. + +2011-09-29 Joseph Myers + + * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow + for 64-bit multilibs from i?86-* targets. + +2011-09-29 Marek Polacek + + * lib/gdb.exp: Fix a typo in one of the comments. + +2011-09-29 Marek Polacek + + * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the + matching pattern. + +2011-09-28 Paul Koning + + * gdb.python/py-type.c (enum E): New. + * gdb.python/py-type.exp (test_fields): Add tests for Python + mapping access to fields. + (test_enums): New test for field access on enums. + +2011-09-27 Stan Shebs + + * gdb.trace/collection.exp: Test collection of $_ret. + +2011-09-22 Andreas Tobler + + * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the + list of compilation switches for <*-*-freebsd*>. + +2011-09-19 Stan Shebs + + * gdb.trace/tspeed.exp: New file. + * gdb.trace/tspeed.c: New file. + +2011-09-18 Yao Qi + + * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb + instructions. + (test_adr_32bit, test_pop_pc): Likewise. + (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for + Thumb instructions. + * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt + in gdb_test_multiple. + (test_ldr_literal_16, test_cbz_cbnz, test_adr): New. + +2011-09-17 Yao Qi + + * lib/gdb.exp (can_single_step_to_signal_handler): New. + * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't + support single step to signal handler. + +2011-09-17 Yao Qi + + * gdb.base/disp-step-fork.c: New. + * gdb.base/disp-step-syscall.exp: New. + * gdb.base/disp-step-vfork.c: New. + +2011-09-16 Joel Brobecker + + * gdb.ada/tasks.exp: Make the expected output for + the `info tasks' tests more resilient to spacing + changes. + +2011-09-16 Jan Kratochvil + + * gdb.python/py-evthreads.exp (Run to breakpoint 1) + (reached breakpoint 2, reached breakpoint 3): Update expected output. + +2011-09-15 Kevin Pouget + + PR Python/12692 Add gdb.selected_inferior() to Python interface. + * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior(). + +2011-04-30 Kevin Pouget + + Handle multiple breakpoint hits in Python interface: + * gdb.python/py-events.exp: Set a duplicate breakpoint and check its + presence. + * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the + breakpoint hits. + +2011-09-13 Sami Wagiaalla + Jan Kratochvil + + * gdb.python/py-events.exp: Remove pretty printing comment. + * gdb.python/py-evsignal.exp: New file. + * gdb.python/py-evthreads.c: Include signal.h. + (thread3): Remove variable count3. Remove variable bad and use raise + instead. + (thread2): Remove variable count2. Move thread3 pthread_create here, + merge pthread_join to a single line. + (main): Remove variable count1. Merge pthread_join with pthread_create + to a single line. + * gdb.python/py-evthreads.exp: Remove pretty printing comment. New + KFAIL python/12966 for gdbserver. Test return value of + gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and + gdb_expect by gdb_test and gdb_test_multiple. + (thread 2, thread 3): New tests. + +2011-09-12 Matt Rice + Pedro Alves + + PR gdb/13175 + + * gdb.base/interp.exp: New tests. + * gdb.base/interp.c: New file. + +2011-09-12 Doug Evans + + * gdb.dwarf2/clztest.exp: Fix initialization of tests array. + * gdb.dwarf2/typeddwarf.exp: Ditto. + +2011-09-08 Jan Kratochvil + + Fix compatibility with x32 arch. + * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target. + * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and + is_x86_like_target. + * testsuite/gdb.trace/collection.exp: Likewise. + * testsuite/gdb.trace/report.exp: Likewise. + * testsuite/gdb.trace/unavailable.exp: Likewise. + * testsuite/gdb.trace/while-dyn.exp: Likewise. + * testsuite/lib/gdb.exp (is_amd64_regs_target): New function. + (is_x86_like_target): Check also is_amd64_regs_target. + +2011-09-08 Jan Kratochvil + + PR breakpoints/12435 + * gdb.arch/amd64-prologue-xmm.c: New file. + * gdb.arch/amd64-prologue-xmm.exp: New file. + * gdb.arch/amd64-prologue-xmm.s: New file. + +2011-09-08 Jan Kratochvil + + * gdb.dwarf2/dw2-param-error-main.c: New file. + * gdb.dwarf2/dw2-param-error.S: New file. + * gdb.dwarf2/dw2-param-error.exp: New file. + +2011-09-08 Pedro Alves + + * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the + inferior's pid and look for a core dump named core.$pid. Use + `remote_file' commands on the host instead of hand coding shell + commands on the build. + * gdb.base/valgrind-db-attach.exp: Kill the program before + finishing the test. + +2011-09-02 Matt Rice + + * lib/prompt.exp: New file for testing the first prompt. + * gdb.python/py-prompt.exp: Ditto. + * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c). + +2011-09-02 Pedro Alves + + * gdb.threads/gcore-thread.exp: Set the global core_supported to + 0, before testing gcore. + +2011-09-01 Jan Kratochvil + + * dw2-ifort-parameter-debug.S: Update copyright year. + * dw2-ifort-parameter.c: Update copyright year. + * dw2-ifort-parameter.exp: Update copyright year. + + * dw2-ifort-parameter-debug.S: New file. + * dw2-ifort-parameter.c: New file. + * dw2-ifort-parameter.exp: New file. + +2011-08-26 Jan Kratochvil + + * gdb.base/commands.exp (error_clears_commands_left): New function. + (): Call it. + +2011-08-26 Jan Kratochvil + + * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public. + (C): Initialize `a'. + * gdb.mi/mi-inheritance-syntax-error.exp + (-data-evaluate-expression $path): Expect `a' as 5. + +2011-08-26 Marc Khouzam + + PR mi/11912 + * gdb.mi/mi-inheritance-syntax-error.cc: New file. + * gdb.mi/mi-inheritance-syntax-error.exp: New file. + * gdb.mi/mi-var-cp.cc: Updated for new 'class' + keyword in output of -var-info-path-expression. + +2011-08-26 Jan Kratochvil + + * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target. + * gdb.trace/collection.exp: Likewise. + * gdb.trace/report.exp: Likewise. + * gdb.trace/unavailable.exp: Likewise. + * gdb.trace/while-dyn.exp: Likewise. + +2011-08-18 Keith Seitz + + PR c++/12266 + * gdb.cp/meth-typedefs.cc: New file. + * gdb.cp/meth-typedefs.exp: New file. + +2011-08-17 Phil Muldoon + + * gdb.python/python.exp: Add extended-prompt tests. + +2011-08-15 Jan Kratochvil + + * gdb.arch/i386-dr3-watch.exp + (watchpoint on gap1 does not fit debug registers) + (delete all watchpoints): Fix racy expect strings. + +2011-08-14 Yao Qi + + * gdb.base/maint.exp: set data_section to ".neardata". + * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine. + * gdb.base/savedregs.exp: Handle SIGILL. + * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine. + * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*. + +2011-08-12 Doug Evans + + * gdb.python/py-symbol.exp: Add test for symbol.type. + +2011-08-12 Ulrich Weigand + + * gdb.threads/pthreads.exp: Enable on non-native configurations. + * gdb.mi/mi-pthreads.exp: Likewise. + * gdb.mi/mi2-pthreads.exp: Likewise. + * gdb.mi/gdb669.exp.exp: Likewise. + +2011-08-09 Pedro Alves + + * lib/mi-support.exp (detect_async): Rename to... + (mi_detect_async): ... this. + * gdb.mi/mi-nonstop-exit.exp: Adjust. + * gdb.mi/mi-nonstop.exp: Adjust. + * gdb.mi/mi-ns-stale-regcache.exp: Adjust. + * gdb.mi/mi-nsintrall.exp: Adjust. + * gdb.mi/mi-nsmoribund.exp: Adjust. + * gdb.mi/mi-nsthrexec.exp: Adjust. + +2011-08-09 Pedro Alves + + * gdb.base/display.c (do_loops): New `p_i' local. + * gdb.base/display.exp: Test displaying a variable that is + temporarily at a bad address. + +2011-08-08 Jan Kratochvil + + * gdb.dwarf2/dw2-op-stack-value.S: New file. + * gdb.dwarf2/dw2-op-stack-value.exp: New file. + +2011-08-08 Jan Kratochvil + + * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte. + * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off) + (p fuNC_symtab): Permit also ppc64 leading dot. + +2011-08-05 Pedro Alves + + * gdb.trace/unavailable.exp (test_maybe_regvar_display): New + procedure. + (gdb_collect_args_test, gdb_collect_locals_test): Use it. + +2011-08-05 Yao Qi + + * gdb.base/callfuncs.exp: Set language after main. + * gdb.cp/cplusfuncs.exp: Likewise. + * gdb.cp/inherit.exp: Likewise. + +2011-08-04 Ulrich Weigand + + * gdb.base/nostdlib.exp: Skip on gdb_stub targets. + * gdb.base/watch-vfork.exp: Skip on remote targets. + +2011-08-04 Ulrich Weigand + + * gdb.threads/thread-find.exp: Support remote targets. + +2011-08-04 Ulrich Weigand + + * gdb.base/jit.exp: Download solib_binfile to target. + * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs + and call dlopen without full path name. + * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call + dlopen without full path name. + +2011-08-03 Philippe Waroquiers + + * gdb.base/break-always.exp: Complete the test + with duplicated breakpoints and enabling/disabling them. + +2011-08-02 Tom Tromey + + PR gdb/11289: + * gdb.cp/overload.exp: Fix regexps. Remove kfails. + +2011-08-01 Paul Pluzhnikov + + PR gdb/13045 + * gdb.base/float.exp: Add new test case for PR gdb/13045 + * gdb.base/float.c: New file. + +2011-07-28 Phil Muldoon + + * gdb.python/py-mi.exp: Test printers returning string hint, and + also not returning a value. + * gdb.python/py-prettyprint.c: Add testcase for above. + * gdb.python/py-prettyprint.py: Add test printer for above. + +2011-07-27 Jan Kratochvil + + * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3. + (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove. + (.Ldie30) Add as field "data4". + (.Ldie32) Rename field "b" to "shl". + (abbrev4) Change for the "data4" field. + (abbrev5, abbrev6) Remove. + * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ... + (p &s.shl): ... here. Add comment. + (p &s.data4): New. + +2011-07-27 Jan Kratochvil + + Fix crash on lval_computed values. + * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test. + +2011-07-27 Jan Kratochvil + + * gdb.base/help.exp (help whatis): Update the expected string. + +2011-07-27 Jan Kratochvil + + * gdb.dwarf2/dw2-simple-locdesc.S: New file. + * gdb.dwarf2/dw2-simple-locdesc.exp: New file. + * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors): + Change the expected string. + +2011-07-26 Pedro Alves + + * gdb.base/watchpoint.exp + (test_disable_enable_software_watchpoint): New procedure. + (top level): Run it. + +2011-07-26 Ulrich Weigand + + * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of + executable file "${binfile}", C++ version "${binfile}-cxx". + * gdb.python/py-prettyprint.exp: Likewise. + * gdb.python/py-symbol.exp: Likewise. + * gdb.python/py-type.exp: Likewise. + * gdb.python/py-value.exp: Likewise. + * gdb.python/py-template.exp (test_template_arg): Pass full executable + file name instead of just suffix. + 2011-07-25 Jan Kratochvil Fix implicit pointer offsets.