From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11492 invoked by alias); 15 Apr 2009 14:25:15 -0000 Received: (qmail 11473 invoked by uid 22791); 15 Apr 2009 14:25:14 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_JMF_BR,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout5.012.net.il (HELO mtaout5.012.net.il) (84.95.2.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Apr 2009 14:25:08 +0000 Received: from conversion-daemon.i_mtaout5.012.net.il by i_mtaout5.012.net.il (HyperSendmail v2004.12) id <0KI500K00BV53T00@i_mtaout5.012.net.il>; Wed, 15 Apr 2009 17:24:46 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.34.97]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KI500I0LC16E3R0@i_mtaout5.012.net.il>; Wed, 15 Apr 2009 17:24:46 +0300 (IDT) Date: Wed, 15 Apr 2009 14:25:00 -0000 From: Eli Zaretskii Subject: Re: [RFC] GDB ARIndex Linux rule cleanup In-reply-to: <200904151400.n3FE0div003099@d12av02.megacenter.de.ibm.com> To: Ulrich Weigand Cc: muller@ics.u-strasbg.fr, brobecker@adacore.com, gdb-patches@sourceware.org, gdb@sourceware.org Reply-to: Eli Zaretskii Message-id: <831vrum1u5.fsf@gnu.org> References: <200904151400.n3FE0div003099@d12av02.megacenter.de.ibm.com> X-IsSubscribed: yes 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: 2009-04/txt/msg00305.txt.bz2 > Date: Wed, 15 Apr 2009 16:00:39 +0200 (CEST) > From: "Ulrich Weigand" > Cc: brobecker@adacore.com ('Joel Brobecker'), gdb-patches@sourceware.org, > gdb@sourceware.org, eliz@gnu.org ('Eli Zaretskii') > > Pierre Muller wrote: > > > Index: ppc-linux-tdep.c > > =================================================================== > > > -/* Wrappers to handle Linux-only registers. */ > > +/* Wrappers to handle Linux-only kernel registers. */ > > > - /* Initialize the Linux target descriptions. */ > > + /* Initialize the Linux kernel target descriptions. */ > > > Index: ppc-linux-tdep.h > > =================================================================== > > > -/* Linux target descriptions. */ > > +/* Linux kernel target descriptions. */ > > > It seems to me that in *those* cases, we should actually use > GNU/Linux instead -- this is talking about GDB target support > for the GNU/Linux operating system on PowerPC, and not specifically > related to the kernel only (for example, those target descriptions > are also used when analysing a core file on a remote system). I think GDB's "target" is always the OS kernel, not the OS itself. The distinction FSF asks for is between the GNU/Linux as a whole system, which includes all the main applications and libraries, and Linux as the bare-bones OS. GDB targets the latter, not the former. > Compare for example the usage in linux-nat.c: > > /* Create a prototype generic GNU/Linux target. That's a mistake, IMO. There's no need for GNU here.