From: Bob Rossi <bob@brasko.net>
To: Andrew Cagney <cagney@gnu.org>, gdb-patches@sources.redhat.com
Subject: Re: MI testsuite improvements
Date: Tue, 15 Feb 2005 15:07:00 -0000 [thread overview]
Message-ID: <20050215041600.GA3582@white> (raw)
In-Reply-To: <20050212021913.GA30900@white>
On Fri, Feb 11, 2005 at 09:19:13PM -0500, Bob Rossi wrote:
> On Fri, Feb 11, 2005 at 02:34:52PM -0500, Andrew Cagney wrote:
> > Bob Rossi wrote:
> > >On Thu, Feb 10, 2005 at 03:52:08PM -0500, Andrew Cagney wrote:
> > >
> > >>>OO, I see, are you saying the mi-* tests will become the new ones, and
> > >>>the mi2-* are frozen for the mi2-* development cycle?
> > >>>
> > >>>In order to do this for only the new tests, I'll have to add a new
> > >>>parameter to mi_gdb_start to tell it to either open or not open a pty
> > >>>for the inferior. Hope this will be OK.
> > >>
> > >>M'kay.
> >
> > I've thought hard about this one. I'm ok with the theory in that we
> > should have a test of GDB against a "pipe" (i.e., something that doesn't
> > echo). I've reservations about applying it across all tests though.
> >
> > At present you can look at the log and see the exact interaction as
> > you'll get when you run that same GDB in a normal terminal. This change
> > alters that.
> >
> > Can you post an example log so that we can see what it looks like.
>
> Andrew, sorry if you recieved the last Email from me directly.
> Sourceware bounced the Email from the GDB list, because it was to large.
> For your info, I attached mi-console.exp and mi-syn-frame.exp log
> information, because those 2 have the most inferior I/O.
>
> I've attached new_gdb.log and original_gdb.log. I actually modified
> new_gdb.log so that the PATH is the same in both. Let me know if this
> isn't OK. It does make looking at the diff much simpler.
>
> It's obviously your call on if it's OK to use the new PTY on all the
> tests. I kind of prefer it, since at this point, there is no way to
> write a reliable front end to GDB without using the PTY. For example,
> there's no way to reliably parse the output of GDB when the inferior is
> mixing it's output in the same stream. Especially if you are debugging
> your own front end to GDB!
>
> Also, there's several other advanatage which I mentioned, including,
> - anchoring all the output of the GDB
> - anchoring all the output of the Inferior
> - parsing the output of GDB to get a syntax check
> - later advantages of parsing the output of GDB to use semantically
>
> Let me know what you think. If you want the dbg.log files, I can provide
> them.
Any headway on this? Need some more info?
Thanks,
Bob Rossi
next prev parent reply other threads:[~2005-02-15 4:16 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 [this message]
2005-02-16 20:03 ` Andrew Cagney
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=20050215041600.GA3582@white \
--to=bob@brasko.net \
--cc=cagney@gnu.org \
--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