aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/structs.exp
AgeCommit message (Collapse)AuthorFilesLines
2008-01-01 Updated copyright notices for most files.Daniel Jacobowitz1-1/+2
2007-08-23 Switch the license of all .exp files to GPLv3.Joel Brobecker1-5/+4
Switch the license of all .f and .f90 files to GPLv3. Switch the license of all .s and .S files to GPLv3.
2007-01-09Copyright updates for 2007.Daniel Jacobowitz1-1/+1
2006-08-10 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file withJoel Brobecker1-1/+2
untested followed by return combination. * gdb.arch/altivec-regs.exp: Likewise. * gdb.arch/e500-abi.exp: Likewise. * gdb.arch/e500-regs.exp: Likewise. * gdb.arch/gdb1291.exp: Likewise. * gdb.arch/gdb1431.exp: Likewise. * gdb.arch/gdb1558.exp: Likewise. * gdb.arch/i386-prologue.exp: Likewise. * gdb.arch/i386-unwind.exp: Likewise. * gdb.asm/asm-source.exp: Likewise. * gdb.base/a2-run.exp: Likewise. * gdb.base/advance.exp: Likewise. * gdb.base/all-bin.exp: Likewise. * gdb.base/annota1.exp: Likewise. * gdb.base/annota3.exp: Likewise. * gdb.base/args.exp: Likewise. * gdb.base/arithmet.exp: Likewise. * gdb.base/assign.exp: Likewise. * gdb.base/async.exp: Likewise. * gdb.base/attach.exp: Likewise. * gdb.base/bang.exp: Likewise. * gdb.base/bigcore.exp: Likewise. * gdb.base/bitfields.exp: Likewise. * gdb.base/bitfields2.exp: Likewise. * gdb.base/break.exp: Likewise. * gdb.base/call-sc.exp: Likewise. * gdb.base/call-strs.exp: Likewise. * gdb.base/callfuncs.exp: Likewise. * gdb.base/checkpoint.exp: Likewise. * gdb.base/chng-syms.exp: Likewise. * gdb.base/code-expr.exp: Likewise. * gdb.base/commands.exp: Likewise. * gdb.base/completion.exp: Likewise. * gdb.base/cond-expr.exp: Likewise. * gdb.base/condbreak.exp: Likewise. * gdb.base/consecutive.exp: Likewise. * gdb.base/constvars.exp: Likewise. * gdb.base/corefile.exp: Likewise. * gdb.base/cvexpr.exp: Likewise. * gdb.base/dbx.exp: Likewise. * gdb.base/define.exp: Likewise. * gdb.base/detach.exp: Likewise. * gdb.base/display.exp: Likewise. * gdb.base/dump.exp: Likewise. * gdb.base/ena-dis-br.exp: Likewise. * gdb.base/ending-run.exp: Likewise. * gdb.base/environ.exp: Likewise. * gdb.base/eval-skip.exp: Likewise. * gdb.base/exprs.exp: Likewise. * gdb.base/fileio.exp: Likewise. * gdb.base/finish.exp: Likewise. * gdb.base/float.exp: Likewise. * gdb.base/foll-exec.exp: Likewise. * gdb.base/foll-fork.exp: Likewise. * gdb.base/foll-vfork.exp: Likewise. * gdb.base/freebpcmd.exp: Likewise. * gdb.base/funcargs.exp: Likewise. * gdb.base/gcore.exp: Likewise. * gdb.base/gdb1090.exp: Likewise. * gdb.base/gdb1250.exp: Likewise. * gdb.base/huge.exp: Likewise. * gdb.base/info-proc.exp: Likewise. * gdb.base/interrupt.exp: Likewise. * gdb.base/jump.exp: Likewise. * gdb.base/langs.exp: Likewise. * gdb.base/lineinc.exp: Likewise. * gdb.base/list.exp: Likewise. * gdb.base/logical.exp: Likewise. * gdb.base/long_long.exp: Likewise. * gdb.base/macscp.exp: Likewise. * gdb.base/maint.exp: Likewise. * gdb.base/mips_pro.exp: Likewise. * gdb.base/miscexprs.exp: Likewise. * gdb.base/multi-forks.exp: Likewise. * gdb.base/opaque.exp: Likewise. * gdb.base/overlays.exp: Likewise. * gdb.base/pc-fp.exp: Likewise. * gdb.base/pointers.exp: Likewise. * gdb.base/printcmds.exp: Likewise. * gdb.base/psymtab.exp: Likewise. * gdb.base/ptype.exp: Likewise. * gdb.base/recurse.exp: Likewise. * gdb.base/relational.exp: Likewise. * gdb.base/relocate.exp: Likewise. * gdb.base/remote.exp: Likewise. * gdb.base/reread.exp: Likewise. * gdb.base/restore.exp: Likewise. * gdb.base/return.exp: Likewise. * gdb.base/return2.exp: Likewise. * gdb.base/scope.exp: Likewise. * gdb.base/sect-cmd.exp: Likewise. * gdb.base/sep.exp: Likewise. * gdb.base/sepdebug.exp: Likewise. * gdb.base/setshow.exp: Likewise. * gdb.base/setvar.exp: Likewise. * gdb.base/sigall.exp: Likewise. * gdb.base/sigbpt.exp: Likewise. * gdb.base/signals.exp: Likewise. * gdb.base/signull.exp: Likewise. * gdb.base/sizeof.exp: Likewise. * gdb.base/solib.exp: Likewise. * gdb.base/step-line.exp: Likewise. * gdb.base/step-test.exp: Likewise. * gdb.base/structs.exp: Likewise. * gdb.base/structs2.exp: Likewise. * gdb.base/term.exp: Likewise. * gdb.base/twice.exp: Likewise. * gdb.base/until.exp: Likewise. * gdb.base/varargs.exp: Likewise. * gdb.base/volatile.exp: Likewise. * gdb.base/watchpoint.exp: Likewise. * gdb.base/whatis-exp.exp: Likewise. * gdb.base/whatis.exp: Likewise. * gdb.cp/ambiguous.exp: Likewise. * gdb.cp/annota2.exp: Likewise. * gdb.cp/annota3.exp: Likewise. * gdb.cp/bool.exp: Likewise. * gdb.cp/breakpoint.exp: Likewise. * gdb.cp/casts.exp: Likewise. * gdb.cp/class2.exp: Likewise. * gdb.cp/classes.exp: Likewise. * gdb.cp/cplusfuncs.exp: Likewise. * gdb.cp/ctti.exp: Likewise. * gdb.cp/derivation.exp: Likewise. * gdb.cp/exception.exp: Likewise. * gdb.cp/gdb1355.exp: Likewise. * gdb.cp/hang.exp: Likewise. * gdb.cp/inherit.exp: Likewise. * gdb.cp/local.exp: Likewise. * gdb.cp/m-data.exp: Likewise. * gdb.cp/m-static.exp: Likewise. * gdb.cp/member-ptr.exp: Likewise. * gdb.cp/method.exp: Likewise. * gdb.cp/misc.exp: Likewise. * gdb.cp/namespace.exp: Likewise. * gdb.cp/overload.exp: Likewise. * gdb.cp/ovldbreak.exp: Likewise. * gdb.cp/pr-1023.exp: Likewise. * gdb.cp/pr-1210.exp: Likewise. * gdb.cp/pr-574.exp: Likewise. * gdb.cp/printmethod.exp: Likewise. * gdb.cp/psmang.exp: Likewise. * gdb.cp/ref-params.exp: Likewise. * gdb.cp/ref-types.exp: Likewise. * gdb.cp/rtti.exp: Likewise. * gdb.cp/templates.exp: Likewise. * gdb.cp/try_catch.exp: Likewise. * gdb.cp/userdef.exp: Likewise. * gdb.cp/virtfunc.exp: Likewise. * gdb.disasm/am33.exp: Likewise. * gdb.disasm/h8300s.exp: Likewise. * gdb.disasm/mn10300.exp: Likewise. * gdb.disasm/sh3.exp: Likewise. * gdb.disasm/t01_mov.exp: Likewise. * gdb.disasm/t02_mova.exp: Likewise. * gdb.disasm/t03_add.exp: Likewise. * gdb.disasm/t04_sub.exp: Likewise. * gdb.disasm/t05_cmp.exp: Likewise. * gdb.disasm/t06_ari2.exp: Likewise. * gdb.disasm/t07_ari3.exp: Likewise. * gdb.disasm/t08_or.exp: Likewise. * gdb.disasm/t09_xor.exp: Likewise. * gdb.disasm/t10_and.exp: Likewise. * gdb.disasm/t11_logs.exp: Likewise. * gdb.disasm/t12_bit.exp: Likewise. * gdb.disasm/t13_otr.exp: Likewise. * gdb.hp/gdb.aCC/optimize.exp: Likewise. * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise. * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise. * gdb.hp/gdb.base-hp/dollar.exp: Likewise. * gdb.hp/gdb.base-hp/hwwatchbus.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.base-hp/sized-enum.exp: Likewise. * gdb.hp/gdb.compat/xdb1.exp: Likewise. * gdb.hp/gdb.compat/xdb3.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.objdbg/objdbg04.exp: Likewise. * gdb.mi/gdb701.exp: Likewise. * gdb.mi/gdb792.exp: Likewise. * gdb.mi/mi-basics.exp: Likewise. * gdb.mi/mi-break.exp: Likewise. * gdb.mi/mi-cli.exp: Likewise. * gdb.mi/mi-console.exp: Likewise. * gdb.mi/mi-disassemble.exp: Likewise. * gdb.mi/mi-eval.exp: Likewise. * gdb.mi/mi-file.exp: Likewise. * gdb.mi/mi-read-memory.exp: Likewise. * gdb.mi/mi-regs.exp: Likewise. * gdb.mi/mi-return.exp: Likewise. * gdb.mi/mi-simplerun.exp: Likewise. * gdb.mi/mi-stack.exp: Likewise. * gdb.mi/mi-stepi.exp: Likewise. * gdb.mi/mi-syn-frame.exp: Likewise. * gdb.mi/mi-until.exp: Likewise. * gdb.mi/mi-var-block.exp: Likewise. * gdb.mi/mi-var-child.exp: Likewise. * gdb.mi/mi-var-cmd.exp: Likewise. * gdb.mi/mi-var-display.exp: Likewise. * gdb.mi/mi-watch.exp: Likewise. * gdb.mi/mi2-basics.exp: Likewise. * gdb.mi/mi2-break.exp: Likewise. * gdb.mi/mi2-cli.exp: Likewise. * gdb.mi/mi2-console.exp: Likewise. * gdb.mi/mi2-disassemble.exp: Likewise. * gdb.mi/mi2-eval.exp: Likewise. * gdb.mi/mi2-file.exp: Likewise. * gdb.mi/mi2-read-memory.exp: Likewise. * gdb.mi/mi2-regs.exp: Likewise. * gdb.mi/mi2-return.exp: Likewise. * gdb.mi/mi2-simplerun.exp: Likewise. * gdb.mi/mi2-stack.exp: Likewise. * gdb.mi/mi2-stepi.exp: Likewise. * gdb.mi/mi2-syn-frame.exp: Likewise. * gdb.mi/mi2-until.exp: Likewise. * gdb.mi/mi2-var-block.exp: Likewise. * gdb.mi/mi2-var-child.exp: Likewise. * gdb.mi/mi2-var-cmd.exp: Likewise. * gdb.mi/mi2-var-display.exp: Likewise. * gdb.mi/mi2-watch.exp: Likewise. * gdb.stabs/exclfwd.exp: Likewise. * gdb.stabs/weird.exp: Likewise. * gdb.threads/gcore-thread.exp: Likewise. * gdb.trace/actions.exp: Likewise. * gdb.trace/backtrace.exp: Likewise. * gdb.trace/circ.exp: Likewise. * gdb.trace/collection.exp: Likewise. * gdb.trace/deltrace.exp: Likewise. * gdb.trace/infotrace.exp: Likewise. * gdb.trace/limits.exp: Likewise. * gdb.trace/packetlen.exp: Likewise. * gdb.trace/passc-dyn.exp: Likewise. * gdb.trace/passcount.exp: Likewise. * gdb.trace/report.exp: Likewise. * gdb.trace/save-trace.exp: Likewise. * gdb.trace/tfind.exp: Likewise. * gdb.trace/tracecmd.exp: Likewise. * gdb.trace/while-dyn.exp: Likewise. * gdb.trace/while-stepping.exp: Likewise.
2005-10-122005-10-12 Jim Blandy <jimb@redhat.com>Jim Blandy1-13/+51
* gdb.base/structs.exp (any): New function. (test_struct_returns): Don't make any assumptions at all about what value the function returns when GDB can't set the return value.
2004-06-102004-06-10 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-4/+4
* lib/compiler.cc, lib/compiler.c: Append either __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info. * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-* instead of gcc-3-3.
2004-06-092004-06-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-2/+4
* gdb.base/structs.exp (test_struct_calls): Fix KFAIL for gdb/1455, bug is specific to "long long" and "double".
2004-06-092004-06-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-24/+0
* gdb.base/structs.exp (test_struct_returns, test_struct_returns) (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*, x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447 fixed.
2004-06-092004-06-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-36/+34
* gdb.base/structs.exp (test_struct_returns): Replace "return_value_unknown" and "finish_value_unknown" by "return_value_known" and "finish_value_known". Instead of "return_value_unknown" iff "finish_value_unknown", check "return_value_known" implies "finish_value_known".
2004-01-04* gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 forMark Kettenis1-0/+6
x86_64-*-*.
2004-01-04* gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 forMark Kettenis1-1/+13
sparc64-*-* and sparc*-solaris2*.
2004-01-03* gdb.base/structs.exp: Remove ${testfile} from "zed L<n> forMark Kettenis1-1/+1
return ${tests}" test. The ${tests} already mentions the filename.
2003-12-172003-12-16 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain1-0/+1
* gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
2003-12-062003-12-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-3/+13
* gdb.base/structs.exp (test_struct_returns): When applicable, set "return_value_unimplemented". When an unimplemented struct return architecture, report incorrect values as a KFAIL
2003-11-27* gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as aMark Kettenis1-8/+8
pattern for the KFAILs.
2003-11-232003-11-23 Michael Chastain <mec@shout.net>Michael Chastain1-0/+3
Fix PR testsuite/1463. * gdb.base/structs.exp (start_structs_test): Call get_debug_format before using the debug format.
2003-11-232003-11-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-63/+5
* lib/gdb.exp (gdb_test_multiple): Add simple example. * gdb.base/structs.exp: Use gdb_test_multiple.
2003-11-202003-11-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-2/+25
* gdb.base/structs.exp: Handle and recover from internal errors. Replace "foo${n}" with "foo<n>" in test messages.
2003-11-202003-11-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-113/+635
* gdb.base/structs.exp: Update copyright. Rewrite. * gdb.base/structs.c: Update copyright. Rewrite.
2003-11-17Oops, accidental commit, reverting.Andrew Cagney1-626/+113
2003-11-172003-11-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-113/+626
* lib/gdb.exp (compiler_info): New global. (test_compiler_info): New function. (get_compiler_info): Set compiler_info. * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set "compiler_info" to gcc-<major>-<minor>.
2002-01-07 * gdb.base/selftest.exp (backtrace through signal handler): RemoveJeff Law1-9/+0
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 Cagney1-4/+6
* 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.
2001-12-07If GDB says it can't find the struct the function returned, reportJim Blandy1-13/+39
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-03-06Update/correct copyright notices.Kevin Buettner1-1/+1
1999-08-02import gdb-1999-08-02 snapshotJason Molenda1-3/+3
1999-06-28import gdb-1999-06-28 snapshotJason Molenda1-0/+148
1999-04-16Initial creation of sourceware repositoryStan Shebs1-147/+0
1997-02-24 * config/vr4300.exp: New file.Bob Manson1-10/+3
* gdb.*/*.exp: Call gdb_expect instead of expect. * lib/gdb.exp(gdb_expect): New function.
1997-02-12 * gdb.base/structs.exp: Expect some failures from the mn10200 port.Jeff Law1-0/+7
I don't want to deal with this for the alpha!
1997-02-06 * gdb.base/nodebug.exp: Don't try to do an inferior functionJeff Law1-0/+6
call if the target doesn't support them. * gdb.base/printcmds.exp: Likewise. * gdb.base/setvar.exp: Likewise. * gdb.base/structs.exp: Likewise. * gdb.c++/templates.exp: Likewise. * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff. * gdb.base/recurse.exp: Enable for the mn10200. * configure.in: Do configure gdb.stabs directory for *-*-elf targets. * configure: Rebuilt.
1997-02-02 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.Bob Manson1-4/+4
* gdb.base/scope.exp: Use gdb_test. * gdb.c++/classes.exp: Ditto. * gdb.c++/inherit.exp: Ditto. More random cleanups. Still lots to go, however.
1997-01-29Major revision to testsuites for cross-testing and DOS testing support.Bob Manson1-25/+9
1996-08-12 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine toFred Fish1-0/+4
encapsulate all the steps/nexts done during self test, starting at main, and makes them less sensitive to optimization issues. Add "hppa*-*-hpux*" to setup_xfail for "backtrace through signal handler" test. * gdb.threads/pthreads.exp: Only run this for native configs. * gdb.base/signals.exp (test_handle_all_print): Remove code that increased timeouts, it now makes no difference. * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*" setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8" tests. gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail for "runto test_calls(void)" test.
1996-08-09 * gdb.base/structs.exp: New tests for passing and returningJeff Law1-0/+153
structures. * gdb.base/structs.c: C source for test. Sanitized away until we've got a valid copyright assignment from Michael Snyder. Only tested on the PA. I assume other ports will needs some xfails and other possible testsuite tweakage.