Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michael Elizabeth Chastain <mec@shout.net>
To: carlton@math.stanford.edu, drow@mvista.com
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch] KFAIL gdb/1025
Date: Tue, 04 Feb 2003 18:33:00 -0000	[thread overview]
Message-ID: <200302041833.h14IXUt18880@duracef.shout.net> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2387 bytes --]

Oh man, this issue is "Time Sink of the Day" for 2003-02-04.
I'm gonna drop out of the KFAIL philosophy discussion.

David C points out:

  * I gave the wrong GDB version: I was using CVS GDB from yesterday.  I
    saw the FAILs using 'make check' on yesterday's CVS, but then I
    investigated it using whatever GDB happened to be in /usr/local/bin

Before anything else, check the gdb.log file which has the broken
results and check the gdb banner when gdb starts up, so we can get
the "2002-12-23" facet off the table.

  * It's not the same as PR 872.  That's about overload resolution; this
    bug doesn't seem to be related to overload resolution.

You are right.  PR 872 is in 'overload.exp'.  This bug manifests
in 'ovldbreak.exp'.  I confuse the two a lot.  (It was bad design to
have one file name be a subset of the other.)

  * If it's all due to binutils, why do Michael's tables still show some
    non-PASS results with GCC 2.95.3/DWARF-2?

Hmmm.  I confess I am wrong that it is *all* binutils.  Now I think
there is a binutils component, but then there is a second bug on top of
that which is not analyzed yet.

Let me have a look at my FAILs:

  # target=native, host=i686-pc-linux-gnu, osversion=red-hat-8.0
  # gdb=5.3, gcc=2.95.3, binutils=2.13.2.1, libc=2.2.93-5-rh
  # gformat=dwarf-2
  Breakpoint 24, 0x080495a2 in foo::overload1arg (this=0xbffff7c4, arg=-65 '¿') at
  /berman/migchain/source/gdb-5.3/gdb/testsuite/gdb.c++/ovldbreak.cc:111^M
  111     int foo::overload1arg (char arg)            { arg = 0; return 2;}^M
  (gdb) FAIL: gdb.c++/ovldbreak.exp: continue to bp overloaded : char

The test script wants to see 'arg=2' here, but gdb prints 'arg=-65'.
That's the bug.  It's definitely not not not gdb/872.

  * I'm using the binutils that comes with Red Hat 7.3; rpm -q reports
    it as binutils-2.11.93.0.2-11.  So it's old.  I'll upgrade that and
    see what happens.  (And then do what to the test?  Turn it from
    KFAIL into XFAIL, I suppose?)

If it fails with binutils 2.13.2.1, try binutils HEAD if you have enough
patience.  Then add more info to PR gdb/1025.

I will also dig into my test results and add info PR gdb/1025.

It's really hard to tell whether a bad result is a binutils bug or
a gdb bug.  I think Daniel J would have to look at it closely at
that point, because he knows both sides of the binutils/gdb interface.

Michael C


             reply	other threads:[~2003-02-04 18:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-04 18:33 Michael Elizabeth Chastain [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-02-07 17:40 Michael Elizabeth Chastain
2003-02-07 17:46 ` David Carlton
2003-02-07 17:08 Michael Elizabeth Chastain
2003-02-07 17:13 ` David Carlton
2003-02-07 16:16 Michael Elizabeth Chastain
2003-02-07 17:04 ` David Carlton
2003-02-05  6:04 Michael Elizabeth Chastain
2003-02-04 20:07 Michael Elizabeth Chastain
2003-02-04 15:32 Michael Elizabeth Chastain
2003-02-04  1:18 David Carlton
2003-02-04 14:44 ` Daniel Jacobowitz
2003-02-04 17:17   ` David Carlton
2003-02-04 17:22     ` Daniel Jacobowitz
2003-02-04 22:28     ` David Carlton
2003-02-06 20:59       ` David Carlton

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=200302041833.h14IXUt18880@duracef.shout.net \
    --to=mec@shout.net \
    --cc=carlton@math.stanford.edu \
    --cc=drow@mvista.com \
    --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