From: Daniel Jacobowitz <drow@false.org>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: gdb@sourceware.org
Subject: Re: GDB transition to GPLv3 should now be complete
Date: Fri, 24 Aug 2007 18:40:00 -0000 [thread overview]
Message-ID: <20070824184012.GA19997@caradoc.them.org> (raw)
In-Reply-To: <200708241811.l7OIBHnO027640@brahms.sibelius.xs4all.nl>
On Fri, Aug 24, 2007 at 08:11:17PM +0200, Mark Kettenis wrote:
> Well, the problem with this diff is that it actually seems to be a
> good idea until you actually start to use it. I thought it was a good
> idea, so I put it in my tree. And I threw it out again after a few
> days because I was annoyed by the fact that it didn't print strings as
> strings in many cases where I was sure it did before. As I said, the
> use of "unsigned char *" is very common in string manipulation code.
The diff from July, right? I wish you'd mentioned that you'd tried
it, back after I posted it - I would have been glad to see specific
examples. I still would, if you remember any of them.
There are at least three classes of code affected by this:
- uses MMX, SSE, or AltiVec
- uses unsigned char * for numerical data
- uses unsigned char * for strings
I've spent hours searching through different bodies of code trying to
come up with comparisons here (which I posted during the last
discussion). I believe that the first is rapidly increasingly and the
other two are about even. I don't want to drop what I believe to be a
very useful change without at least finding some compromise.
By the way, Jan's patch (which only applies to unsigned char[] and not
unsigned char *, leaving GDB in my opinion inconsistent) is in Fedora
7. That's relatively recent but has a lot of users; I don't see any
complaints about it in their bugzilla.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-08-24 18:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-24 15:08 Joel Brobecker
2007-08-24 15:28 ` Mark Kettenis
2007-08-24 15:33 ` Daniel Jacobowitz
2007-08-24 16:16 ` Mark Kettenis
2007-08-24 16:54 ` Daniel Jacobowitz
2007-08-24 18:11 ` Mark Kettenis
2007-08-24 18:40 ` Daniel Jacobowitz [this message]
2007-08-24 22:17 ` Daniel Jacobowitz
2007-08-25 9:36 ` Eli Zaretskii
2007-08-25 13:39 ` Daniel Jacobowitz
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=20070824184012.GA19997@caradoc.them.org \
--to=drow@false.org \
--cc=gdb@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
/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