From: Andrew Cagney <cagney@gnu.org>
To: Bob Rossi <bob@brasko.net>
Cc: gdb-patches@sources.redhat.com
Subject: Re: MI testsuite improvements
Date: Wed, 16 Feb 2005 20:03:00 -0000 [thread overview]
Message-ID: <42135BB4.8020506@gnu.org> (raw)
In-Reply-To: <20050215041600.GA3582@white>
[-- Attachment #1: Type: text/plain, Size: 893 bytes --]
Bob Rossi wrote:
>>Let me know what you think. If you want the dbg.log files, I can provide
>>them.
I was kind of looking for an executive summary :-) I've attached a
trimmed diff.
Two things:
- it should't be using --interpreter console ...
Can you and/or: add a new -mi-tty command (+test, +doco) and use that;
invoke GDB with the --tty=... option. Your call. Either pre-approved
(but get thumbs up from Eli on the doco).
- can the TTY output be identified in someway?
That might make debugging easier, but if it isn't possible I guess we
live with that.
With that, ok.
Andrew
PS: Yes, we need to find a place for explaining how to invoke this.
Looking at the TUI chapter opening there is:
- paragraph stating what TUI is
- paragraph stating how to invoke TUI
MI's chapter should probably do the same.
> Any headway on this? Need some more info?
>
> Thanks,
> Bob Rossi
>
[-- Attachment #2: x --]
[-- Type: text/plain, Size: 776 bytes --]
@@ -41,6 +41,12 @@
(gdb)
+102-interpreter-exec console "tty /dev/pts/1"
+
+102^done
+
+(gdb)
+
Executing on host: gcc ../../../src/gdb/testsuite/gdb.mi/mi-console.c -DFAKEARGV -g -lm -o /home/bob/cvs/gdb/original/builddir/gdb/testsuite/gdb.mi/mi-console (timeout = 300)
102-break-delete
@@ -128,17 +134,15 @@
(gdb)
-PASS: gdb.mi/mi-console.exp: Started step over hello
-HelloKFAIL: gdb.mi/mi-console.exp: Hello message (PRMS: gdb/623)
- \"!
-
-
+PASS: gdb.mi/mi-console.exp: Testing console output
+Hello \"!
+PASS: gdb.mi/mi-console.exp: inferior_output:Testing console output
47*stopped,reason="end-stepping-range",thread-id="0",frame={addr="0x080483f1",func="main",args=[],file="../../../src/gdb/testsuite/gdb.mi/mi-console.c",line="14"}
(gdb)
next prev parent reply other threads:[~2005-02-16 14:43 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-10 15:43 Bob Rossi
2005-02-10 17:43 ` Andrew Cagney
2005-02-10 18:16 ` Bob Rossi
2005-02-10 19:58 ` Andrew Cagney
2005-02-10 23:34 ` Bob Rossi
2005-02-11 4:01 ` Andrew Cagney
2005-02-11 19:07 ` Bob Rossi
2005-02-12 3:13 ` Andrew Cagney
2005-02-12 10:59 ` Bob Rossi
2005-02-15 15:07 ` Bob Rossi
2005-02-16 20:03 ` Andrew Cagney [this message]
2005-02-17 0:28 ` Bob Rossi
2005-02-17 13:51 ` Daniel Jacobowitz
2005-02-17 16:58 ` Andrew Cagney
2005-02-17 20:09 ` Alain Magloire
[not found] ` <200502171658.LAA02386@smtp.ott.qnx.com>
2005-02-18 2:46 ` Bob Rossi
2005-02-18 12:10 ` Nick Roberts
2005-02-18 19:51 ` Bob Rossi
2005-02-18 21:05 ` Alain Magloire
2005-02-19 23:51 ` Bob Rossi
2005-02-21 2:12 ` Andrew Cagney
2005-02-22 23:24 ` Alain Magloire
[not found] ` <200502221635.LAA07270@smtp.ott.qnx.com>
2005-03-01 2:40 ` Bob Rossi
2005-03-01 15:14 ` Bob Rossi
2005-03-01 19:24 ` Alain Magloire
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=42135BB4.8020506@gnu.org \
--to=cagney@gnu.org \
--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