+
+ * 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
+ to 2*PTHREAD_STACK_MIN.
+ * gdb.threads/multi-create.c (main): Likewise.
+ (create_function): Likewise.
+
+
+ * gdb.base/dump.exp: Pass difference of pointer types instead
+ of integer types as offset to restore in intarr3.srec case.
+
+
+ * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
+
+
+ * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
+
+
+ New test for two watchpoints, with disabling of
+ the first inserted.
+ * testsuite/gdb.base/watchpoints.c: New file.
+ * testsuite/gdb.base/watchpoints.exp: New file.
+
+
+ * gdb.base/charset.exp: Test utf-16 strings with Python.
+
+
+ * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
+ UCS-4.
+ * gdb.base/charset.c (utf_32_string): Rename.
+ (init_utf32): Rename.
+ (main): Update.
+
+
+ * gdb.python/py-function.exp: Add regression tests.
+
+
+ * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
+ with invalid operator.
+
+
+ * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
+ and destructor using typedef name of class.
+ * gdb.cp/classes.cc (class Base1): Add a destructor.
+ (base1): New typedef.
+ (use_methods): Instanitate an object of type base1.
+ * gdb.cp/templates.exp (test_template_typedef): New procedure.
+ (do_tests): Call test_template_typedef.
+ * gdb.cp/templates.cc (Baz::~Baz): New method.
+ (intBazOne): New typedef.
+ (main): Instantiate intBazOne.
+
+
+ PR python/10633
+
+ * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
+ Function.
+ (run_lang_tests): Add print elements test.
+
+
+ * gdb.python/py-value.exp (test_subscript_regression): New
+ function. Test for invalid subscripts.
+ * gdb.python/py-value.c (main): Add test array, and pointer to it.
+ (ptr_ref): New function.
+
+
+ * gdb.base/default.exp: Fix "show convenience".
+
+
+ * lib/mi-support.exp (mi_create_varobj): Update.
+ (mi_create_floating_varobj): Likewise.
+ (mi_create_dynamic_varobj): New proc.
+ (mi_varobj_update): Update.
+ (mi_varobj_update_with_type_change): Likewise.
+ (mi_varobj_update_kv_helper): New proc.
+ (mi_varobj_update_dynamic_helper): Rewrite.
+ (mi_varobj_update_dynamic): New proc.
+ (mi_list_varobj_children): Update.
+ (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
+ * gdb.python/python-prettyprint.py (pp_outer): New class.
+ (pp_nullstr): Likewise.
+ (lookup_function): Register new printers.
+ * gdb.python/python-prettyprint.c (struct substruct): New type.
+ (struct outerstruct): Likewise.
+ (substruct_test): New function.
+ (struct nullstr): New type.
+ (string_1, string_2): New globals.
+ (main): Add new tests.
+ * gdb.python/python-mi.exp: Added regression tests.
+ * gdb.mi/mi2-var-display.exp: Update.
+ * gdb.mi/mi2-var-cmd.exp: Update.
+ * gdb.mi/mi2-var-child.exp: Update.
+ * gdb.mi/mi2-var-block.exp: Update.
+ * gdb.mi/mi-var-invalidate.exp: Update.
+ * gdb.mi/mi-var-display.exp: Update.
+ * gdb.mi/mi-var-cmd.exp: Update.
+ * gdb.mi/mi-var-child.exp: Update.
+ * gdb.mi/mi-var-block.exp: Update.
+ * gdb.mi/mi-break.exp: Update.
+ * gdb.mi/gdb701.exp: Update.
+
+
+ * Makefile.in: Inclusion of catch-syscall object.
+ * gdb.base/catch-syscall.c: New file.
+ * gdb.base/catch-syscall.exp: New file.
+
+
+ * gdb.reverse/step-reverse.exp: Explicitly check for targets
+ that can support reverse debuggnig.
+
+
+ * gdb.dwarf2/valop.S: New file.
+ * gdb.dwarf2/valop.exp: New file.
+
+
+ * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
+
+
+ * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
+ Add $gdb_prompt to second breakpoint regexp.
+
+
+ * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
+ names, add missing ones.
+ * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
+ * gdb.python/py-frame.c: Rename from python-frame.c.
+ * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
+ testfile name.
+ * gdb.python/py-function.exp: Rename from python-function.exp.
+ * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
+ testfile name.
+ * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
+ * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
+ Adjust testfile name.
+ * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
+ * gdb.python/py-template.cc: Rename from python-template.cc.
+ * gdb.python/py-template.exp: Rename from python-template.exp.
+ Adjust testfile name.
+ * gdb.python/py-value.c: Rename from python-value.c.
+ * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
+ testfile name.
+
+
+ * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
+ $bpt2address.
+ (Second breakpoint address is valid on ia64)
+ (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
+
+
+ * gdb.base/ending-run.exp: Restrict regular expression matching
+ line number to require closing brace following.
+
+
+ * gdb.base/store.exp (check_set): Fix typo in expected value message.
+
+
+ * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
+
+
+ * gdb.dwarf2/callframecfa.exp: New file.
+ * gdb.dwarf2/callframecfa.S: New file.
+
+
+ * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
+ gdb.base/solib-overlap-main.c: New.
+
+
+ PR gdb/10565
+
+ * gdb.base/bitfields.c (struct container, container): New.
+ (main): Initialize it and call break5.
+ * gdb.base/bitfields.exp (bitfield_at_offset): New test.
+
+
+ Support constant DW_AT_data_member_location by GCC PR debug/40659.
+ * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
+
+
+ * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
+
+
+ * gdb.base/i386-reverse.c: New file.
+ * gdb.base/i386-reverse.exp: New file.
+ * gdb.base/Makefile.in: Add new files to be removed.
+
+
+ * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
+ environment-pwd for remote host.
+ * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
+
+
+ * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
+ Add two new C++ completer tests which limit the output to a
+ given class.
+
+
+ * gdb.base/del.exp: Fix typo in comment.
+ * gdb.base/step-bt.exp: Fix cut and paste error in comment.
+
+
+ * configure: Regenerate.
+ * gdb.hp/configure: Likewise.
+ * gdb.hp/gdb.aCC/configure: Likewise.
+ * gdb.hp/gdb.base-hp/configure: Likewise.
+ * gdb.hp/gdb.compat/configure: Likewise.
+ * gdb.hp/gdb.defects/configure: Likewise.
+ * gdb.hp/gdb.objdbg/configure: Likewise.
+ * gdb.stabs/configure: Likewise.
+
+
+ * gdb.base/gdbvars.c: New file.
+ * gdb.base/gdbvars.exp: Test convenience vars with program variables.
+
+
+ * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
+ gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
+
+
+ * gdb.base/default.exp: Adjust "set language test": it's now an
+ enum command. Larger help string moved to "help set language".
+ * gdb.base/help.exp: Adjust "help set language" expected output,
+ now lists all known languages.
+
+
+ * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
+ all frame arguments.
+ * gdb.arch/altivec-regs.exp: Likewise.
+
+
+ * gdb.base/setshow.exp: Add tests for changes to set language, set
+ check range, and set check type.
+
+
+ * lib/mi-support.exp (mi_list_breakpoints): Make it work.
+ * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
+ Call it.
+
+
+ * configure.ac: Run gdb.cell tests when appropriate.
+ * configure: Regenerate.
+ * lib/cell.exp: New file.
+ * gdb.cell: New directory.
+ * gdb.cell/configure.ac: New file.
+ * gdb.cell/configure: New file.
+ * gdb.cell/Makefile.in: New file.
+ * gdb.cell/arch.exp: New file.
+ * gdb.cell/break.c: New file.
+ * gdb.cell/break.exp: New file.
+ * gdb.cell/break-spu.c: New file.
+ * gdb.cell/bt.c: New file.
+ * gdb.cell/bt2-spu.c: New file.
+ * gdb.cell/bt-spu.c: New file.
+ * gdb.cell/bt.exp: New file.
+ * gdb.cell/coremaker.c: New file.
+ * gdb.cell/coremaker-spu.c: New file.
+ * gdb.cell/core.exp: New file.
+ * gdb.cell/gcore.exp: New file.
+ * gdb.cell/data.c: New file.
+ * gdb.cell/data.exp: New file.
+ * gdb.cell/data-spu.c: New file.
+ * gdb.cell/ea-cache.exp: New file.
+ * gdb.cell/ea-cache.c: New file.
+ * gdb.cell/ea-cache-spu.c: New file.
+ * gdb.cell/ea-standalone.c: New file.
+ * gdb.cell/ea-standalone.exp: New file.
+ * gdb.cell/ea-test.c: New file.
+ * gdb.cell/ea-test.exp: New file.
+ * gdb.cell/f-regs.exp: New file.
+ * gdb.cell/mem-access.c: New file.
+ * gdb.cell/mem-access.exp: New file.
+ * gdb.cell/mem-access-spu.c: New file.
+ * gdb.cell/ptype.exp: New file.
+ * gdb.cell/registers.exp: New file.
+ * gdb.cell/size.c: New file.
+ * gdb.cell/sizeof.exp: New file.
+ * gdb.cell/size-spu.c: New file.
+ * gdb.cell/solib.exp: New file.
+ * gdb.cell/solib-symbol.exp: New file.
+
+
+ * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
+
+
+ * gdb.base/float.exp: Handle VFP registers.
+
+
+ * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
+ to bring gdb to the beginning of the calling line.
+
+ * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
+ confusing the i386 epilogue unwinder.
+
+
+ * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
+
+
+ * gdb.reverse/step-reverse.exp (stepi into function call):
+ Call instruction may not be first instruction in the line.
+ (reverse stepi from a function call): Used wrong line number.
+
+
+ * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
+
+
+ Fix gdb.base/macscp.exp when using custom inputrc.
+ * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
+ * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
+ env(TERM) set.
+ * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
+ * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
+
+
+ Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
+ * gdb.base/annota1.exp (thread_test): Import global $testfile.
+ Change the compilation target to match the testcase name.
+ * gdb.base/sect-cmd.exp: Change the compilation target to match the
+ testcase name.
+ * a2-run.exp: Use for setup prepare_for_testing. Change the
+ compilation target to match the testcase name.
+ * gdb.base/commands.exp: Likewise.
+ * gdb.base/finish.exp: Likewise.
+ * gdb.base/float.exp: Likewise.
+ * gdb.base/info-target.exp: Likewise.
+ * gdb.base/relational.exp: Likewise.
+ * gdb.base/term.exp: Likewise.
+ * gdb.base/until.exp: Likewise.
+ * gdb.base/volatile.exp: Likewise.
+ * gdb.base/whatis-exp.exp: Likewise.
+
+
+ * gdb.base/help.exp (disassemble): Update expected help text.
+
+
+ * lib/gdb.exp: Handle TRANSCRIPT.
+ (remote_spawn, remote_close, send_gdb): New procs.
+
+
+ * gdb.python/python-prettyprint.c: Add counted null string
+ structure.
+ * gdb.python/python-prettyprint.exp: Print null string. Test for
+ embedded nulls.
+ * gdb.python/python-prettyprint.py (pp_ns): New Function.
+ * gdb.python/python-value.exp (test_value_in_inferior): Add
+ variable length string fetch tests.
+ * gdb.python/python-value.c (main): Add strings for string fetch tests.
+
+
+ * gdb.base/dump.exp (inaccessible memory is reported): New test.
+
+
+ * gdb.base/call-rt-st.exp: Update for change to escape output.
+ * gdb.base/callfuncs.exp: Likewise.
+ * gdb.base/charset.exp: Likewise.
+ * gdb.base/constvars.exp: Likewise.
+ * gdb.base/long_long.exp: Likewise.
+ * gdb.base/pointers.exp: Likewise.
+ * gdb.base/printcmds.exp: Likewise.
+ * gdb.base/setvar.exp: Likewise.
+ * gdb.base/store.exp: Likewise.
+ * gdb.cp/ref-types.exp: Likewise.
+ * gdb.mi/mi-var-child.exp: Likewise.
+ * gdb.mi/mi-var-display.exp: Likewise.
+ * gdb.mi/mi2-var-display.exp: Likewise.
+ * gdb.base/charset.exp: Test octal escape sequence length.
+ Update for change to escape output.
+
+
+ * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
+
+
+ * lib/java.exp (java_init): Ignore $GCJ if it is empty.
+
* lib/gdbserver-support.exp (gdbserver_start): Loop spawning