From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26374 invoked by alias); 9 Apr 2003 20:38:43 -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 26356 invoked from network); 9 Apr 2003 20:38:42 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (205.232.38.116) by sources.redhat.com with SMTP; 9 Apr 2003 20:38:42 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 55061D34B8; Wed, 9 Apr 2003 16:38:42 -0400 (EDT) Date: Wed, 09 Apr 2003 20:38:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: [RFC] missing #include in frame.h? Message-ID: <20030409203842.GN1170@gnat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2003-04/txt/msg00173.txt.bz2 I am trying to see how much effort it needs to be able to build GDB on LynxOS 4.0, and found that gcc emits the following warning: frame.h:698: warning: `struct gdbarch' declared inside parameter list frame.h:698: warning: its scope is only this definition or declaration, which is probably not what you want. I am not sure whether we want to include gdbarch.h or not. Should we? Or maybe we should be including "defs.h". Shall I go ahead and do that (add #include "defs.h", and update Makefile.in)? -- Joel