Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: David Carlton <carlton@math.stanford.edu>
Cc: gdb@sources.redhat.com
Subject: Re: GDB PR categories
Date: Thu, 26 Sep 2002 14:05:00 -0000	[thread overview]
Message-ID: <3D937699.3020502@redhat.com> (raw)
In-Reply-To: <ro165wso7lc.fsf@jackfruit.Stanford.EDU>


> * If you're going to create so many categories, how about one for each
>   debugging format as well?

I think it might confuse things.  The only way the average user is going 
to spot a symtab bug is by GDB printing out:
	internal-error: symtab.c: .....
:-)

> * Another thing to consider kind of reflecting is the testsuite: so
>   arch, asm, base, c++, (chill), disasm, fortran, gdb, hp, java, log,
>   mi, stabs, sum, threads, trace.  Maybe that would be a good place to
>   start from; and then, as we noticed that there were, say, a large
>   number of bugs about a specific subcategory of one of those
>   categories, we could fork off a separate PR/testsuite category for
>   it?

GDB's testsuite directory is split more along functional lines.

>   Though, now that I think about it, the two lists of categories
>   shouldn't be identical: if a bug currently is present only on a
>   particular platform but the command sequence to manifest that bug
>   makes sense on any platform, then the testsuite case shouldn't be
>   placed in a platform-specific location.

Yes.  Most test cases are generic.  The only non-generic directory is 
gdb.arch where tests need to verify the exact value of registers.

Separatly I was wondering about a test-bug `class'.

> * I definitely think that doing this incrementally would be a good
>   idea; you've proposed more than 50 categories, and there are only

Dam!  You spotted my cunning plan.  I was going to spread the bugs so 
thinly that no one could find them and hence think GDB had no problems ;-)

>   476 non-closed PR's, so probably some of the categories would be too
>   sparse to bother with for now.  Maybe you could follow the 'os' lead
>   and have 'other arch' and 'other language' categories (where, say,
>   pascal/scheme/ada/objc could be in the latter but c++ and java get
>   their own PR categories), forking off a new arch/language/os
>   whenever the appropriate 'other' category gets too large to
>   conveniently browse.

Yes, that makes sense.  If there is an active maintainer create the 
category otherwize leave it for ``other'':

arch-i386
arch-mips

os-GNU/Linux
os-bsd

lang-c++

???-thread
???-macro

ui-misc
ui-mi
ui-tui

I just wonder if somone will get confused by having to choose between 
``other arch/lang/os/ui/...  I guess create xxx-other on demand as well.

(BTW, anyone know the story with ``-'' in categories.  I think fernando 
indicated that it wasn't valid but the online docs 
(http://www.gnu.org/software/gnats/ uses that in the examples.)

thanks,
Andrew



  reply	other threads:[~2002-09-26 21:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-26 11:16 Andrew Cagney
2002-09-26 12:48 ` David Carlton
2002-09-26 14:05   ` Andrew Cagney [this message]
2002-09-26 14:08     ` Daniel Jacobowitz
2002-09-26 14:17     ` David Carlton
2002-09-26 13:58 ` Jim Blandy
2002-09-26 14:08 ` Elena Zannoni
2002-09-28  9:59   ` 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=3D937699.3020502@redhat.com \
    --to=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