Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: bob@brasko.net
Cc: gdb-patches@sources.redhat.com
Subject: Re: MI testsuite to use PTY for inferior
Date: Sat, 13 Aug 2005 22:04:00 -0000	[thread overview]
Message-ID: <200508132151.j7DLpnoR015475@elgar.sibelius.xs4all.nl> (raw)
In-Reply-To: <20050727031758.GA15798@white> (message from Bob Rossi on Tue, 26 Jul 2005 23:17:58 -0400)

[-- Attachment #1: Type: text/plain, Size: 468 bytes --]

Hmm, I consistently see 

FAIL: gdb.mi/mi-console.exp: Testing console output
FAIL: gdb.mi/mi-console.exp: Finished step over hello (timeout)

FAIL: gdb.mi/mi-syn-frame.exp: testing exec continue
FAIL: gdb.mi/mi-syn-frame.exp: list stack frames

if I run the complete testsuite, since this was checked in.

Funny thing is that if I run mi-console.exp alone, it usually
(although not always) succeeds.

Attached are a gdb.log for a failing run and a passing run.

Mark

[-- Attachment #2: gdb.log.fail --]
[-- Type: application/octet-stream, Size: 4766 bytes --]

Test Run By kettenis on Sat Aug 13 23:49:26 2005
Native configuration is i386-unknown-openbsd3.7

		=== gdb tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for target.
Using ../../../../src/gdb/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file.
Running ../../../../src/gdb/gdb/testsuite/gdb.mi/mi-console.exp ...
~"GNU gdb 6.3.50.20050813-cvs\n"
~"Copyright 2004 Free Software Foundation, Inc.\n"
~"GDB is free software, covered by the GNU General Public License, and you are\n"
~"welcome to change it and/or distribute copies of it under certain conditions.\n"
~"Type \"show copying\" to see the conditions.\n"
~"There is absolutely no warranty for GDB.  Type \"show warranty\" for details.\n"
~"This GDB was configured as \"i386-unknown-openbsd3.7\"."
~"\n"
(gdb) 
100-gdb-set height 0
100^done
(gdb) 
101-gdb-set width 0
101^done
(gdb) 
102-inferior-tty-set /dev/ttyp9
102^done
(gdb) 
Executing on host: gcc ../../../../src/gdb/gdb/testsuite/gdb.mi/mi-console.c  -DFAKEARGV -g  -lm   -o /home/kettenis/obj/gdb/gdb/testsuite/gdb.mi/mi-console    (timeout = 300)
102-break-delete
102^done
(gdb) 
103-break-list
103^done,BreakpointTable={nr_rows="0",nr_cols="6",hdr=[{width="3",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[]}
(gdb) 
104-environment-directory -r
104^done,source-path="$cdir:$cwd"
(gdb) 
105-environment-directory ../../../../src/gdb/gdb/testsuite/gdb.mi
105^done,source-path="/home/kettenis/obj/gdb/gdb/testsuite/../../../../src/gdb/gdb/testsuite/gdb.mi:$cdir:$cwd"
(gdb) 
105-file-exec-and-symbols /home/kettenis/obj/gdb/gdb/testsuite/gdb.mi/mi-console
105^done
(gdb) 
102-break-delete
102^done
(gdb) 
103-break-list
103^done,BreakpointTable={nr_rows="0",nr_cols="6",hdr=[{width="3",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[]}
(gdb) 
104-environment-directory -r
104^done,source-path="$cdir:$cwd"
(gdb) 
105-environment-directory ../../../../src/gdb/gdb/testsuite/gdb.mi
105^done,source-path="/home/kettenis/obj/gdb/gdb/testsuite/../../../../src/gdb/gdb/testsuite/gdb.mi:$cdir:$cwd"
(gdb) 
105-file-exec-and-symbols /home/kettenis/obj/gdb/gdb/testsuite/gdb.mi/mi-console
105^done
(gdb) 
200-break-insert main
200^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x1c000638",func="main",file="../../../../src/gdb/gdb/testsuite/gdb.mi/mi-console.c",line="13",times="0"}
(gdb) 
PASS: gdb.mi/mi-console.exp: breakpoint at main
000-exec-run 
000^running
(gdb) 
000*stopped,reason="breakpoint-hit",bkptno="1",thread-id="0",frame={addr="0x1c000638",func="main",args=[],file="../../../../src/gdb/gdb/testsuite/gdb.mi/mi-console.c",fullname="/home/kettenis/src/gdb/gdb/testsuite/gdb.mi/mi-console.c",line="13"}
(gdb) 
PASS: gdb.mi/mi-console.exp: mi runto main
47-exec-next
47^running
(gdb) 
47*stopped,reason="end-stepping-range",thread-id="0",frame={addr="0x1c00063d",func="main",args=[],file="../../../../src/gdb/gdb/testsuite/gdb.mi/mi-console.c",fullname="/home/kettenis/src/gdb/gdb/testsuite/gdb.mi/mi-console.c",line="14"}
(gdb) 
FAIL: gdb.mi/mi-console.exp: Testing console output
FAIL: gdb.mi/mi-console.exp: Finished step over hello (timeout)
testcase ../../../../src/gdb/gdb/testsuite/gdb.mi/mi-console.exp completed in 61 seconds

		=== gdb Summary ===

# of expected passes		2
# of unexpected failures	2
Executing on host: /home/kettenis/obj/gdb/gdb/testsuite/../../gdb/gdb -nw --command gdb_cmd    (timeout = 300)
GNU gdb 6.3.50.20050813-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-openbsd3.7".
/home/kettenis/obj/gdb/gdb/testsuite/../../gdb/gdb version  6.3.50.20050813-cvs -nx

runtest completed at Sat Aug 13 23:50:27 2005

[-- Attachment #3: gdb.log.pass --]
[-- Type: application/octet-stream, Size: 4806 bytes --]

Test Run By kettenis on Sat Aug 13 23:50:37 2005
Native configuration is i386-unknown-openbsd3.7

		=== gdb tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for target.
Using ../../../../src/gdb/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file.
Running ../../../../src/gdb/gdb/testsuite/gdb.mi/mi-console.exp ...
~"GNU gdb 6.3.50.20050813-cvs\n"
~"Copyright 2004 Free Software Foundation, Inc.\n"
~"GDB is free software, covered by the GNU General Public License, and you are\n"
~"welcome to change it and/or distribute copies of it under certain conditions.\n"
~"Type \"show copying\" to see the conditions.\n"
~"There is absolutely no warranty for GDB.  Type \"show warranty\" for details.\n"
~"This GDB was configured as \"i386-unknown-openbsd3.7\"."
~"\n"
(gdb) 
100-gdb-set height 0
100^done
(gdb) 
101-gdb-set width 0
101^done
(gdb) 
102-inferior-tty-set /dev/ttyp9
102^done
(gdb) 
Executing on host: gcc ../../../../src/gdb/gdb/testsuite/gdb.mi/mi-console.c  -DFAKEARGV -g  -lm   -o /home/kettenis/obj/gdb/gdb/testsuite/gdb.mi/mi-console    (timeout = 300)
102-break-delete
102^done
(gdb) 
103-break-list
103^done,BreakpointTable={nr_rows="0",nr_cols="6",hdr=[{width="3",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[]}
(gdb) 
104-environment-directory -r
104^done,source-path="$cdir:$cwd"
(gdb) 
105-environment-directory ../../../../src/gdb/gdb/testsuite/gdb.mi
105^done,source-path="/home/kettenis/obj/gdb/gdb/testsuite/../../../../src/gdb/gdb/testsuite/gdb.mi:$cdir:$cwd"
(gdb) 
105-file-exec-and-symbols /home/kettenis/obj/gdb/gdb/testsuite/gdb.mi/mi-console
105^done
(gdb) 
102-break-delete
102^done
(gdb) 
103-break-list
103^done,BreakpointTable={nr_rows="0",nr_cols="6",hdr=[{width="3",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[]}
(gdb) 
104-environment-directory -r
104^done,source-path="$cdir:$cwd"
(gdb) 
105-environment-directory ../../../../src/gdb/gdb/testsuite/gdb.mi
105^done,source-path="/home/kettenis/obj/gdb/gdb/testsuite/../../../../src/gdb/gdb/testsuite/gdb.mi:$cdir:$cwd"
(gdb) 
105-file-exec-and-symbols /home/kettenis/obj/gdb/gdb/testsuite/gdb.mi/mi-console
105^done
(gdb) 
200-break-insert main
200^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x1c000638",func="main",file="../../../../src/gdb/gdb/testsuite/gdb.mi/mi-console.c",line="13",times="0"}
(gdb) 
PASS: gdb.mi/mi-console.exp: breakpoint at main
000-exec-run 
000^running
(gdb) 
000*stopped,reason="breakpoint-hit",bkptno="1",thread-id="0",frame={addr="0x1c000638",func="main",args=[],file="../../../../src/gdb/gdb/testsuite/gdb.mi/mi-console.c",fullname="/home/kettenis/src/gdb/gdb/testsuite/gdb.mi/mi-console.c",line="13"}
(gdb) 
PASS: gdb.mi/mi-console.exp: mi runto main
47-exec-next
47^running
(gdb) 
PASS: gdb.mi/mi-console.exp: Testing console output
Hello \"!\rPASS: gdb.mi/mi-console.exp: inferior_output:Testing console output
47*stopped,reason="end-stepping-range",thread-id="0",frame={addr="0x1c00063d",func="main",args=[],file="../../../../src/gdb/gdb/testsuite/gdb.mi/mi-console.c",fullname="/home/kettenis/src/gdb/gdb/testsuite/gdb.mi/mi-console.c",line="14"}
(gdb) 
PASS: gdb.mi/mi-console.exp: Finished step over hello
testcase ../../../../src/gdb/gdb/testsuite/gdb.mi/mi-console.exp completed in 0 seconds

		=== gdb Summary ===

# of expected passes		5
Executing on host: /home/kettenis/obj/gdb/gdb/testsuite/../../gdb/gdb -nw --command gdb_cmd    (timeout = 300)
GNU gdb 6.3.50.20050813-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-openbsd3.7".
/home/kettenis/obj/gdb/gdb/testsuite/../../gdb/gdb version  6.3.50.20050813-cvs -nx

runtest completed at Sat Aug 13 23:50:37 2005

  reply	other threads:[~2005-08-13 21:52 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-27  3:18 Bob Rossi
2005-08-13 22:04 ` Mark Kettenis [this message]
2005-08-20  9:07   ` Bob Rossi
2005-08-30  2:55     ` Daniel Jacobowitz
2005-09-01  0:52       ` Bob Rossi
2005-09-01 22:12         ` Mark Kettenis
2005-09-01 23:52           ` Bob Rossi
2005-09-05 19:52           ` Bob Rossi
2005-09-10  4:02             ` Daniel Jacobowitz
2005-07-30  5:54 Nick Roberts
2005-07-30 17:39 ` Bob Rossi
2005-07-30 18:08   ` Daniel Jacobowitz
2005-07-30 22:47     ` Nick Roberts
2005-07-31  1:19       ` Daniel Jacobowitz
2005-07-30 22:47   ` Nick Roberts
2005-07-30 23:03     ` Bob Rossi
2005-07-31  1:21       ` Daniel Jacobowitz
2005-07-31 13:16         ` Bob Rossi
2005-07-31 15:31           ` Daniel Jacobowitz
2005-07-31 21:20             ` Bob Rossi
2005-08-01  1:53               ` Daniel Jacobowitz
2005-08-01  2:05                 ` Bob Rossi
2005-08-01  2:15                   ` Daniel Jacobowitz
2005-08-01 11:32                     ` Bob Rossi
2005-08-01  3:56               ` Eli Zaretskii
2005-08-01 11:30                 ` Bob Rossi
2005-08-01 13:00                   ` Daniel Jacobowitz
2005-08-01 13:16                     ` Bob Rossi
2005-08-01 13:23                       ` Daniel Jacobowitz
2005-08-01 13:31                         ` Bob Rossi
2005-08-01 14:00                           ` Daniel Jacobowitz
2005-08-01 14:07                             ` Bob Rossi
2005-08-01 18:45                   ` Eli Zaretskii
2005-08-01 19:01                     ` Mark Kettenis
2005-08-01 19:25                       ` Daniel Jacobowitz
2005-08-01 19:34                         ` Mark Kettenis
2005-08-01 19:43                           ` Bob Rossi
2005-08-01 20:48                         ` Eli Zaretskii
2005-08-01 20:45                       ` Eli Zaretskii
2005-08-01 20:52                         ` Daniel Jacobowitz
2005-08-02  3:45                           ` Eli Zaretskii
2005-08-02  3:50                             ` Daniel Jacobowitz
2005-08-02 20:46                               ` Eli Zaretskii
2005-08-02 20:48                                 ` Daniel Jacobowitz
2005-08-13 17:26                                   ` Bob Rossi
2005-08-13 21:41                                     ` Daniel Jacobowitz
2005-07-31 21:35           ` Nick Roberts
2005-07-31 21:37             ` Daniel Jacobowitz
2005-07-31 23:32               ` Nick Roberts
2005-08-01  1:51                 ` Daniel Jacobowitz
2005-08-03  2:07         ` Bob Rossi
2005-08-03 12:48           ` Bob Rossi
2005-08-03 13:19           ` Daniel Jacobowitz
2005-08-03 18:22             ` Bob Rossi
2005-08-03 18:23               ` Daniel Jacobowitz
2005-08-03 18:24               ` Bob Rossi
2005-08-03 18:32                 ` Daniel Jacobowitz
2005-08-03 19:31                   ` Bob Rossi
2005-08-04  2:23                     ` Bob Rossi
2005-08-04  2:27                       ` Bob Rossi
2005-08-04  4:05                         ` Daniel Jacobowitz
2005-08-04 13:07                           ` Bob Rossi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200508132151.j7DLpnoR015475@elgar.sibelius.xs4all.nl \
    --to=mark.kettenis@xs4all.nl \
    --cc=bob@brasko.net \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox