From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14062 invoked by alias); 5 Mar 2004 05:23:40 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 14054 invoked from network); 5 Mar 2004 05:23:39 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.170.238) by sources.redhat.com with SMTP; 5 Mar 2004 05:23:39 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id CF9FD2B92; Fri, 5 Mar 2004 00:23:33 -0500 (EST) Message-ID: <40480ED5.4050807@gnu.org> Date: Fri, 05 Mar 2004 05:23:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: [ob] user-regs.c build fix for arm-linux References: <20040228173121.GA15679@nevyn.them.org> <4040D178.2050405@gnu.org> <20040228183027.GA17364@nevyn.them.org> <4040E2CC.6010603@gnu.org> <20040229165929.GG15749@nevyn.them.org> In-Reply-To: <20040229165929.GG15749@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03.o/txt/msg00096.txt > +/* This structure is named gdb_user_regs instead of user_regs to avoid > + conflicts with any "struct user_regs" in system headers. For instance, > + on ARM GNU/Linux native builds, nm-linux.h includes includes > + includes includes , which > + declares "struc user_regs". */ Even shorter, for instance: /* This structure is named gdb_user_regs, instead of user_regs, to avoid a comflict with defined "struct user_regs" on ARM GNU/Linux (included by: nm-linux.h -> -> -> ). */ which is just stating the facts. Andrew From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14062 invoked by alias); 5 Mar 2004 05:23:40 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 14054 invoked from network); 5 Mar 2004 05:23:39 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.170.238) by sources.redhat.com with SMTP; 5 Mar 2004 05:23:39 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id CF9FD2B92; Fri, 5 Mar 2004 00:23:33 -0500 (EST) Message-ID: <40480ED5.4050807@gnu.org> Date: Fri, 19 Mar 2004 00:09:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: [ob] user-regs.c build fix for arm-linux References: <20040228173121.GA15679@nevyn.them.org> <4040D178.2050405@gnu.org> <20040228183027.GA17364@nevyn.them.org> <4040E2CC.6010603@gnu.org> <20040229165929.GG15749@nevyn.them.org> In-Reply-To: <20040229165929.GG15749@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg00096.txt.bz2 Message-ID: <20040319000900.m4KlI9JGD_y0X6SkIWHU3sJHqTp_invOMp-57-6RvEY@z> > +/* This structure is named gdb_user_regs instead of user_regs to avoid > + conflicts with any "struct user_regs" in system headers. For instance, > + on ARM GNU/Linux native builds, nm-linux.h includes includes > + includes includes , which > + declares "struc user_regs". */ Even shorter, for instance: /* This structure is named gdb_user_regs, instead of user_regs, to avoid a comflict with defined "struct user_regs" on ARM GNU/Linux (included by: nm-linux.h -> -> -> ). */ which is just stating the facts. Andrew