public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Steven Johnson <sjohnson@sakuraindustries.com>
To: Michael Stather <lists@michaelstather.com>
Cc: insight@sources.redhat.com
Subject: Re: Building insight independantly of gdb
Date: Mon, 21 Nov 2005 05:45:00 -0000	[thread overview]
Message-ID: <43810B00.4050209@sakuraindustries.com> (raw)
In-Reply-To: <20051119155247.D133551819B@h8391.serverkompetenz.net>

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
>
>
>
>  
>

      reply	other threads:[~2005-11-20 23:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-19 16:56 Michael Stather
2005-11-21  5:45 ` Steven Johnson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43810B00.4050209@sakuraindustries.com \
    --to=sjohnson@sakuraindustries.com \
    --cc=insight@sources.redhat.com \
    --cc=lists@michaelstather.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).