Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Michael Elizabeth Chastain <mec@shout.net>
Cc: fnasser@redhat.com, gdb-patches@sources.redhat.com
Subject: Re: [RFA/testsuite] Tweak gdb.java/jmisc.java to pass on PowerPC
Date: Mon, 01 Apr 2002 19:49:00 -0000	[thread overview]
Message-ID: <20020401224929.A28287@nevyn.them.org> (raw)
In-Reply-To: <200204020342.g323gxc09149@duracef.shout.net>

On Mon, Apr 01, 2002 at 09:42:59PM -0600, Michael Elizabeth Chastain wrote:
> Daniel Jacobowitz writes:
> > [this is especially nasty because failing to print a Java array makes GDB
> > very sad.  It loops for hours, walking up the stack (very slowly because of
> > thread_db).  We then kill gdb, which may or may not kill jmisc, so the
> > testsuite tends to leave zombies lying around.]
> 
> Maybe my view of the world is a little twisted, but I think a test case
> is good when it makes gdb lose its mind.  I am in favor of changing the
> test suite to work around bugs in compilers and other tools that are
> outside our responsibility but gdb is inside our responsibility.
>
> > This patch adds a use of the argument after the prologue, so that it will
> > still be available to print.  OK to commit?
> 
> I would rather keep the original test and file a bug report.  Perhaps
> clone the test so that you can test the behavior that you want to test
> as well as banging on the broken behavior.

That's a good view of the world.  It's not practical in this case
unless you're volunteering to fix it, though :)  This bug causes a
testsuite run via | tee <file> to hang forever.  Testsuites are no good
if we can't run them!  Bug reports are good for tracking, but I would
prefer filing a bug on the fact that Java will print unreasonably long
arrays (i.e. corrupt length field).

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2002-04-02  3:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-01 19:43 Michael Elizabeth Chastain
2002-04-01 19:49 ` Daniel Jacobowitz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-04-02  8:24 Michael Elizabeth Chastain
2002-04-01 20:01 Michael Elizabeth Chastain
2002-04-01 20:48 ` Daniel Jacobowitz
2002-04-01 23:08   ` Daniel Jacobowitz
2002-04-01 13:55 Daniel Jacobowitz
2002-04-01 15:19 ` Fernando Nasser

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=20020401224929.A28287@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=fnasser@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=mec@shout.net \
    /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