From edc1ccab9688b68b91e0e245c6f8e99365661c7d Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Mon, 27 Nov 1995 22:43:08 +0000 Subject: [PATCH] * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for "bt in signals.exp". * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for "step over execarg initialization" and "step over corearg initialization". * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems with sizeof(pointer) > sizeof(int). Avoid "void *" or include files. --- gdb/testsuite/ChangeLog | 49 ++++++++++++++++++-------- gdb/testsuite/gdb.base/a1-selftest.exp | 2 ++ gdb/testsuite/gdb.base/signals.exp | 1 + 3 files changed, 38 insertions(+), 14 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 52b89f0945..0f5f981481 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,24 +1,45 @@ +Mon Nov 27 11:40:16 1995 Fred Fish + + * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for + "bt in signals.exp". + +Sat Nov 25 20:52:15 1995 Fred Fish + + * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for + "step over execarg initialization" and + "step over corearg initialization". + +Sat Nov 25 18:20:14 1995 Fred Fish + + * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems + with sizeof(pointer) > sizeof(int). Avoid "void *" or include files. + Sat Nov 25 11:03:42 1995 Fred Fish From Rob Savoye (rob@poseidon.cygnus.com) * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in}, - gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in, configure.in}, - gdb.disasm/{Makefile.in, configure.in}, gdb.stabs/{Makefile.in, configure.in}, - gdb.threads/{Makefile.in, configure.in}: Major reworking for autoconfig. + gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in, + configure.in}, gdb.disasm/{Makefile.in, configure.in}, + gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in, + configure.in}: Major reworking for autoconfig. * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure, - gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt : New files. + gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt : + New files. * config/unix-gdb.exp: Make GDB global. - * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp, callfuncs.exp, - commands.exp, corefile.exp, crossload.exp, exprs.exp, funcargs.exp, interrupt.exp, - langs.exp, list.exp, mips_pro.exp, nodebug.exp, opaque.exp, printcmds.exp, - ptype.exp, recurse.exp, regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, - signals.exp, term.exp, twice.exp, watchpoint.exp, whatis.exp}, - gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp, templates.exp, - virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp, misc.exp, pr-4975.exp, - pr-5016.exp, pr-5020.exp, pr-5022.exp, pr-5646.exp, pr-5984.exp, pr-6292.exp, - pr-6632.exp, pr-8134.exp, pr-8136.exp, result.exp, string.exp, tuples.exp}, + * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp, + callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp, + funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp, + nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp, + regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp, + term.exp, twice.exp, watchpoint.exp, whatis.exp}, + gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp, + templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp, + misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp, + pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp, + pr-8136.exp, result.exp, string.exp, tuples.exp}, gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues - to returns as necessary, arrange for test to compile own testcase executable. + to returns as necessary, arrange for test to compile own testcase + executable. * lib/gdb.exp: Changes for testsuite to compile own test cases. Tue Nov 21 16:15:45 1995 Fred Fish diff --git a/gdb/testsuite/gdb.base/a1-selftest.exp b/gdb/testsuite/gdb.base/a1-selftest.exp index 411ab7262b..2340ea8946 100644 --- a/gdb/testsuite/gdb.base/a1-selftest.exp +++ b/gdb/testsuite/gdb.base/a1-selftest.exp @@ -154,6 +154,7 @@ proc test_with_self {} { } } + setup_xfail "alpha-dec-osf2*" set description "step over execarg initialization" send "step\n" expect { @@ -174,6 +175,7 @@ proc test_with_self {} { } } + setup_xfail "alpha-dec-osf2*" set description "step over corearg initialization" send "step\n" expect { diff --git a/gdb/testsuite/gdb.base/signals.exp b/gdb/testsuite/gdb.base/signals.exp index d8c454dcd5..b4f8c46b70 100644 --- a/gdb/testsuite/gdb.base/signals.exp +++ b/gdb/testsuite/gdb.base/signals.exp @@ -357,6 +357,7 @@ if [runto_main] then { The program being debugged stopped while in a function called from GDB.*" \ "p func1 () #2 in signals.exp" # But we should be able to backtrace... + setup_xfail "alpha-*-osf2" gdb_test "bt" "#0.*handler.*#1.*#2.*main.*" "bt in signals.exp" # ...and continue... gdb_test "continue" "Continuing\\." "continue in signals.exp"