From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16328 invoked by alias); 20 Nov 2005 23:47:09 -0000 Received: (qmail 16321 invoked from network); 20 Nov 2005 23:47:06 -0000 Received: from unknown (202.80.33.51) by sourceware.org with QMTP; 20 Nov 2005 23:47:06 -0000 Received: (qmail 5635 invoked from network); 20 Nov 2005 23:47:02 -0000 X-Anti-Virus: Message scanned for viruses by TVL Received: from unknown (HELO [192.168.2.14]) ([202.80.36.68]) (envelope-sender ) by mail.vanuatu.com.vu (qmail-ldap-1.03) with SMTP for ; 20 Nov 2005 23:47:02 -0000 Message-ID: <43810B00.4050209@sakuraindustries.com> Date: Mon, 21 Nov 2005 05:45:00 -0000 From: Steven Johnson User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) MIME-Version: 1.0 To: Michael Stather CC: insight@sources.redhat.com Subject: Re: Building insight independantly of gdb References: <20051119155247.D133551819B@h8391.serverkompetenz.net> In-Reply-To: <20051119155247.D133551819B@h8391.serverkompetenz.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2005-q4/txt/msg00032.txt.bz2 Hi Michael, This isnt correct. When you build Insight, you get a "gdb" executable, which is just (for all intents and purposes) plain old gdb, and an "insight" executable, which is insight gui enabled gdb. They are actually the same executable, but insight/gdb decides to go for gui or command line mode by the name of the exe. It can also be controlled with --nw or -w switch. So, your standard tools, that expect a command line gdb should still function. If you want to install it to test, and dont want to over write your installed version, your best bet is to use --prefix=(some install directory) i like to use --prefix=/opt/insight then to run just type /opt/insight/bin/insight, or as Keith said, add it to your path. It is highly unlikely that Insight will ever be able to be installed separate from GDB, that is because Insight is not a front end to GDB, it is GDB. It uses internal function calls to interface to the core GDB debug logic. It doesnt use the command line annotations or MI mode. It is like the GDB-tui in that regard. Hope that clears it up for you. Steven Michael Stather wrote: >As I read from the "about" page insight is a GUI for gdb. But it seems to be >built as a "gdb" executable mixing native gdb functionality with a gui. >But if insight replaces my existing gdb other gdb GUIs and apps which use >gdb don´t work anymore. >Can I compile insight independant from gdb, so that it doesn´t interfere >with an existing gdb installation. The actual executable should be named >"insight" then. > >regards > >Michael Stather > > > > >