public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: insight@sourceware.org
Cc: Tomas Martinec <fyzmat@gmail.com>
Subject: Re: Command line arguments for insight
Date: Wed, 02 Jun 2010 10:01:00 -0000	[thread overview]
Message-ID: <201006020600.43865.vapier@gentoo.org> (raw)
In-Reply-To: <AANLkTikZQKOeJBo5yN79oe2dfXhn9K2evBw59_cQizTq@mail.gmail.com>

[-- Attachment #1: Type: Text/Plain, Size: 940 bytes --]

On Wednesday, June 02, 2010 05:27:00 Tomas Martinec wrote:
> Every time I want to debug I have to choose the binary to be run and
> the source files, which is pretty annoying (I have the binary and the
> sources in different directories, so I need to specify the both
> things). I was unsuccesfully trying to find some command line options,
> which could be specified in the Visual studio and which would do this
> automatically.
> 
> So I would like to have these options. It could be something like -D
> for directory (and contained subdirectories) with sources and -b for
> the debugee binary. It would be also nice to have these documented
> with --help option or on the project web.

insight is merely a frontend to gdb.  what you want to do is already possible 
with gdb, so read the existing gdb documentation.  if you still cant figure 
out the existing options/command lines, -ex will certainly always work.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

      reply	other threads:[~2010-06-02 10:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-02  9:27 Tomas Martinec
2010-06-02 10:01 ` Mike Frysinger [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=201006020600.43865.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=fyzmat@gmail.com \
    --cc=insight@sourceware.org \
    /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).