we always regenerate the coremaker program. Detect special case
where registers cannot be read from core file. Change setup_xfail
for "print func2:coremaker_local" and "backtrace in corefile.exp"
to fail for all i*86 targets.
* gdb.base/corefile.exp: Allow "Core was generated by ..."
messages to not include the full program name that caused
the core dump since some systems (such as solaris) apparently
truncate this path to about 80 characters.
When generating a core file first try increasing the core file
size limit to unlimited since some systems may default it to
zero, and it is harmless to try it. Move the test for failing
to generate a core file to where it will actually get executed.
* gdb.c++/templates.exp (test_ptype_of_templates): Accept
new gdb result from g++ debug info improvements and make old
pattern obsolescent. Also account for size_t differences
(may be int or long).
* gdb.base/a1-selftest.exp (test_with_self): Check for case where
initialization before function call is placed in the delay slot
and thus appears to be skipped over by commands such as "next".
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.
"backtrace through signal handler" to "i*86-*-sysv4*".
* gdb.base/signals.exp: Add xfail for "'next' behaved as
continue" case. Add "known SVR4 bug" to fail message.
Add "i*86-*-bsdi2.0" xfail for "handle all print".
Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
* gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
"whatis unnamed typedef'd enum..." and "ptype t_char_array".
* gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
"up to foo in langs.exp", "show language at foo in
langs.exp", "up to cppsub_ in langs.exp", "show
language at cppsub_ in langs.exp", "up to fsub in
langs.exp", and "show language at fsub in langs.exp".
* gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
"bactrace in corefile.exp".
* gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
"call inferior function with struct - returns float" and
"call inferior function with struct - returns double".
corefile.exp from linuxaout to all linux.
* gdb.base/sigall.exp (test_one_sig): Specifically deal with
cases where we miss the breakpoint at the signal handler
for some reason. Setup xfail for linuxoldld/linuxaout and
getting SIGIO. Setup xfail for linuxoldld/linuxaout for
hitting SIGURG breakpoint.
* gdb.base/signals.exp: Setup xfail for "next" acting like
continue to add linuxoldld. Setup xfail for all linux for
"next to handler in signals_tests_1", "backtrace in
signals_tests_1", "continue to func1", "pass SIGUSR1",
and continue to handler".