From: Fred Fish Date: Mon, 11 Sep 1995 23:49:34 +0000 (+0000) Subject: * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=462bde03210c53e83ac8247e7a88ae35e814132a;p=binutils-gdb.git * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*" xfails when not gcc compiled for "print foo::funclocal". (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for: "print foo::funclocal at foo", "print 'scope1.c'::foo::funclocal at foo", "print foo::funclocal_bss at foo", "print 'scope1.c'::foo::funclocal_bss at foo", "print foo::funclocal_ro at foo", "print 'scope1.c'::foo::funclocal_ro at foo", "print bar::funclocal at foo" and "print 'scope1.c'::bar::funclocal at foo". (test_at_bar): Add "hppa*-*-hpux*" xfails when not gcc compiled for "print foo::funclocal at bar". Expand all messages to ensure that they identify that the test is at bar(). * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not gcc compiled for: "ptype on opaque struct pointer (statically)", "ptype on opaque struct tagname (statically)", "ptype on opaque struct pointer (dynamically) 1", "ptype on opaque struct tagname (dynamically) 1", "ptype on opaque struct pointer (dynamically) 2" and "ptype on opaque struct tagname (dynamically) 2 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not gcc compiled for: "p datalocal" "whatis datalocal", "ptype datalocal", "p bsslocal", "whatis bsslocal", and "ptype bsslocal". * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for "backtrace in langs.exp" and "up to langs0__2do in langs.exp" when not gcc compiled. * gdb.base/funcargs.exp (float_and_integral_args): Add "hppa*-*-hpux*" xfail for "run to call2a" when not gcc compiled. (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for "backtrace from call6a" when not gcc compiled. (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for "backtrace from call7a" when not gcc compiled. * gdb.base/callfuncs.exp (do_function_calls): Add "hppa*-*-hpux*" xfail when not gcc compiled for "p t_char_array_values(char_array_val2,char_array_val1)", "p t_char_array_values(char_array_val1,char_array_val2)", "p t_char_array_values("carray 1","carray 2")", "p t_char_array_values("carray 1",char_array_val2)", "p t_char_array_values(char_array_val1,"carray 2")", "p sum_args(1,{2})", "p sum_args(2,{2,3})", "p sum_args(3,{2,3,4})", "p sum_args(4,{2,3,4,5})" * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for "backtrace in corefile.exp" when not gcc compiled. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 4a09add0fbb..787e7bf4cef 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,60 @@ +Sun Sep 10 13:14:01 1995 Fred Fish + + * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*" + xfails when not gcc compiled for "print foo::funclocal". + (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for: + "print foo::funclocal at foo", + "print 'scope1.c'::foo::funclocal at foo", + "print foo::funclocal_bss at foo", + "print 'scope1.c'::foo::funclocal_bss at foo", + "print foo::funclocal_ro at foo", + "print 'scope1.c'::foo::funclocal_ro at foo", + "print bar::funclocal at foo" and + "print 'scope1.c'::bar::funclocal at foo". + (test_at_bar): Add "hppa*-*-hpux*" xfails when not + gcc compiled for "print foo::funclocal at bar". + Expand all messages to ensure that they identify that + the test is at bar(). + * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not + gcc compiled for: + "ptype on opaque struct pointer (statically)", + "ptype on opaque struct tagname (statically)", + "ptype on opaque struct pointer (dynamically) 1", + "ptype on opaque struct tagname (dynamically) 1", + "ptype on opaque struct pointer (dynamically) 2" and + "ptype on opaque struct tagname (dynamically) 2 + * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not + gcc compiled for: + "p datalocal" + "whatis datalocal", + "ptype datalocal", + "p bsslocal", + "whatis bsslocal", and + "ptype bsslocal". + * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for + "backtrace in langs.exp" and "up to langs0__2do in langs.exp" + when not gcc compiled. + * gdb.base/funcargs.exp (float_and_integral_args): Add + "hppa*-*-hpux*" xfail for "run to call2a" when not gcc + compiled. + (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for + "backtrace from call6a" when not gcc compiled. + (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for + "backtrace from call7a" when not gcc compiled. + * gdb.base/callfuncs.exp (do_function_calls): + Add "hppa*-*-hpux*" xfail when not gcc compiled for + "p t_char_array_values(char_array_val2,char_array_val1)", + "p t_char_array_values(char_array_val1,char_array_val2)", + "p t_char_array_values("carray 1","carray 2")", + "p t_char_array_values("carray 1",char_array_val2)", + "p t_char_array_values(char_array_val1,"carray 2")", + "p sum_args(1,{2})", + "p sum_args(2,{2,3})", + "p sum_args(3,{2,3,4})", + "p sum_args(4,{2,3,4,5})" + * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for + "backtrace in corefile.exp" when not gcc compiled. + Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * gdb.base/signals.exp: Rewrite `handle all print' test as diff --git a/gdb/testsuite/gdb.base/corefile.exp b/gdb/testsuite/gdb.base/corefile.exp index 9421fccb864..da595c9026b 100644 --- a/gdb/testsuite/gdb.base/corefile.exp +++ b/gdb/testsuite/gdb.base/corefile.exp @@ -128,6 +128,8 @@ gdb_start gdb_reinitialize_dir $srcdir/$subdir gdb_load $objdir/$subdir/$binfile +source gdb.base/coremaker.ci + # Test basic corefile recognition via core-file command. setup_xfail "rs6000-*-*" @@ -146,6 +148,8 @@ $prompt $" { pass "core-file command" } # Haven't investigated this xfail setup_xfail "m68k-*-hpux*" "i*86-*-linux*" "i*86-*-sysv4*" +# Strange that this one depends upon being native compiled. +if {!$gcc_compiled} then { setup_xfail "hppa*-*-hpux*" } gdb_test "bt" "abort.*func2.*func1.*main.*" "backtrace in corefile.exp" # test reinit_frame_cache