+
+ PR gdb/8704
+
+ * gdb.base/condbreak.exp: Test combinations of "break *EXP",
+ "if", and "thread". Correct matching in the previous test.
+
+
+ * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
+
+
+ * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
+ * gdb.reverse-watch-precsave.exp: Ditto.
+
+
+ * gdb.asm/asm-source.exp: Adjust.
+ * gdb.base/help.exp: Adjust.
+
+
+ * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
+ (do_syscall_tests_without_xml): Set data-directory to
+ /the/path/to/nowhere.
+
+
+ * gdb.threads/local-watch-wrong-thread.c,
+ gdb.threads/local-watch-wrong-thread.exp: New files.
+
+
+ * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
+ assume new `regsub' syntax available.
+
+
+ * gdb.base/watchpoint-hw-hit-once.exp,
+ gdb.base/watchpoint-hw-hit-once.c: New.
+
+
+ * gdb.threads/watchthreads-reorder.exp,
+ gdb.threads/watchthreads-reorder.c: New.
+
+
+ * gdb.xml/tdesc-regs.exp: Use for m68k.
+
+
+ * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
+
+
+ * lib/gdb.exp (current_target_name): New procedure.
+ (gdb_wrapper_target): New variable.
+ (gdb_wrapper_init): Set gdb_wrapper_target.
+ (default_gdb_init): Check gdb_wrapper_target before rebuilding the
+ wrapper.
+
+
+ * gdb.base/remote.exp: Delete the slowest load test.
+ Do not load with fixed packet sizes.
+
+
+ * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
+
+
+ * gdb.base/freebpcmd.exp: Delete unused variable. Specify
+ srcfile when setting a breakpoint.
+
+
+ * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
+ macros.
+
+
+ * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
+ to be in memory.
+ * gdb.base/display.c (force_mem): New.
+ (do_loops): Use it. Add breakpoint comments.
+ (do_vars): Add a breakpoint comment.
+ * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
+ line numbers.
+
+
+ * gdb.base/pending.exp: Use gdb_run_cmd to start the program
+ instead of a bare "run".
+
+
+ * gdb.python/py-prettyprint.exp: Adjust.
+
+
+ * lib/cell.exp (skip_cell_tests): Clean up test files before
+ returning.
+
+
+ * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
+ and the breakpoint menu. Do not call perror if a prompt is seen.
+ Consume the following GDB prompt.
+ * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
+ * gdb.cp/namespace.exp: Use gdb_test.
+ * gdb.cp/templates.exp: Use gdb_test.
+ (test_template_breakpoints): Use gdb_test_multiple.
+
+
+ * gdb.base/break1.c (struct some_struct, values): Move earlier.
+ (marker4): Reference values.
+
+
+ * gdb.base/macscp.exp: Avoid the first FAIL if macro information
+ is missing.
+
+
+ * gdb.base/break.c (need_malloc): New.
+ * gdb.base/constvars.c (main): Reference crass and crisp.
+ * gdb.base/gdb1821.c (main): Reference bar.
+ * gdb.cp/gdb1355.cc (main): Reference s1.
+ * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
+ (main): Call them.
+ * gdb.cp/hang2.cc (dummy2): Define.
+ * gdb.cp/hang3.cc (dummy3): Define.
+ * gdb.cp/m-data.cc (main): Reference shadow.
+
+
+ * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
+ remote host.
+
+
+ * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
+ * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
+ * gdb.dwarf2/dw2-compressed.exp: Likewise.
+ * gdb.dwarf2/dw2-intercu.exp: Likewise.
+ * gdb.dwarf2/dw2-intermix.exp: Likewise.
+ * gdb.dwarf2/dw2-producer.exp: Likewise.
+ * gdb.dwarf2/mac-fileno.exp: Likewise.
+ * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
+ py-prettyprint.py to the remote host.
+ * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
+
+
+ * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
+ use it instead of "Foo".
+ * gdb.cp/classes.exp (do_tests): Add a test to access
+ a method through a typedef'd class name.
+
+
+ * gdb.base/long_long.exp: Permit leading zeros on floating-point
+ exponents.
+ * gdb.base/pointers.exp: Likewise.
+ * gdb.cp/ref-types.exp: Likewise.
+
+
+ * gdb.cp/cplusfuncs.cc (class foo): Add operators
+ new[] and delete[].
+ * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
+ "void".
+ (probe_demangler): Remove all single-quoting of
+ method and variable names.
+ (info_func_regexp): Remove the word "void" from any
+ occurrence of "(void)".
+ (print_addr_2): Remove all single-quoting of
+ method names.
+ (print_addr_2_kfail): Likewise.
+ (print_addr): Single-quote C function names before
+ passing to print_addr_2.
+ (test_paddr_operator_functions): Remove single-quoting
+ for method names.
+ Add tests for operator new[] and operator delete[].
+
+
+ * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
+
+
+ * gdb.cp/overload.exp: Add tests for resolving overloaded
+ methods in expression parsing/evaluation.
+
+
+ * lib/gdb.exp (default_gdb_version): Use --version instead of
+ --command.
+
+
+ * lib/gdb.exp (gdb_compile_test): New.
+ (skip_ada_tests, skip_java_tests): New.
+ (gdb_compile): Use gdb_compile_test for f77.
+ * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
+ * lib/java.exp (compile_java_from_source): Remove runtests check,
+ use gdb_compile_test to record result.
+ * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
+ gdb.ada/exec_changed.exp, gdb.ada/start.exp,
+ gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
+ gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
+ gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
+ gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
+ gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
+ gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
+ gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
+ adjust gdb_compile invocations.
+
+
+ * Makefile.in (abs_builddir): New.
+ (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
+ (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
+ `$(abs_builddir)/site.exp'.
+
+
+ * config/m68k-emc.exp, lib/emc-support.exp,
+ gdb.trace/gdb_c_test.c: Delete.
+ * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
+ gdb.trace/collection.exp, gdb.trace/deltrace.exp,
+ gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
+ gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
+ gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
+ gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
+ casing for m68k-*-elf.
+
+
+ * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
+ * gdb.arch/i386-prologue.exp: Likewise.
+ * gdb.arch/i386-unwind.exp: Likewise.
+
+
+ * lib/gdb.exp (gdb_expect): Fix timeout typo.
+
+
+ * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
+
+
+ * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
+
+
+ * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
+
+
+ * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
+ * gdb.base/sepdebug2.c: New file.
+
+
+ * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
+ the modified warnings for catch syscall. Verify if GDB was compiled
+ with support for lib expat, and choose which tests to run depending
+ on this.
+
+
+ * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
+ that composite commands are parsed OK. And also test
+ that breakpoint commands do work.
+
+
+ gdb.reverse/consecutive-precsave.exp: Change expect pattern
+ to allow for new disassembly style.
+
+
+ * gdb.asm/asm-source.exp: Adjust.
+
+
+ * gdb.reverse/break-precsave.exp: New test.
+ * gdb.reverse/consecutive-precsave.exp: Ditto.
+ * gdb.reverse/finish-precsave.exp: Ditto.
+ * gdb.reverse/i386-precsave.exp: Ditto.
+ * gdb.reverse/machinestate-precsave.exp: Ditto.
+ * gdb.reverse/sigall-precsave.exp: Ditto.
+ * gdb.reverse/solilb-precsave.exp: Ditto.
+ * gdb.reverse/step-precsave.exp: Ditto.
+ * gdb.reverse/until-precsave.exp: Ditto.
+ * gdb.reverse/watch-precsave.exp: Ditto.
+
+
+ * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
+ for gdb_expect. Adjust one test's expect strings for the new
+ format of disassemble.
+ * gdb.reverse/finish-reverse.exp: Delete 'return'.
+ * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
+ gdb_test_multiple.
+ * gdb.reverse/step-reverse.exp: Delete 'return'.
+ * gdb.reverse/until-reverse.exp: Delete blank lines.
+ * gdb.reverse/watch-reverse.exp: Delete blank lines.
+
+
+ * gdb.base/consecutive.exp: Adjust.
+ * gdb.base/display.exp: Likewise.
+ * gdb.base/pc-fp.exp: Likewise.
+ * gdb.base/sigbpt.exp: Likewise.
+
+
+ * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
+ * gdb.reverse/finish-reverse.c: Ditto.
+ * gdb.reverse/sigall-reverse.c: Ditto.
+ * gdb.reverse/solib-reverse.c: Ditto.
+ * gdb.reverse/step-reverse.c: Ditto.
+ * gdb.reverse/watch-reverse.c: Ditto.
+
+
+ * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
+ * gdb.base/foll-exec.exp: Adjust to expect a process id before
+ "Executing new program".
+ * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
+ * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
+ left listed after having been killed.
+ * gdb.base/attach.exp: Adjust to spell out "symbol-file".
+ * gdb.base/maint.exp: Adjust test.
+
+ * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
+ * gdb.multi/Makefile.in: New.
+ * gdb.multi/base.exp: New.
+ * gdb.multi/goodbye.c: New.
+ * gdb.multi/hangout.c: New.
+ * gdb.multi/hello.c: New.
+ * gdb.multi/bkpt-multi-exec.c: New.
+ * gdb.multi/bkpt-multi-exec.exp: New.
+ * gdb.multi/crashme.c: New.
+
+
+ * gdb.base/sepdebug.exp: Check debug info are found.
+
+
+ * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
+ bits.
+
+
+ * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
+
+
+ * gdb.base/watchpoints.c: Add copyright header. Reformat one
+ of the comments.
+
+
+ * gdb.base/annota1.exp: Remove obsolete match_max increase.
+ * gdb.base/annota3.exp: Idem.
+ * gdb.base/maint.exp: Idem.
+
+
+ * lib/gdb.exp (default_gdb_init): Set current value of match_max
+ to default.
+
+
+ * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
+ mingw and cygwin targets.
+
+
+ * lib/gdb.exp (gdb_compile): Avoid adding
+ gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
+
+
+ * gdb.base/shr1.c: Use %p in format string.
+ * gdb.base/unload.c: Avoid warning in fprintf.
+ * gdb.base/watchpoint-solib.c: Idem.
+
+
+ * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
+ long type.
+ (test_unlink): Correct printf string.
+ * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
+ * gdb.threads/attachstop-mt.c: Add #include <string.h>.
+
+
+ * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
+ * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
+ * gdb.arch/ia64-breakpoint-shadow.S: New file.
+
+
+ * gdb.objc/basicclass.exp: Disable pending breakpoint query.
+ * gdb.objc/nondebug.exp: Likewise.
+
+
+ * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
+ target_info setting.
+
+ * gdb.threads/thread-specific.exp (get_thread_list): Support targets
+ that detect new threads during "info threads".
+
* gdb.threads/manythreads.c (main): Increase thread stack size