aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
AgeCommit message (Collapse)AuthorFilesLines
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
2001-12-03* gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'Jim Blandy2-0/+12
variables on the S/390, not `.word'.
2001-12-01Add assembly-source tests for s390-ibm-linux.Jim Blandy5-8/+100
* gdb.asm/s390.inc: New file. * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for the S/390 architecture. * gdb.asm/configure: Regenerated.
2001-11-30Fix typo.Michael Snyder1-1/+1
2001-11-272001-11-21 Michael Snyder <msnyder@redhat.com>Michael Snyder5-0/+46
* gdb.asm/sparc.inc: New file. * gdb.asm/asm-source.exp: Recognize sparc target. * gdb.asm/configure.in: Recognize sparc target. * gdb.asm/configure: Regenerate.
2001-11-262001-11-26 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-4/+24
From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>: * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer to a local (non-static) variable. Copy tstruct.a to a static buffer and return a pointer to that buffer. * gdb.base/callfwmall.c (t_structs_a): Ditto.
2001-11-262001-11-26 Fernando Nasser <fnasser@redhat.com>Fernando Nasser1-0/+8
From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>: * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer to a local (non-static) variable. Copy tstruct.a to a static buffer and return a pointer to that buffer. * gdb.base/callfwmall.c (t_structs_a): Ditto.
2001-11-24* gdb.asm/configure.in: Fix recognition of ix86 target.Mark Kettenis3-2/+7
* gdb.asm/configure: Regenerate.
2001-11-222001-11-21 Michael Snyder <msnyder@redhat.com>Michael Snyder5-9/+59
* gdb.asm/m32r.inc: New file. * gdb.asm/asm-source.exp: Recognize m32r target. * gdb.asm/configure.in: Recognize m32r target. * gdb.asm/configure: Regenerate.
2001-11-222001-11-20 Michael Snyder <msnyder@redhat.com>Michael Snyder5-0/+42
* gdb.asm/i386.inc: New file. * gdb.asm/asm-source.exp: Recognize ix86 target. * gdb.asm/configure.in: Recognize ix86 target. * gdb.asm/configure: Regenerate.
2001-11-212001-11-20 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+7
* gdb.c++/namespace.exp: Fix quotes in output messages.
2001-11-212001-11-14 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+401
* gdb.base/code-exprs.exp: New file. Tests use of the "@code" qualifier in a type cast expression, to designate an address in the instruction space (Harvard architecture).
2001-11-152001-11-13 Michael Snyder <msnyder@redhat.com>Michael Snyder3-0/+795
* gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files. Tests for expressions using 'const' and 'volatile'.
2001-11-14 * gdb.asm/asm-sources.exp: Allow defining linker flags.Corinna Vinschen2-1/+6
2001-11-132001-11-07 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+8
* gdb.c++/templates.exp (test_template_breakpoints): If we get an overload menu, but it does not match what we expect, we still need to issue the "cancel" command.
2001-11-132001-11-07 Michael Snyder <msnyder@redhat.com>Michael Snyder2-9/+12
* gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*", making the whitespace optional. Argument for "new" may be "unsigned" as well as "unsigned int/long".
2001-11-12 * lib/mi-support.exp (mi_run_to_helper): Move commentsDaniel Jacobowitz2-6/+8
outside of gdb_expect.
2001-11-11 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,Daniel Jacobowitz6-281/+160
mi_step_to, mi_next_to, mi_continue_to, mi_finish_to, mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to, mi0_run_to): New functions. * gdb.mi/mi-simplerun.exp: Use them. * gdb.mi/mi0-simplerun.exp: Likewise. * gdb.mi/mi-var-cmd.exp: Likewise. * gdb.mi/mi0-var-cmd.exp: Likewise.
2001-11-11 Change target name from stormy16 to xstormy16.Corinna Vinschen1-2/+2
2001-11-10* gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.Andrew Cagney4-19/+24
* gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2001-11-10* gdb.asm/asm-source.exp: Supress file, instead of skip, when notAndrew Cagney2-1/+6
implemented.
2001-11-10* gdb.asm/asm-source.exp: Supress file, instead of skip, when notAndrew Cagney2-2/+6
implemented.