From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28082 invoked by alias); 23 Apr 2009 16:16:33 -0000 Received: (qmail 28068 invoked by uid 22791); 23 Apr 2009 16:16:31 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Apr 2009 16:16:25 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n3NGGGaJ022258; Thu, 23 Apr 2009 12:16:16 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n3NGGFER002543; Thu, 23 Apr 2009 12:16:15 -0400 Received: from lindt.uglyboxes.com (sebastian-int.corp.redhat.com [172.16.52.221]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n3NGGBNE013105; Thu, 23 Apr 2009 12:16:13 -0400 Message-ID: <49F0944A.1060404@redhat.com> Date: Thu, 23 Apr 2009 16:16:00 -0000 From: Keith Seitz User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: arkkimede CC: insight@sourceware.org Subject: Re: Set argc and argv in insight References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2009-q2/txt/msg00020.txt.bz2 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