From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25501 invoked by alias); 16 Mar 2004 23:21:37 -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 25477 invoked from network); 16 Mar 2004 23:21:36 -0000 Received: from unknown (HELO e33.co.us.ibm.com) (32.97.110.131) by sources.redhat.com with SMTP; 16 Mar 2004 23:21:36 -0000 Received: from westrelay04.boulder.ibm.com (westrelay04.boulder.ibm.com [9.17.193.32]) by e33.co.us.ibm.com (8.12.10/8.12.2) with ESMTP id i2GNLQfS300130; Tue, 16 Mar 2004 18:21:26 -0500 Received: from austin.ibm.com (d03av02.boulder.ibm.com [9.17.193.82]) by westrelay04.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i2GNLPS1083894; Tue, 16 Mar 2004 16:21:25 -0700 Received: from lazy.austin.ibm.com (lazy.austin.ibm.com [9.53.94.97]) by austin.ibm.com (8.12.10/8.12.10) with ESMTP id i2GNLOhk056760; Tue, 16 Mar 2004 17:21:24 -0600 Date: Fri, 19 Mar 2004 00:09:00 -0000 From: Manoj Iyer X-X-Sender: manjo@lazy To: Andrew Cagney cc: Eli Zaretskii , gdb-patches@sources.redhat.com Subject: Re: [6.1] TUI in doco? (compiler errors) In-Reply-To: <4057859D.1020900@gnu.org> Message-ID: References: <4057859D.1020900@gnu.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-03/txt/msg00374.txt.bz2 I dont know how much you care abt this for 6.1 to be shippable... I get compiler errors compiling TUI, I am compiling GDB as a 64bit binary on a ppc64 machine, I saw similar compiler errors in ppc-linux-tdep.c, because it contained an enum as follows... enum { ELF_NGREG = 48, ELF_NFPREG = 33, ELF_NVRREG = 33 }; ELF_XXX are already defined in a header file, so this breaks the build beause the latest GCC sees 48 = 48. I see similar messages with TUI build. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl -I./../intl -DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -Wunused-label -Wunused-function ./tui/tui-command.c cc1: warning: -Wuninitialized is not supported without -O In file included from tui/tui-command.c:28: tui/tui-data.h:40: error: parse error before "WINDOW" tui/tui-data.h:40: warning: no semicolon at end of struct or union tui/tui-data.h:52: error: parse error before '}' token tui/tui-data.h:224: error: field `data_window' has incomplete type tui/tui-data.h:278: error: field `generic' has incomplete type In file included from tui/tui-command.c:29: : : : : tui/tui-command.c:91: error: `KEY_NPAGE' undeclared (first use in this function) tui/tui-command.c:108: error: `KEY_DOWN' undeclared (first use in this function) tui/tui-command.c:109: error: `KEY_SF' undeclared (first use in this function) tui/tui-command.c:112: error: `KEY_UP' undeclared (first use in this function) tui/tui-command.c:113: error: `KEY_SR' undeclared (first use in this function) tui/tui-command.c:116: error: `KEY_RIGHT' undeclared (first use in this function) tui/tui-command.c:119: error: `KEY_LEFT' undeclared (first use in this function) make[1]: *** [tui-command.o] Error 1 make[1]: Leaving directory `/root/gdb6.1/mar16/gdb' make: *** [all-gdb] Error 2 I am looking at which definitions are missing, or re-defined. Thanks Manoj Iyer On Tue, 16 Mar 2004, Andrew Cagney wrote: > Eli, > > Any ideas on how to introduce "gdbtui" into the doco? Once that's > resolved, I think 6.1 is shippable. > > Andrew > > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25501 invoked by alias); 16 Mar 2004 23:21:37 -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 25477 invoked from network); 16 Mar 2004 23:21:36 -0000 Received: from unknown (HELO e33.co.us.ibm.com) (32.97.110.131) by sources.redhat.com with SMTP; 16 Mar 2004 23:21:36 -0000 Received: from westrelay04.boulder.ibm.com (westrelay04.boulder.ibm.com [9.17.193.32]) by e33.co.us.ibm.com (8.12.10/8.12.2) with ESMTP id i2GNLQfS300130; Tue, 16 Mar 2004 18:21:26 -0500 Received: from austin.ibm.com (d03av02.boulder.ibm.com [9.17.193.82]) by westrelay04.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id i2GNLPS1083894; Tue, 16 Mar 2004 16:21:25 -0700 Received: from lazy.austin.ibm.com (lazy.austin.ibm.com [9.53.94.97]) by austin.ibm.com (8.12.10/8.12.10) with ESMTP id i2GNLOhk056760; Tue, 16 Mar 2004 17:21:24 -0600 Date: Tue, 16 Mar 2004 23:21:00 -0000 From: Manoj Iyer X-X-Sender: manjo@lazy To: Andrew Cagney cc: Eli Zaretskii , gdb-patches@sources.redhat.com Subject: Re: [6.1] TUI in doco? (compiler errors) In-Reply-To: <4057859D.1020900@gnu.org> Message-ID: References: <4057859D.1020900@gnu.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-03.o/txt/msg00374.txt Message-ID: <20040316232100.JVyxgP5Q4fKMhQ_4kq16GtsdDMM5fmxoqcf43XfubUI@z> I dont know how much you care abt this for 6.1 to be shippable... I get compiler errors compiling TUI, I am compiling GDB as a 64bit binary on a ppc64 machine, I saw similar compiler errors in ppc-linux-tdep.c, because it contained an enum as follows... enum { ELF_NGREG = 48, ELF_NFPREG = 33, ELF_NVRREG = 33 }; ELF_XXX are already defined in a header file, so this breaks the build beause the latest GCC sees 48 = 48. I see similar messages with TUI build. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl -I./../intl -DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -Wunused-label -Wunused-function ./tui/tui-command.c cc1: warning: -Wuninitialized is not supported without -O In file included from tui/tui-command.c:28: tui/tui-data.h:40: error: parse error before "WINDOW" tui/tui-data.h:40: warning: no semicolon at end of struct or union tui/tui-data.h:52: error: parse error before '}' token tui/tui-data.h:224: error: field `data_window' has incomplete type tui/tui-data.h:278: error: field `generic' has incomplete type In file included from tui/tui-command.c:29: : : : : tui/tui-command.c:91: error: `KEY_NPAGE' undeclared (first use in this function) tui/tui-command.c:108: error: `KEY_DOWN' undeclared (first use in this function) tui/tui-command.c:109: error: `KEY_SF' undeclared (first use in this function) tui/tui-command.c:112: error: `KEY_UP' undeclared (first use in this function) tui/tui-command.c:113: error: `KEY_SR' undeclared (first use in this function) tui/tui-command.c:116: error: `KEY_RIGHT' undeclared (first use in this function) tui/tui-command.c:119: error: `KEY_LEFT' undeclared (first use in this function) make[1]: *** [tui-command.o] Error 1 make[1]: Leaving directory `/root/gdb6.1/mar16/gdb' make: *** [all-gdb] Error 2 I am looking at which definitions are missing, or re-defined. Thanks Manoj Iyer On Tue, 16 Mar 2004, Andrew Cagney wrote: > Eli, > > Any ideas on how to introduce "gdbtui" into the doco? Once that's > resolved, I think 6.1 is shippable. > > Andrew > >