From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6356 invoked by alias); 27 Mar 2010 16:05:41 -0000 Received: (qmail 6348 invoked by uid 22791); 27 Mar 2010 16:05:40 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO glazunov.sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 27 Mar 2010 16:05:32 +0000 Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id o2RG48uo009577; Sat, 27 Mar 2010 17:04:08 +0100 (CET) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id o2RG46PC011362; Sat, 27 Mar 2010 17:04:06 +0100 (CET) Date: Sat, 27 Mar 2010 16:05:00 -0000 Message-Id: <201003271604.o2RG46PC011362@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: dan@codesourcery.com CC: hjl.tools@gmail.com, gdb-patches@sourceware.org In-reply-to: <20100327153019.GA16019@caradoc.them.org> (message from Daniel Jacobowitz on Sat, 27 Mar 2010 11:30:22 -0400) Subject: Re: PATCH: 3/6 [2nd try]: Add AVX support (i386 changes) References: <20100304180219.GA10826@intel.com> <20100304180408.GA10869@intel.com> <20100304180643.GB10869@intel.com> <20100306222037.GD21133@intel.com> <20100307213153.GA7170@intel.com> <201003112237.o2BMb4XR024283@glazunov.sibelius.xs4all.nl> <6dc9ffc81003111600k66be499cqf6639a07d20f5cce@mail.gmail.com> <201003271454.o2REsujU007688@glazunov.sibelius.xs4all.nl> <20100327153019.GA16019@caradoc.them.org> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-03/txt/msg00930.txt.bz2 > Date: Sat, 27 Mar 2010 11:30:22 -0400 > From: Daniel Jacobowitz > > On Sat, Mar 27, 2010 at 03:54:56PM +0100, Mark Kettenis wrote: > > Yes, we have done that in the past, but I think we should stop adding > > #defines like that. > > I disagree. The values are available in the kernel and glibc headers, > sure. But it takes years before a new define in linux/ptrace.h is > widely available, and it is not uncommon for new kernels to enter use > faster than that. This way, if someone builds a new GDB with AVX > support, and installs a new kernel with AVX support, they don't come > to us and ask why AVX support isn't in their GDB. I'm amazed that this stil is an issue in Linux-land. Ah well, I'll let you guys have it your way. Don't act surprised if I put in a snide remark of some sort about it ;).