+2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fall back linespec to minimal symbols.
+ * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
+ error message.
+ * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
+ * gdb.cp/minsym-fallback-main.cc: New file.
+ * gdb.cp/minsym-fallback.cc: New file.
+ * gdb.cp/minsym-fallback.exp: New file.
+ * gdb.cp/minsym-fallback.h: New file.
+
+2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.cp/no-dmgl-verbose.cc: New file.
+ * gdb.cp/no-dmgl-verbose.exp: New file.
+
+2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
+ __GI_.
+ * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
+ (f): New function.
+ * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
+ (complete p 'func<short>(): ... here.
+ * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
+ * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
+ * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
+ * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
+ Make them KFAIL gcc/49546.
+
+2011-07-01 Joel Brobecker <brobecker@adacore.com>
+
+ * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
+
+2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Test GCC PR debug/49546.
+ * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
+ (test type of F in k3_m, test value of F in k3_m): New.
+ * gdb.cp/temargs.cc (struct S3, struct K3): New.
+ (main): New variable k3. Call k3.k3_m.
+
+2011-07-01 Jean-Charles Delay <delay@adacore.com>
+
+ * gdb.ada/packed_array.exp: Fix expected outout.
+
+2011-07-01 Jean-Charles Delay <delay@adacore.com>
+
+ * gdb.ada/packed_array.exp: fixed expected output.
+
+2011-07-01 Joel Brobecker <brobecker@adacore.com>
+
+ * gdb.ada/same_enum: New testcase.
+
+2011-07-01 Joel Brobecker <brobecker@adacore.com>
+
+ * gdb.ada/ptr_typedef: New testcase.
+
+2011-07-01 Joel Brobecker <brobecker@adacore.com>
+
+ * gdb.ada/arrayptr.exp: Add ptype test.
+
+2011-07-01 Joel Brobecker <brobecker@adacore.com>
+
+ * gdb.ada/char_enum: New testcase.
+
+2011-07-01 Yao Qi <yao@codesourcery.com>
+
+ * gdb.base/dump.exp (capture_pointer_with_type): New.
+ Get value from address instead of name.
+ Start GDB once, and do `dump' and `restore'
+ tests together.
+
+2011-06-30 Jie Zhang <jie.zhang@analog.com>
+ Mike Frysinger <vapier@gentoo.org>
+
+ * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
+ helper functions for getting/setting remotetimeout variable.
+ * lib/gdb.exp (gdb_load): If the target is remote, set
+ $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
+ with $loadtimeout. Set $load_ok to 0 before doing the load.
+ Instead of returning, immediately, set $load_ok to 0. Call
+ set_remotetimeout with $oldremotetimeout, and then return if
+ $load_ok is 1.
+
+2011-06-30 Andrew Burgess <aburgess@broadcom.com>
+
+ * gdb.python/py-template.exp: Don't run this test if the target
+ does not support c++ tests.
+
+2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix non-only rename list for Fortran modules import.
+ * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
+ tests.
+ * gdb.fortran/module.f90 (module moduse): New.
+ (program module): use moduse, test var_x, var_y and var_z.
+
+2011-06-29 Tom Tromey <tromey@redhat.com>
+
+ PR testsuite/12040:
+ * gdb.fortran/array-element.exp: Use f90, not f77.
+ * gdb.fortran/complex.exp: Use f90, not f77.
+ * gdb.fortran/derived-type.exp: Use f90, not f77.
+ * gdb.fortran/library-module.exp: Use f90, not f77.
+ * gdb.fortran/logical.exp: Use f90, not f77.
+ * gdb.fortran/module.exp: Use f90, not f77.
+ * gdb.fortran/multi-dim.exp: Use f90, not f77.
+ * gdb.fortran/subarray.exp: Use f90, not f77.
+
+2011-06-29 Tom Tromey <tromey@redhat.com>
+
+ * gdb.fortran/charset.exp: New file.
+ * gdb.fortran/charset.f90: New file.
+
+2011-06-29 Tom Tromey <tromey@redhat.com>
+
+ PR testsuite/12040:
+ * lib/future.exp: New file, mostly extracted from ada.exp.
+ Rewrote compatibility code to use rename.
+ (gdb_find_gfortran): New proc.
+ (gdb_default_target_compile): Refresh from dejagnu; plus a pending
+ gfortran patch.
+ * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
+ Move to future.exp.
+ * lib/gdb.exp: Always load future.exp.
+
+2011-06-28 Yao Qi <yao@codesourcery.com>
+
+ * gdb.cp/exception.cc: Don't include iostream.
+ (bar): Remove print statement.
+ (catcher): New.
+ (main): Remove print statements. Call function catcher.
+ * gdb.cp/exception.exp : Don't match inferior's output in regexp.
+ Set breakpoint on catcher, and check the value of parameter.
+
+2011-06-23 Yao Qi <yao@codesourcery.com>
+
+ * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
+ 1.2 is disabled. KFAIL for uclinux.
+
+2011-06-23 Marek Polacek <mpolacek@redhat.com>
+
+ * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
+ mi_gdb_test.
+
+2011-06-23 Marek Polacek <mpolacek@redhat.com>
+
+ * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
+
+2011-06-23 Marek Polacek <mpolacek@redhat.com>
+
+ * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
+
+2011-06-23 Marek Polacek <mpolacek@redhat.com>
+
+ * gdb.mi/mi2-basics.exp: Fix races. Honour the
+ `test_exec_and_symbol_mi_operatons' return value.
+ (test_mi_interpreter_selection): Use mi_gdb_test instead of
+ gdb_test_multiple.
+ (test_exec_and_symbol_mi_operatons): Likewise.
+ (test_path_specification): Likewise.
+
+2011-06-23 Yao Qi <yao@codesourcery.com>
+
+ * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
+ supported.
+ * lib/gdb.exp (support_displaced_stepping): New.
+
+2011-06-23 Yao Qi <yao@codesourcery.com>
+
+ * gdb.threads/execl.exp: Skip on remote target.
+
+2011-06-21 Marek Polacek <mpolacek@redhat.com>
+
+ * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
+ mi_gdb_test.
+
+2011-06-20 Marek Polacek <mpolacek@redhat.com>
+
+ * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
+
+2011-06-20 Marek Polacek <mpolacek@redhat.com>
+
+ * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
+ mi_gdb_test.
+
+2011-06-20 Marek Polacek <mpolacek@redhat.com>
+
+ * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
+
+2011-06-14 Yao Qi <yao@codesourcery.com>
+
+ gdb/testsuite/
+ * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
+
+2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
+
+2011-06-10 Tom Tromey <tromey@redhat.com>
+
+ * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
+ Add tests for pointer-to-member-function.
+ * gdb.cp/temargs.cc (S::somefunc): New function.
+ (K2): New class.
+ (main): Instantiate K2; call method.
+
+2011-06-08 Joel Brobecker <brobecker@adacore.com>
+
+ * gdb.python/py-inferior.c (f2): Make str an array rather
+ than a pointer.
+ * gdb.python/py-inferior.exp: Adjust testcase accordingly.
+
+2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.base/async-shell.c: New file.
+ * gdb.base/async-shell.exp: New file.
+
+2011-06-06 Pedro Alves <pedro@codesourcery.com>
+
+ * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
+
+2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
+
+ From Stephen Kitt <steve@sk2.org>
+ * gdb.base/help.exp: Adjust following some spelling corrections
+ in GDB.
+
+2011-06-01 Yao Qi <yao@codesourcery.com>
+
+ * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
+
+2010-05-31 Keith Seitz <keiths@redhat.com>
+
+ PR c++/12750
+ * gdb.cp/static-method.cc: New file.
+ * gdb.cp/static-method.exp: New file.
+
+2010-05-31 Keith Seitz <keiths@redhat.com>
+
+ PR symtab/12704
+ * gdb.cp/anon-ns.cc: New file.
+ * gdb.cp/anon-ns.exp: New file.
+
+2011-05-31 Pedro Alves <pedro@codesourcery.com>
+
+ * gdb.arch/i386-dr3-watch.c: New file.
+ * gdb.arch/i386-dr3-watch.exp: New file.
+
+2011-05-30 Yao Qi <yao@codesourcery.com>
+
+ * gdb.base/callfuncs.c (t_structs_fc): New.
+ (t_structs_dc, t_structs_ldc): New.
+ (t_double_many_args):
+ (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
+ (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
+ (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
+ * gdb.base/callfuncs.exp: Call new functions.
+
+2011-05-30 Yao Qi <yao@codesourcery.com>
+
+ * gdb.base/callfuncs.exp (rerun_and_prepare): New.
+ Call rerun_and_prepare for each test to isolate effects.
+
+2011-05-30 Yao Qi <yao@codesourcery.com>
+
+ * gdb.base/varargs.c (find_max_float_real): New.
+ (find_max_double_real, find_max_long_double_real): New.
+ * gdb.base/varargs.exp: Call these new added functions.
+ * lib/gdb.exp (setup_kfail_for_target): New.
+
+2011-05-30 Yao Qi <yao@codesourcery.com>
+
+ * gdb.base/funcargs.c (callca, callcb, callcc): New.
+ (callcd, callce, callcf, callc1a, callc1b): New.
+ (callc2a, callc2b): New.
+ * gdb.base/funcargs.exp (complex_args): New.
+ (complex_integral_args, complex_float_integral_args): New.
+ * lib/gdb.exp (support_complex_tests): New. Determine
+ whether to run test cases on _Complex types.
+
+2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.threads/leader-exit.c: New file.
+ * gdb.threads/leader-exit.exp: New file.
+
+2011-05-27 Marek Polacek <mpolacek@redhat.com>
+
+ * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
+
+2011-05-27 Marek Polacek <mpolacek@redhat.com>
+
+ * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
+ remove the `supported' variable.
+ * gdb.mi/mi-nonstop.exp: Likewise.
+ * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
+ * gdb.mi/mi-nsintrall.exp: Likewise.
+ * gdb.mi/mi-nsmoribund.exp: Likewise.
+ * gdb.mi/mi-nsthrexec.exp: Likewise.
+
+2011-05-26 Pedro Alves <pedro@codesourcery.com>
+
+ * gdb.reverse/finish-reverse-bkpt.exp: New test.
+
+2011-05-26 Pedro Alves <pedro@codesourcery.com>
+
+ * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
+
+2011-05-24 Keith Seitz <keiths@redhat.com>
+
+ PR breakpoint/12803
+ * gdb.cp/cmpd-minsyms.cc (a): New method.
+ (b): New method.
+ (c): New method.
+ * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
+
+2011-05-24 Pedro Alves <pedro@codesourcery.com>
+
+ * gdb.base/commands.exp (watchpoint_command_test): Check that the
+ watchpoint's command list didn't execute when the watchpoint went
+ out of scope.
+
+2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
+ * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
+ * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
+ * gdb.arch/i386-gnu-cfi.exp: Likewise.
+ * gdb.arch/i386-permbkpt.exp: Likewise.
+ * gdb.arch/i386-prologue.exp: Likewise.
+ * gdb.arch/i386-size-overlap.exp: Likewise.
+ * gdb.arch/i386-size.exp: Likewise.
+ * gdb.arch/i386-unwind.exp: Likewise.
+ * gdb.reverse/i386-precsave.exp: Likewise.
+ * gdb.reverse/i386-reverse.exp: Likewise.
+ * gdb.reverse/i386-sse-reverse.exp: Likewise.
+ * gdb.reverse/i387-env-reverse.exp: Likewise.
+ * gdb.reverse/i387-stack-reverse.exp: Likewise.
+
+2011-05-24 Pedro Alves <pedro@codesourcery.com>
+
+ * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
+ file doesn't error, using MI.
+
+2011-05-23 Tom Tromey <tromey@redhat.com>
+
+ * gdb.base/charset.exp (string_display): Add tests to assign to
+ arrays.
+ * gdb.base/charset.c (short_array, int_array, long_array): New.
+
+2011-05-20 Pedro Alves <pedro@codesourcery.com>
+
+ Cope with async mode.
+
+ * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
+ into gdb_test + mi_expect_stop.
+
+2011-05-20 Pedro Alves <pedro@codesourcery.com>
+
+ * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
+ (callme): Remove printf call.
+
+2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
+ quote pattern to avoid problems with Cygwin/mingw expect versions.
+ * gdb.base/default.exp (show convenience): Use double
+ quote pattern for regular expressions.
+
+2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix -readnow for -gdwarf-4 unused type units.
+ * gdb.dwarf2/dw4-sig-type-unused.S: New file.
+ * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
+
+2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.base/kill-after-signal.c: New file.
+ * gdb.base/kill-after-signal.exp: New file.
+
+2011-05-16 Pedro Alves <pedro@codesourcery.com>
+
+ * gdb.ada/start.exp: Call untested with the correct test filename.
+ * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
+ test filename. Make the test's binary unique.
+ * gdb.arch/i386-signal.exp: Call untested with the correct test
+ filename.
+ * gdb.arch/i386-size-overlap.exp: Ditto.
+ * gdb.arch/Makefile.in (EXECUTABLES): Update.
+ * gdb.base/gcore-buffer-overflow.exp: Ditto.
+ * gdb.cp/call-c.exp: Ditto.
+ * gdb.mi/mi-reverse.exp: Call untested with the correct test
+ filename. Make the test's binary unique.
+ * gdb.mi/Makefile.in (EXECUTABLES): Update.
+ * gdb.python/py-mi.exp: Ditto.
+ * gdb.python/Makefile.in (EXECUTABLES): Update.
+ * gdb.reverse/i386-precsave.exp: Ditto.
+ * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
+ test filename.
+ * gdb.reverse/i387-stack-reverse.exp: Ditto.
+ * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
+ unique.
+ * gdb.reverse/sigall-reverse.exp: Call untested with the correct
+ test filename.
+ * gdb.reverse/Makefile.in (EXECUTABLES): Update.
+ * gdb.trace/tfile.exp: Ditto.
+
+2011-05-14 Yao Qi <yao@codesourcery.com>
+
+ * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
+ type.
+
+2011-05-13 Doug Evans <dje@google.com>
+
+ * gdb.python/py-objfile-script.exp: New file.
+ * gdb.python/py-objfile-script.c: New file.
+ * gdb.python/py-objfile-script-gdb.py: New file.
+ * testsuite/gdb.python/py-section-script.exp: Test
+ "info auto-load-scripts".
+
+2011-05-13 Tom Tromey <tromey@redhat.com>
+
+ * gdb.dwarf2/clztest.exp: New file.
+ * gdb.dwarf2/clztest.c: New file.
+ * gdb.dwarf2/clztest.S: New file.
+
+2011-05-13 Doug Evans <dje@google.com>
+
+ * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
+ String16 tests.
+
+2011-05-13 Tom Tromey <tromey@redhat.com>
+
+ * lib/gdb.exp (is_x86_like_target): New proc.
+ * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
+ * gdb.dwarf2/valop.exp: Use is_x86_like_target.
+ * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
+ -nostdlib to compiler.
+ * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
+ * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
+ * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
+ * gdb.dwarf2/dw2-restore.exp: Check for LP64.
+ * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
+
+2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * gdb.python/py-function.exp: Test setting a value from a function
+ which executes a command.
+
+2011-05-12 Tom Tromey <tromey@redhat.com>
+
+ * gdb.dwarf2/typeddwarf.S: New file.
+ * gdb.dwarf2/typeddwarf.c: New file.
+ * gdb.dwarf2/typeddwarf.exp: New file.
+
+2011-05-12 Marek Polacek <mpolacek@redhat.com>
+
+ * gdb.mi/mi-basics.exp: Fix races. Honour the
+ `test_exec_and_symbol_mi_operatons' return value.
+ (test_mi_interpreter_selection): Use mi_gdb_test instead of
+ gdb_test_multiple.
+ (test_exec_and_symbol_mi_operatons): Likewise.
+ (test_path_specification): Likewise.
+
+2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
+ (gdb_touch_execfile): Remove catch wrappers. New variable time.
+ Replace `file copy' and `file rename' by `file mtime'. Twice.
+
+2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.base/readline-ask.c: New file.
+ * gdb.base/readline-ask.exp: New file.
+ * gdb.base/readline-ask.inputrc: New file.
+
+2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * gdb.cell/bt.exp: Delete breakpoints before running to signal
+ to avoid race condition.
+ * gdb.cell/coremaker.c: Use small stack size.
+ * gdb.cell/ea-standalone.exp: Use file name without path as
+ argument to c_to.
+ * gdb.cell/fork.exp: Allow other output when continuing to end.
+
+2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.threads/corethreads.c: New file.
+ * gdb.threads/corethreads.exp: New file.
+
+2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
+ Try to compile the test using -Wl,-z,norelro first.
+ (load_core): New variable libthread_db_seen, initialize it.
+ (zeroed-threads cannot be listed): Protect it by XFAIL on
+ !$libthread_db_seen.
+
+2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ PR 12573
+ * gdb.dwarf2/dw2-skip-prologue.S: New file.
+ * gdb.dwarf2/dw2-skip-prologue.c: New file.
+ * gdb.dwarf2/dw2-skip-prologue.exp: New file.
+
+2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.cp/psymtab-parameter.cc: New file.
+ * gdb.cp/psymtab-parameter.exp: New file.
+
2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix a race.