public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: arkkimede <arkkimede@gmail.com>
Cc: insight@sourceware.org
Subject: Re: Set argc and argv in insight
Date: Thu, 23 Apr 2009 16:16:00 -0000	[thread overview]
Message-ID: <49F0944A.1060404@redhat.com> (raw)
In-Reply-To: <e720e020904230545q1cca5df5ndb9dd900dfb1c0c3@mail.gmail.com>

arkkimede wrote:
> How I can pass the parameters argc and argv to a program running in
> the insight debugger?

Two options:

1) Open a console window and enter the normal gdb command ("set args ...")
2) File->Target Settings... there is a place to enter arguments

If you usually use the console window to run your executable (like I 
do), use #1. If you're a button pusher, use #2. There was always a 
disconnect between these two methods.

I'll put this annoyance on my list of things to do before the next release.

Keith

  reply	other threads:[~2009-04-23 16:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-23 12:45 arkkimede
2009-04-23 16:16 ` Keith Seitz [this message]
     [not found]   ` <b4503c170904231028n81901b4sdb175596c9e852de@mail.gmail.com>
2009-04-23 18:45     ` Keith Seitz
2009-04-29 21:58   ` Gene Smith
2009-04-29 22:08     ` Keith Seitz

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=49F0944A.1060404@redhat.com \
    --to=keiths@redhat.com \
    --cc=arkkimede@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).