2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 963e679c3789c57ce123dd112405478ae46093a6..30c5df177d68ba702469e777b557ac9a1d494b01 100644 (file)
@@ -1,5 +1,473 @@
+2010-04-09  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * gdb.python/py-breakpoint.exp: New File.
+       * gdb.python/py-breakpoint.C: Ditto.
+
+2010-04-08  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.trace/actions.exp: Clear default-collect.
+       * gdb.trace/save-trace.exp: Clear default-collect.
+
+2010-04-08  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * gdb.python/py-value: Add null string variable.
+         (test_lazy_string): Test zero length, NULL address lazy
+         strings.
+
+2010-04-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gdb.arch/i386-avx.c: New.
+       * gdb.arch/i386-avx.exp: Likewise.
+
+       * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
+
+2010-04-06  Doug Evans  <dje@google.com>
+
+       * gdb.base/source-test.gdb: New file.
+       * gdb.base/source.exp: Test source -v.
+
+2010-04-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
+
+2010-04-06  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * gdb.stabs/aout.sed: Convert all backslash to double backslash
+       within one line, unless it is followed by a double quote.
+       * gdb.stabs/hppa.sed: Idem.
+       * gdb.stabs/weird.def: Add char and String constants
+       * gdb.stabs/weird.exp: Check for correct parsing of 
+       chhar and string constants.
+       * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
+       in .stabs to .stabx substitution.
+
+2010-04-05  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.trace/tfile.c: Add a variable split across two blocks, and a
+       constant global.
+       * gdb.trace/tfile.exp: Try to print them.
+
+2010-04-04  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.base/completion.exp: Update for new "info watchpoints".
+       * gdb.base/default.exp: Ditto.
+       * gdb.base/help.exp: Ditto.
+       * gdb.base/watchpoint.exp: Ditto.
+       * gdb.trace/infotrace.exp: Update "info tracpoints" output.
+       
+2010-04-04  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.trace/tfile.exp: Sharpen tfind test.
+
+2010-04-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/break-entry.exp: New.
+
+2010-04-02  Hui Zhu  <teawater@gmail.com>
+            Michael Snyder <msnyder@vmware.com>
+
+       * gdb.reverse/i386-sse-reverse.exp: New file.
+       * gdb.reverse/i386-sse-reverse.c: New file.
+
+2010-04-02  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.trace/tfind.exp: Adjust expected disassembly output.
+
+2010-04-01  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.trace/actions.exp: Tweak expected output.
+       * gdb.trace/while-stepping.exp: Tweak expected output.
+
+2010-04-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
+
+2010-04-01  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.base/commands.exp: Adjust.
+       * gdb.cp/extern-c.exp: Adjust.
+
+2010-04-01  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.trace/collection.c (local_test_func): Define a local struct,
+       and instanciate it.
+
+2010-04-01  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.trace/collection.exp (gdb_collect_args_test)
+       (gdb_collect_argarray_test): XFAIL the tests that assume the
+       argarray argument's elements are collected.
+
+2010-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.dwarf2/dw2-bad-parameter-type.exp,
+       gdb.dwarf2/dw2-bad-parameter-type.S: New.
+
+2010-03-31  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.trace/save-trace.exp: Test save/restore of default-collect
+       and tracepoint conditionals.
+       (gdb_verify_tracepoints): Delete unused return.
+
+2010-03-26  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
+       appear in the output before main.
+       Remove KFAIL for gdb/2215 aka bz 9320.
+
+2010-03-30  Doug Evans  <dje@google.com>
+
+       * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
+       by dejagnu.
+       * gdb.arch/amd64-dword.exp: Ditto.
+
+       * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
+       match.
+       (break printf): Ditto.
+
+2010-03-29  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
+       gcc < 4.4.
+       * gdb.cp/shadow.exp: Ditto.
+
+2010-03-29  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.trace/collection.exp (run_trace_experiment): Make sure
+       "tstart" is silent.
+
+2010-03-29  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.trace/collection.exp (executable): New.
+       (binfile): Use it.
+       (fpreg, spreg, pcreg): New.
+       (test_register): Use gdb_test_multiple.  Pass /x to print.
+       (prepare_for_trace_test): New.
+       (run_trace_experiment): Use "continue", not gdb_run_cmd.
+       (gdb_collect_args_test, gdb_collect_argstruct_test)
+       (gdb_collect_argarray_test, gdb_collect_locals_test): Use
+       prepare_for_trace_test.
+       (gdb_collect_registers_test): Use prepare_for_trace_test.  Use
+       fpreg, spreg and pcreg.
+       (gdb_collect_expression_test, gdb_collect_globals_test): Use
+       prepare_for_trace_test.
+       (gdb_trace_collection_test): Use fpreg, spreg and pcreg.  Don't
+       try to detect tracing support here.  Don't set breakpoints at
+       `begin' or `end' here.
+       <global scope>: Use clean_restart.  Run to main before checking
+       for tracing support.  Check for for tracing support here.
+
+2010-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
+       " as $displacement" to "seen displacement message".
+
+2010-03-28  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.trace/while-dyn.exp (executable): New variable.
+       (binfile): Use it.
+       (test_while_stepping): New function.  Move most tests here.  Call
+       it once for each of the while-stepping, stepping and ws aliases.
+
+2010-03-26  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
+       that do not provide the tagless_struct type name at all.
+       (test_print_anon_union): Do not check value of uninitialized
+       union member.  Do not use cp_test_ptype_class, so we can accept
+       "long" as well as "long int".
+
+2010-03-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.trace/tfile.c (tohex, bin2hex): New.
+       (write_error_trace_file): Hexify error description.
+
+2010-03-25  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.trace/tfile.c: Generate an additional trace file, improve
+       portability.
+       * gdb.trace/tfile.exp: Test trace file with an error stop, delete
+       files in a better way.
+
+2010-03-25  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.java/jprint.exp: XFAIL printing of static class members
+       because of GCC debuginfo problem.
+
+2010-03-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
+
+2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.base/completion.exp: Allow long instead of long int.
+       * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
+       * gdb.base/gdbvars.c (main): Remove unused usestubs code.  Reference
+       variable p.
+       * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
+       * gdb.base/pointers.exp: Allow long instead of long int.
+       * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
+       * gdb.base/step-line.exp: Allow a directory before the source file name.
+
+2010-03-24  Tom Tromey  <tromey@redhat.com>
+
+       PR breakpoints/9352:
+       * gdb.base/default.exp: Update.
+       * gdb.base/commands.exp: Update.
+       * gdb.cp/extern-c.exp: Test setting commands on multiple
+       breakpoints at once.
+
+2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
+       if gdb,nosignals.
+       * gdb.base/watchpoints.c: Do not include unnecessary headers.
+       * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
+       exited".
+
+2010-03-24  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.trace/tfile.exp: Expect "trace frame", with a space.
+
+2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
+       * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
+       argument.  Handle "short" and "long".
+       (Top level): Pass overprototyped output for old_fptr and xptr.
+
+2010-03-23  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
+       format strings and add casts to avoid compiler warnings.
+
+2010-03-23  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * lib/trace-support.exp (gdb_trace_setactions):
+       Don't expect whitespace after ">" prompt.
+       * gdb.trace/actions.exp: Adjust for output changes.
+       * gdb.trace/while-stepping.exp: Likewise.
+
+2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
+       and r157645).
+
+2010-03-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
+       New.
+
+2010-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
+       * gdb.python/py-mi.exp (binfile): Rename to py-mi.
+
+2010-03-19  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.trace/ax.exp: New file.
+
+2010-03-19  Doug Evans  <dje@google.com>
+
+       * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
+       output from gcc.
+
+       * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
+       named /usr/sbin/prelink<foo>.
+
+2010-03-18  Stan Shebs  <stan@codesourcery.com>
+
+       * gdb.trace/circ.exp: Test circular-trace-buffer.
+       * gdb.trace/tfile.exp: Update tstatus test.
+
+2010-03-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.dwarf2/dw2-anonymous-func.S: New file.
+       * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
+
+2010-03-18  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
+
+2010-03-18  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.base/default.exp: Adjust the expected output of the finish
+       and until commands when the inferior is not being run.
+
+2010-03-15  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * gdb.cp/shadow.exp: Removed kfail; test has been fix.
+       * gdb.cp/nsusing.exp: Ditto.
+
+2010-03-15  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
+       * gdb.cp/userdef.cc (operator==): New function.
+       (main): New locals mem1, mem2.
+
+2010-03-15  Jie Zhang  <jie@codesourcery.com>
+
+       * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
+       Declare and use new loadtimeout variable.
+
+2010-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
+       Use gdb_load later.
+
+2010-03-14  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.base/solib-disc.c (main): Make format of fprintf a string
+       literal.  Add missing endlines to prints to stderr.
+
+2010-03-12  Tom Tromey  <tromey@redhat.com>
+
+       PR c++/9708:
+       * gdb.cp/m-static.exp: Add regression test.
+       * gdb.cp/m-static.cc (method): New method.
+       (main): Call it.
+
+2010-03-12  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * gdb.cp/gdb2384-base.h: Created 'namespace B'.
+       * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
+
+2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
+
+2010-03-12  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * lib/gdb.exp (skip_stl_tests): New.
+       (gdb_compile): Symbian needs -ldl.
+       (shlib_target_file): New.
+       (shlib_symbol_file): New.
+       (gdb_load_shlibs): Use shlib_target_file.
+       * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
+       * gdb.cp/exception.exp: Use skip_stl_tests.
+       * gdb.cp/bs15503.exp: Use skip_stl_tests.  Use untested.
+       * gdb.cp/try_catch.exp: Use skip_stl_tests.
+       * gdb.cp/mb-templates.exp: Ditto.
+       * gdb.base/commands.exp: Relax regexes.
+       * gdb.base/watchpoint-solib.exp: Don't skip on symbian.  Use
+       shlib_target_file and shlib_symbol_file.
+       * gdb.base/maint.exp: Allow lowercase t.  Allow .rodata in
+       sections.
+       * gdb.base/ending-run.exp: Accept E32Main for symbian.
+       * gdb.base/solib-disc.exp: Use
+       shlib_target_file and shlib_symbol_file.
+       * gdb.base/unload.exp: Don't skip on symbian.  Use
+       shlib_target_file and shlib_symbol_file.
+       * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
+
+2010-03-12  Pedro Alves  <pedro@codesourcery.com>
+       * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
+       * gdb.trace/report.exp: Adjust for x86 and x86_64.
+       Issue a tfind end before looking for a tracepoint frame.
+       * gdb.trace/tfind.exp: Adjust tstatus output.
+       Adjust disassembly output.
+       * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
+
+2010-03-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.base/break-interp.exp: Create new displacement parameter value
+       for the test_ld calls.
+       (reach): New parameter displacement, verify its content.  New push of
+       pf_prefix "reach-$func:".  Import global expect_out.
+       (test_core): New parameter displacement, verify its content.  New push
+       of pf_prefix "core:".  New command "set verbose on".  Import global
+       expect_out.
+       (test_attach): New parameter displacement, verify its content.  New
+       push of pf_prefix "attach:".  New command "set verbose on".  Import
+       global expect_out.
+       (test_ld): New parameter displacement, pass it to the reach, test_core
+       and test_attach calls and verify its content in the "ld.so exit" test.
+       * gdb.base/prelink.exp: Remove gdb_exit and final return.
+       (prelink): Update expected text, use gdb_test.
+
+2010-03-10  Doug Evans  <dje@google.com>
+
+       * gdb.base/checkpoint.exp: Fix comment.
+       Lengthen timeout while doing >600 checkpoints test.
+       Rename duplicate "kill all one" test to keep test names unique.
+
+2010-03-10  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
+
+2010-03-08  Keith Seitz  <keiths@redhat.com>
+
+        * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
+        * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
+        (dm_type_long): New function.
+        (dm_type_unsigned_short): New function.
+        (dm_type_unsigned_long): New function.
+        (myint): New typedef.
+        * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
+        long, unsigned shor and long, operator char*, and typedef.
+        (test_lookup_operator_functions): Add operator char* test.
+        (test_paddr_operator_functions): Likewise.
+        (test_paddr_overloaded_functions): Use probe values for
+        short, long, and unsigned short and long.
+        (test_paddr_hairy_functions): If the demangler probe detected
+        gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
+        demangler.
+        * gdb.cp/expand-sals.exp: Backtrace may contain class names.
+        * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
+        and "print null_pmf".
+        Add test "ptype a.*pmf".
+        * gdb.cp/overload.exp: Allow optional "int" to appear with
+        "short" and "long".
+        * gdb.cp/ovldbreak.exp: Use append to construct super-duper
+        long expect value for men_overload1arg.
+        Allow "int" to appear with "short" and "long".
+        When testing "info break", add argument for main (void).
+        Also allow "int" to appear with "short" and "long".
+        Ditto with "unsigned" and "long long".
+       * gdb.java/jmain.exp: Do not enclose methods names in single
+       quotes.
+       * gdb.java/jmisc.exp: Likewise.
+       * gdb.java/jprint.exp: Likewise.
+       * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
+
+       From Jan Kratochvil  <jan.kratochvil@redhat.com>:
+       * gdb.cp/exception.exp (backtrace after first throw)
+       (backtrace after second throw): Allow a namespace before __cxa_throw.
+       (backtrace after first catch, backtrace after second catch): Allow
+       a namespace before __cxa_begin_catch.
+
+       * gdb.cp/cpexprs.exp: New file.
+       * gdb.cp/cpexprs.cc: New file.
+
+       From Daniel Jacobowitz  <dan@codesourcery.com>
+       * gdb.cp/cpexprs.exp (escape): Delete.  Change all callers
+       to use string_to_regexp.
+       (ctor, dtor): New functions.  Use them to match constructor
+       and destructor function types.
+       (Top level): Use runto_main.
+
+2010-03-05  Tom Tromey  <tromey@redhat.com>
+
+       * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
+       gdb.target_charset.
+       (pp_ns.to_string): Likewise.
+
+2010-03-04  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.cp/overload.exp: Test that the filename portion of a linespec
+       can be quoted.  Test that both the filename and function/line
+       portions can be quoted at the same time.
+
+2010-03-04  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
+
 2010-03-03  Doug Evans  <dje@google.com>
 
+       * lib/gdb.exp (gdb_compile_pthreads): Handle case where
+       libc contains libpthread.
+
        * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
        * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
        of gdb_compile.  Add another pattern to match android backtrace.
This page took 0.038137 seconds and 4 git commands to generate.