diff options
author | Jeff Law <law@redhat.com> | 2001-12-20 16:52:07 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2001-12-20 16:52:07 +0000 |
commit | 8fb87725a313c13c1a9fd5a7f53b387670c7653d (patch) | |
tree | 26233e78fd1bc6beea7c1232bf13ba30d287a155 | |
parent | 2ea716f6497bc0fb56930c2696c59743fb911232 (diff) | |
download | gdb-8fb87725a313c13c1a9fd5a7f53b387670c7653d.zip gdb-8fb87725a313c13c1a9fd5a7f53b387670c7653d.tar.gz gdb-8fb87725a313c13c1a9fd5a7f53b387670c7653d.tar.bz2 |
* gdb.base/annota1.exp: Expect failure for hpux11 when posting
a SIGTRAP to the inferior.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/annota1.exp | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5685035..3d3b5f8 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com) + + * gdb.base/annota1.exp: Expect failure for hpux11 when posting + a SIGTRAP to the inferior. + 2001-12-19 Corinna Vinschen <vinschen@redhat.com> * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16. diff --git a/gdb/testsuite/gdb.base/annota1.exp b/gdb/testsuite/gdb.base/annota1.exp index 3b297e4..b0987f2 100644 --- a/gdb/testsuite/gdb.base/annota1.exp +++ b/gdb/testsuite/gdb.base/annota1.exp @@ -424,6 +424,15 @@ gdb_expect { # FIXME: annotate-signal not tested (requires that the inferior be # stopped by a "random" signal) # +# SIGTRAP signals are dropped before they get to the inferior process +# on hpux11. In theory, this behaivor can be controlled by setting +# TTEO_NORM_SIGTRAP in the inferior, but doing so did not cause +# the signal to be properly delivered. +# +# It has been verified that other signals will be delivered. However, +# rather than twiddle the test, I choose to leave it as-is as it +# exposes an interesting failure on hpux11. +setup_xfail hppa*-*-hpux11* send_gdb "signal SIGTRAP\n" gdb_expect { -re ".*\032\032post-prompt\r\nContinuing with signal SIGTRAP.\r\n\r\n\032\032starting\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032frames-invalid\r\n\r\n\032\032signalled\r\n\r\nProgram terminated with signal \r\n\032\032signal-name\r\nSIGTRAP\r\n\032\032signal-name-end\r\n, \r\n\032\032signal-string\r\nTrace.breakpoint trap\r\n\032\032signal-string-end\r\n.\r\nThe program no longer exists.\r\n\r\n\032\032stopped\r\n$gdb_prompt$" \ |