From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7225 invoked by alias); 14 Feb 2003 18:48:21 -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 7218 invoked from network); 14 Feb 2003 18:48:20 -0000 Received: from unknown (HELO mx1.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 14 Feb 2003 18:48:20 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h1EImKf27236 for ; Fri, 14 Feb 2003 13:48:20 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h1EImKa06374; Fri, 14 Feb 2003 13:48:20 -0500 Received: from dragon (romulus-int.sfbay.redhat.com [172.16.27.46]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h1EImJZ08461; Fri, 14 Feb 2003 13:48:20 -0500 Subject: Re: [commit] Convert tui to interps mechanism From: "Martin M. Hunt" To: Andrew Cagney Cc: gdb-patches@sources.redhat.com In-Reply-To: <3E4CF570.1040906@redhat.com> References: <3E4CF570.1040906@redhat.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 14 Feb 2003 18:48:00 -0000 Message-Id: <1045248500.1115.7.camel@Dragon> Mime-Version: 1.0 X-SW-Source: 2003-02/txt/msg00333.txt.bz2 On Fri, 2003-02-14 at 05:56, Andrew Cagney wrote: > Hello, > > This patch shuffles the TUI code so that it is started via the interps > mechanism As part of this it replaces --tui / tui_version with code > that just sets interpreter_p to "tui", that way --tui also just triggers > the interps mechanism. > > The tui appears to work. It doesn't compile. gcc -c -g -O2 -I. -I/home/hunt/redhat/src/gdb -I/home/hunt/redhat/src/gdb/config -DLOCALEDIR="\"/usr /redhat/new/share/locale\"" -DHAVE_CONFIG_H -I/home/hunt/redhat/src/gdb/../include/opcode -I/home/hunt/ redhat/src/gdb/../readline/.. -I../bfd -I/home/hunt/redhat/src/gdb/../bfd -I/home/hunt/redhat/src/gdb/ ../include -I../intl -I/home/hunt/redhat/src/gdb/../intl -DMI_OUT=1 -DGDBTK -Wimplicit -Wreturn-type - Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized /home/hunt/redhat/src/gdb/ cli/cli-decode.c /home/hunt/redhat/src/gdb/cli/cli-decode.c: In function `lookup_cmd_1': /home/hunt/redhat/src/gdb/cli/cli-decode.c:930: `tui_active' undeclared (first use in this function) /home/hunt/redhat/src/gdb/cli/cli-decode.c:930: (Each undeclared identifier is reported only once /home/hunt/redhat/src/gdb/cli/cli-decode.c:930: for each function it appears in.) /home/hunt/redhat/src/gdb/cli/cli-decode.c: In function `lookup_cmd_composition': /home/hunt/redhat/src/gdb/cli/cli-decode.c:1302: `tui_active' undeclared (first use in this function) make[1]: *** [cli-decode.o] Error 1 make[1]: Leaving directory `/home/hunt/redhat/build/gdb' make: *** [all-gdb] Error 2