From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Shih-Ping Chan To: GDB Cc: Kevin Buettner Subject: GDB TUI doesn't build Date: Mon, 08 Jan 2001 02:38:00 -0000 Message-id: <20010108183654.B467@cshihpin.isl.dso> X-SW-Source: 2001-01/msg00013.html Hi - looking at the 2001-01-08 CVS, GDB TUI doesn't build [Does TUI actually work?] Anyway find_line_pc in several gdb/tui/tui*.c files doesn't agree with the actual definition in gdb/. BTW configure on i686-linux also doesn't seem to define USG and HAVE_TERM_H which are necessary for tui.o to be built. Cheers. -- Chan Shih-Ping (Richard) DSO National Laboratories 20 Science Park Drive Singapore 118230 >From fnasser@cygnus.com Mon Jan 08 07:26:00 2001 From: Fernando Nasser To: Richard Shih-Ping Chan Cc: GDB , Kevin Buettner Subject: Re: GDB TUI doesn't build Date: Mon, 08 Jan 2001 07:26:00 -0000 Message-id: <3A59DBFD.19EED398@cygnus.com> References: <20010108183654.B467@cshihpin.isl.dso> X-SW-Source: 2001-01/msg00014.html Content-length: 885 Richard Shih-Ping Chan wrote: > > Hi - looking at the 2001-01-08 CVS, GDB TUI doesn't build > [Does TUI actually work?] Anyway find_line_pc in several > gdb/tui/tui*.c files doesn't agree with the actual definition in gdb/. > > BTW configure on i686-linux also doesn't seem to define USG and > HAVE_TERM_H which are necessary for tui.o to be built. > The maintainer of the TUI is HP (from the gdb/MAINTAINERS file): tui Technical Contact Point wdb@cup.hp.com They've contributed it some time ago. It seems that the person who was maintaining it is not around anymore. Maybe it got a little bit outdated. Perhaps you would be interested in trying to fix it? Or maybe you can run the GDB GUI (Insight) instead. -- Fernando Nasser Red Hat - Toronto E-Mail: fnasser@redhat.com 2323 Yonge Street, Suite #300 Toronto, Ontario M4P 2C9 >From charlet@ACT-Europe.FR Mon Jan 08 07:56:00 2001 From: Arnaud Charlet To: Fernando Nasser Cc: Richard Shih-Ping Chan , GDB , Kevin Buettner Subject: Re: GDB TUI doesn't build Date: Mon, 08 Jan 2001 07:56:00 -0000 Message-id: <20010108165633.F26870@dublin.int.act-europe.fr> References: <20010108183654.B467@cshihpin.isl.dso> <3A59DBFD.19EED398@cygnus.com> X-SW-Source: 2001-01/msg00015.html Content-length: 236 > Or maybe you can run the GDB GUI (Insight) instead. Or use one of the other available GUI front-ends for GDB, including GVD and DDD. GVD home page: http://libre.act-europe.fr/gvd DDD home page: http://www.gnu.org/software/ddd Arno >From pedwards@disaster.jaj.com Mon Jan 08 17:55:00 2001 From: Phil Edwards To: gdb@sources.redhat.com Subject: fwd: fixing some FIXMEs Date: Mon, 08 Jan 2001 17:55:00 -0000 Message-id: <20010108210432.A32378@disaster.jaj.com> X-SW-Source: 2001-01/msg00016.html Content-length: 2107 I ran into these two FIXMEs in the top-level configury. The one which tests the host is moved into the per-host section, and the one which sets up GDB_TK is moved into the per-target section. Opinions? Comments? This would need to be committed in both the src and gcc repositories, I believe, but since the patch deals with GDB/Insight, it was suggested that it be hashed over here first. Index: configure =================================================================== RCS file: /cvs/gcc/gcc/configure,v retrieving revision 1.33 diff -u -3 -r1.33 configure --- configure 2001/01/02 15:44:40 1.33 +++ configure 2001/01/09 00:21:16 @@ -1069,21 +1069,6 @@ export CFLAGS export CXXFLAGS -# FIXME: This should be in configure.in, not configure -case "$host" in - *go32*) - enable_gdbtk=no ;; - *msdosdjgpp*) - enable_gdbtk=no ;; -esac - -# FIXME: This should be in configure.in, not configure -# Determine whether gdb needs tk/tcl or not. -if [ "$enable_gdbtk" != "no" ]; then - GDB_TK="all-tcl all-tk all-itcl all-tix all-libgui" -else - GDB_TK="" -fi for subdir in . ${subdirs} ; do Index: configure.in =================================================================== RCS file: /cvs/gcc/gcc/configure.in,v retrieving revision 1.84 diff -u -3 -r1.84 configure.in --- configure.in 2001/01/02 15:36:25 1.84 +++ configure.in 2001/01/09 00:21:16 @@ -277,6 +277,14 @@ fi fi +# Moved from configure. +case "$host" in + *go32*) + enable_gdbtk=no ;; + *msdosdjgpp*) + enable_gdbtk=no ;; +esac + # We default to --with-shared on platforms where -fpic is meaningless. # Well, we don't yet, but we will. if false && [ "${host}" = "${target}" ] && [ x${enable_shared} = x ]; then @@ -974,6 +982,14 @@ use_gnu_as=no noconfigdirs="$noconfigdirs gas" fi + +# Determine whether gdb needs tk/tcl or not. Moved from configure. +if [ "$enable_gdbtk" != "no" ]; then + GDB_TK="all-tcl all-tk all-itcl all-tix all-libgui" +else + GDB_TK="" +fi + # Figure out what language subdirectories are present. # Look if the user specified --enable-languages="..."; if not, use