aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/mi-syn-frame.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-04-29 16:20:50 +0000
committerDaniel Jacobowitz <drow@false.org>2007-04-29 16:20:50 +0000
commitd084b3317a56e70846746ea30faeeb61a47eea71 (patch)
tree8457421fb0167a5b78cf7212596bedd1a1aad159 /gdb/testsuite/gdb.mi/mi-syn-frame.c
parentdb9d7fc5700c1d43dedab26517cf43c30907b75f (diff)
downloadgdb-d084b3317a56e70846746ea30faeeb61a47eea71.zip
gdb-d084b3317a56e70846746ea30faeeb61a47eea71.tar.gz
gdb-d084b3317a56e70846746ea30faeeb61a47eea71.tar.bz2
* gdb.mi/mi-syn-frame.c (main, foo, bar)
(have_a_very_merry_interrupt): Remove calls to puts. * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect inferior output. * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct test names.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-syn-frame.c')
-rw-r--r--gdb/testsuite/gdb.mi/mi-syn-frame.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-syn-frame.c b/gdb/testsuite/gdb.mi/mi-syn-frame.c
index 580b534..ddfc08e 100644
--- a/gdb/testsuite/gdb.mi/mi-syn-frame.c
+++ b/gdb/testsuite/gdb.mi/mi-syn-frame.c
@@ -11,20 +11,15 @@ void have_a_very_merry_interrupt (void);
main ()
{
- puts ("Starting up");
-
foo (); /* Put a breakpoint on foo() and call it to see a dummy frame */
have_a_very_merry_interrupt ();
-
- puts ("Shutting down");
}
void
foo (void)
{
- puts ("hi in foo");
}
void
@@ -32,8 +27,6 @@ bar (void)
{
char *nuller = 0;
- puts ("hi in bar");
-
*nuller = 'a'; /* try to cause a segfault */
}
@@ -58,7 +51,6 @@ subroutine (int in)
void
have_a_very_merry_interrupt (void)
{
- puts ("Waiting to get a signal");
signal (SIGALRM, handler);
alarm (1);
sleep (2); /* We'll receive that signal while sleeping */