From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id E5C5E385803F for ; Wed, 27 Jul 2022 15:10:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E5C5E385803F Received: from fencepost.gnu.org ([2001:470:142:3::e]:60986) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGife-0002Kf-Gs; Wed, 27 Jul 2022 11:10:01 -0400 Received: from ip5f5a89c6.dynamic.kabel-deutschland.de ([95.90.137.198]:57382 helo=[192.168.111.41]) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGife-0003Q8-6m; Wed, 27 Jul 2022 11:09:58 -0400 Message-ID: <78365004-54cb-4602-bbd7-3d88064667a4@gnu.org> Date: Wed, 27 Jul 2022 17:09:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.0.3 To: Keith Seitz References: <48ec6c7a-8e6c-0163-f354-584e8084e595@gnu.org> <66c1653d-aae0-4d39-f58e-5fcb1cdf60ed@redhat.com> Content-Language: en-US Cc: gdb@sourceware.org From: Simon Sobisch Subject: Re: gdbtk ...completely broken? In-Reply-To: <66c1653d-aae0-4d39-f58e-5fcb1cdf60ed@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.8 required=5.0 tests=BAYES_00, BODY_8BITS, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2022 15:10:06 -0000 Am 27.07.2022 um 16:14 schrieb Keith Seitz: > On 7/26/22 01:07, Simon Sobisch via Gdb wrote: >> After checking gdb --help I've wondered about the following: >> >>    -w                 Use the GUI interface. >>    --nw               Do not use the GUI interface. >> >> it took a while to find out that `-w` only applies if GDB is >> configured with the GUI option and much more that this relates to >> --enable-gdbtk. > > "gdbtk" refers to Insight, which is now located in a different GIT > repository. Ah - I'd say there was a near zero chance to even guess that. Could you please try to add notes about this in gdb's configure.ac (a note on --enable-gdbtk about both the project Insight and about "only for using GDB as Insight submodule" - would help a lot) and possibly on GDBs mode options docs (something along "-w start GDB in GUI mode (Insight)") and help output, too? > >> Where are the necessary source files? > > Clone sourceware.org/git/insight.git and follow the README. It uses > submodules > to pull in binutils-gdb. How to get the files without git (newest insight + GDB [12.1] I've already on the harddisk)? Is the build info [1] still up-to-date that I need to build it with a specific tcl/tk version? https://sourceware.org/insight/downloads.php seems to be quite outdated, too (ftp links don't work here, instead of git web frontend it points to cvs) >> Should gdb's configure assume they exist or test for them (and again: >> error on --enable-gdbtk)? > > That's probably something that needs better documentation and perhaps > the error. Thanks, just checking for the necessary source files (before even checking tcl/tk), then abort looks most reasonable to me. I guess this is all rooted in the mentioned TODO 2 > Get Insight integrated and accepted into the GDB mainline. Question on that: Is it likely that this will happen someday? > I'll put it on my TODO list. > > Keith Thanks again for taking the time to answer! Simon [1]: https://sourceware.org/insight/faq.php#q-2.1