This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [commit] Convert tui to interps mechanism
- From: "Martin M. Hunt" <hunt at redhat dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: 14 Feb 2003 10:48:19 -0800
- Subject: Re: [commit] Convert tui to interps mechanism
- References: <3E4CF570.1040906@redhat.com>
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