aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2002-01-202002-01-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz6-32/+66
* gdb.c++/classes.exp: Update for improved v3 support and skipping artificial methods/arguments. * gdb.c++/derivation.exp: Likewise. * gdb.c++/inherit.exp: Likewise. * gdb.c++/method.exp: Likewise. * gdb.c++/virtfunc.exp: Likewise.
2002-01-19Mark testsuite/gdb.hp/gdb.threads-hp/ as obsolete.Andrew Cagney7-636/+645
2002-01-18* gdb.asm/asm-source.exp (info symbol): Take another shot atJim Blandy2-7/+17
anchoring the pattern matching the entry point symbol's name.
2002-01-17Change behavour of internal-error to quit and dump core by default.Andrew Cagney2-3/+8
2002-01-132002-01-13 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+23
* gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result for slightly dubious v2 mangled string.
2002-01-132002-01-13 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-2/+12
* gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2002-01-10 * gdb.c++/namespace.exp: Accept trailing const for 'this'.Jason Merrill6-63/+69
* gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy constructors. * gdb.c++/derivation.exp: Likewise. * gdb.c++/templates.exp: Likewise. * gdb.c++/virtfunc.exp: Likewise.
2002-01-102002-01-10 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* gdb.c++/namespace.exp: Accept both '\0' and '\000'.
2002-01-10update copyrightJason Merrill1-1/+1
2002-01-10 * gdb.c++/namespace.exp: '\0', not '\000'.Jason Merrill2-1/+5
2002-01-092002-01-08 Michael Snyder <msnyder@redhat.com>Michael Snyder4-0/+464
* gdb.base/gcore.exp: New test for generate-core-file command. * gdb.base/gcore.c: Testcase for above. * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2002-01-08 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.Jason Merrill2-1/+7
2002-01-08Approved by mec@shout.net.Fred Fish2-43/+29
2002-01-07 Fred Fish <fnf@redhat.com> * gdb.c++/overload.exp: Remove unconditional xfails for: print foo_instance1.overloadargs(1) print foo_instance1.overloadargs(1, 2) print foo_instance1.overloadargs(1, 2, 3) print foo_instance1.overloadargs(1, 2, 3, 4) print foo_instance1.overloadargs(1, 2, 3, 4, 5) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11) print foo_instance1.overload1arg() print foo_instance1.overload1arg((char)arg2) print foo_instance1.overload1arg((signed char)arg3) print foo_instance1.overload1arg((unsigned char)arg4) print foo_instance1.overload1arg((int)arg7) print foo_instance1.overload1arg((unsigned int)arg8) print foo_instance1.overload1arg((float)arg11) print foo_instance1.overload1arg((double)arg12)
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder3-0/+84
* gdb.base/huge.exp: New test. Print a very large target data object. (skip_huge_test): New test variable. Define if you want to skip this test. The test reads an 8 megabyte data object from the target, so it might be very time consuming on remote targets with a slow connection. * gdb.base/huge.c: New file. Test case for above.
2002-01-07Approved by med@shout.net:Fred Fish2-7/+6
2002-01-07 Fred Fish <fnf@redhat.com> * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo, g_instance.bfoo, and g_instance.cfoo.
2002-01-07 * gdb.base/break.c (multi_line_if_conditional): New function.Jeff Law3-1/+51
(multi_ilne_while_conditional): Likewise. * gdb.base/break.exp: Verify that a breakpoint on a multi-line IF or WHILE condition puts the breakpoint at the start of the condition.
2002-01-07 * gdb.base/selftest.exp (backtrace through signal handler): RemoveJeff Law4-10/+12
hppa*-*-hpux* expected failure. * gdb.base/structs.exp (do_function_calls): Similarly. * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware watchpoints.
2002-01-06Fix PR gdb/66.Andrew Cagney17-120/+158
* gdb.base/structs.exp: Replace skip for a29k with skip for gdb,cannot_call_functions. * gdb.base/call-ar-st.exp: Remove references to a29k in comments. * gdb.base/callfuncs.exp: Ditto. * gdb.base/call-rt-st.exp: Ditto. * gdb.base/call-strs.exp: Ditto. * gdb.base/callfwmall.exp: Ditto. * gdb.base/scope.exp: Obsolete xfail a29k. * gdb.c++/misc.exp: Ditto. * gdb.c++/cplusfuncs.exp: Ditto. * gdb.base/ptype.exp: Ditto. * gdb.base/printcmds.exp: Ditto. * gdb.base/opaque.exp: Ditto. * gdb.base/list.exp: Ditto. * gdb.base/funcargs.exp: Ditto. * gdb.base/default.exp: Ditto.
2002-01-052002-01-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+76
* gdb.base/info-proc.exp: New file, test for "info proc" cmd.
2002-01-052002-01-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+32
* gdb.base/maint.exp: Add tests for maint info sections options.
2001-12-21 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.Jeff Law2-2/+4
2001-12-21 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compilingJeff Law7-3/+81
with HP's compiler. * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise. * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise. * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise. * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise. * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with either HP's compilers or GCC.
2001-12-21 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get eitherJeff Law4-12/+26
a SIGBUS or SIGSEGV. * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command. * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test can be compiled with either HP's compiler or GCC.
2001-12-20 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.Jeff Law4-0/+13
* gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely. * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2001-12-20 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect stringsJeff Law15-61/+76
to match current gdb output. Update due to using auto-solib-limit for limiting instead of overloading auto-solib-add. * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the test program. * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*" * gdb.hp/gdb.base-hp/dollar.exp: Likewise * gdb.hp/gdb.base-hp/pxdb.exp: Likewise. * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise. * gdb.hp/gdb.base-hp/reg.exp: Likewise. * gdb.hp/gdb.compat/xdb3.exp: Likewise. * gdb.hp/gdb.defects/bs15503.exp: Likewise. * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise. * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise. * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
2001-12-20 * gdb.asm/arm.inc: New file.Corinna Vinschen5-0/+51
* gdb.asm/asm-source.exp: Add arm targets. * gdb.asm/configure.in: Ditto. * gdb.asm/configure: Recreated from configure.in.
2001-12-20 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"Jeff Law2-4/+6
2001-12-20 * gdb.base/annota1.exp: Expect failure for hpux11 when postingJeff Law2-0/+14
a SIGTRAP to the inferior.
2001-12-20 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.Corinna Vinschen2-2/+10
Substitute call to target_link by call to gdb_compile.
2001-12-19 * mi-var-display.exp: char* variables have a child. Update allKeith Seitz3-6/+12
occurences. * mi0-var-display.exp: Likewise.
2001-12-19 * gdb.base/break.exp: Fix HP specific search string when testingJeff Law4-3/+24
backtracing in a called function. * gdb.base/constvars.exp: Only set lang to C++ if we're compiling the test with HP's compilers. * gdb.base/volatile.exp: Similarly.
2001-12-19* gdb.base/printcmds.exp: Expect the null character to be printedJim Blandy4-8/+15
as '\0', and the '\013' to be printed as '\v'. * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same. * gdb.base/setvar.exp: Same.
2001-12-17* gdb.base/completion.exp: Rather than completing very longJim Blandy2-18/+47
filenames, which can make the readline library produce output we don't recognize, cd to the directory first, and then complete using nice, short relative paths.
2001-12-17* gdb.base/completion.exp: On some systems, there is, in fact, aJim Blandy2-39/+85
variable named `b' in scope, since GDB treats all static variables as being in scope. So use `no_var_named_this' instead of `b'.
2001-12-17* gdb.base/corefile.exp: Recognize the message saying that GDBJim Blandy2-0/+8
can't find the core file's registers as a failure.
2001-12-17Remove accidentally committed ChangeLog entries for callfuncs.exp.Jim Blandy1-9/+0
2001-12-13gdb/ChangeLogJackie Smith Cashion2-1/+6
2001-12-13 Jackie Smith Cashion <jsmith@redhat.com> * cli/cli-script.c (print_command_lines): Remove extra "if", "else", "while", and "end" from show user output. testsuite/ChangeLog 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com> * gdb.base/commands.exp (user_defined_command_test): Make "show user" test expect string more specific.
2001-12-13 * gdb.asm/asm-source.exp: Add support for xstormy16.Corinna Vinschen5-19/+56
* gdb.asm/configure.in: Ditto. * gdb.asm/configure: Rebuild. * gdb.asm/xstormy16.inc: New file.
2001-12-12Approved by Jim Blandy:Fred Fish2-1/+5
2001-12-11 Fred Fish <fnf@redhat.com> * gdbtypes.c (print_bound_type): New function. (recursive_dump_type): Print type struct code values TYPE_CODE_BITSTRING, TYPE_CODE_COMPLEX, TYPE_CODE_TEMPLATE, and TYPE_CODE_TEMPLATE_ARG. (recursive_dump_type): Print type struct members upper_bound_type, lower_bound_type, cv_type, and as_type. Also always print the tagname member, even when it is NULL. * testsuite/gdb.base/maint.exp: Update to match changes in type dumping code.
2001-12-10* gdb.asm/asm-source.exp (info symbol): Anchor the patternJim Blandy2-1/+10
matching the entry point symbol's name at the beginning of the line.
2001-12-07Fix botched patch.Daniel Jacobowitz1-1/+16
2001-12-07 * gdb.c++/classes.exp, gdb.c++/derivation.exp,Daniel Jacobowitz9-39/+113
gdb.c++/inherit.exp, gdb.c++/method.exp, gdb.c++/namespace.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler and class layout support.
2001-12-07 * gdb.c++/classes.exp: Add test for static member function.Daniel Jacobowitz3-0/+29
* gdb.c++/misc.cc: Add class with static member function.
2001-12-07If GDB says it can't find the struct the function returned, reportJim Blandy2-86/+51
those tests as `unsupported'. * gdb.base/call-rt-st.exp (print_struct_call): New function. Rewrite subsequent tests to use it.
2001-12-07If GDB says it can't find the struct the function returned, reportJim Blandy2-13/+45
those tests as `unsupported'. * gdb.base/structs.exp (call_struct_func): New function. (do_function_calls): Use call_struct_func to call the functions returning structs.
2001-12-07* gdb.base/callfuncs.exp: The stabs generated by GCC don't tell usJim Blandy2-0/+14
whether functions are prototyped or not, so we can't possibly pass arguments to t_float_values2 properly.
2001-12-07* gdb.base/break.exp: (test_next_with_recursion): Don't change theJim Blandy2-2/+26
value of `timeout' for targets other than the mips*tx39-*.
2001-12-072001-12-06 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+41
* gdb.asm/asm-source.exp: Add tests for info target, info symbol, and detect whether the start symbol has a leading underscore.
2001-12-042001-11-30 Michael Snyder <msnyder@redhat.com>Michael Snyder7-3/+121
* gdb.asm/asm-source.exp: Add tests for list, search, finish, return, next, info source, info sources, info line, global and static variables, and static functions. * gdb.asm/common.inc: New macro gdbasm_datavar (default definition). * gdb.asm/i386.inc: Override default definition of gdbasm_datavar. * gdb.asm/asmsrc1.s: Add a static function and some variables. * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next'). * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer. (gdbasm_leave): Restore frame pointer. (gdbasm_startup): Copy stack set-up from crt0.S.
2001-12-04* gdb.base/completion.exp: Clarify indentation.Jim Blandy2-11/+24