Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Elizabeth Chastain <mec@shout.net>
To: ac131313@redhat.com, carlton@math.stanford.edu
Cc: gdb@sources.redhat.com
Subject: Re: GDB `cannotfix' pr state, require PR with xfail `moving forward'.
Date: Fri, 17 Jan 2003 19:57:00 -0000	[thread overview]
Message-ID: <200301171957.h0HJvMu05896@duracef.shout.net> (raw)

David C writes:
> Should all xfail bug reports be with reference to GDB's database, or
> are references to external databases allowed?  I kind of like the
> former (though, presumably, the bug report in GDB's database might
> well reference a bug in an external database).

Me too.

> The only categorization glitch that I'm worried about is: what if
> there are external issues that can't be fixed?  (E.g. limitations in a
> certain debug format.)  I suppose Michael Chastain's answer there
> would be to not run the test at all in that situation.

If you can't fix it, document it.  Also I think it's okay for gdb to say
"I can't do that" if it knows that it can't do something.

Here's a concrete example: several users have filed bug reports that
they can't debug C files with 100,000 lines of C code.  (This happens
if you use a program generator to generate C code from some other
language).

It turns out that they are using stabs+, and stabs+ has a 16-bit field for
line numbers, and gas was quietly truncating the high bits.  The problem
manifests in gdb, but there's nothing gdb can do.  gdb can't even warn
about the problem without some flaky heuristic test that I don't want
to consider (noticing the line numbers jumping around is problematic
because it's legal for line numbers to do that in machine-generated code).

So ... I would file a PR against the assembler, asking them to issue a
warning or an error when this happens.  binutils 2.13.2.1 does this now
so that is okay.  Then I would add some doco on the various debug formats
that gdb supports and common issues that users encounter.  We know the
common issues that users encounter because we monitor the gnats database
and the 'gdb' and 'bug-gdb' mailing lists.

Michael C


             reply	other threads:[~2003-01-17 19:57 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-17 19:57 Michael Elizabeth Chastain [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-01-17 20:52 Michael Elizabeth Chastain
2003-01-17 20:28 Michael Elizabeth Chastain
2003-01-18 11:33 ` Eli Zaretskii
2003-01-17 20:03 Michael Elizabeth Chastain
2003-01-17 19:45 Michael Elizabeth Chastain
2003-01-17 19:46 ` Daniel Jacobowitz
2003-01-17 20:12   ` Andrew Cagney
2003-01-17 20:18     ` Daniel Jacobowitz
2003-01-17 20:53       ` Andrew Cagney
2003-01-17 22:06         ` Daniel Jacobowitz
2003-01-17 23:28           ` Andrew Cagney
2003-01-18  3:40             ` Daniel Jacobowitz
2003-01-17 20:16 ` Andrew Cagney
2003-01-16 19:35 Andrew Cagney
2003-01-17 19:26 ` Andrew Cagney
2003-01-17 19:29   ` Daniel Jacobowitz
2003-01-17 19:47     ` Andrew Cagney
2003-01-17 19:40   ` David Carlton
2003-01-17 19:56 ` Andrew Cagney

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=200301171957.h0HJvMu05896@duracef.shout.net \
    --to=mec@shout.net \
    --cc=ac131313@redhat.com \
    --cc=carlton@math.stanford.edu \
    --cc=gdb@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