From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29799 invoked by alias); 2 Jun 2010 10:01:31 -0000 Received: (qmail 29332 invoked by uid 22791); 2 Jun 2010 10:01:28 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 02 Jun 2010 10:01:14 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 43D961B403D; Wed, 2 Jun 2010 10:01:11 +0000 (UTC) From: Mike Frysinger To: insight@sourceware.org Subject: Re: Command line arguments for insight Date: Wed, 02 Jun 2010 10:01:00 -0000 User-Agent: KMail/1.13.1 (Linux/2.6.34; KDE/4.4.3; x86_64; ; ) Cc: Tomas Martinec References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3270420.WB4YQuZnyO"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201006020600.43865.vapier@gentoo.org> 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: 2010-q2/txt/msg00022.txt.bz2 --nextPart3270420.WB4YQuZnyO Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-length: 933 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. >=20 > 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 possib= le=20 with gdb, so read the existing gdb documentation. if you still cant figure= =20 out the existing options/command lines, -ex will certainly always work. -mike --nextPart3270420.WB4YQuZnyO Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iQIcBAABAgAGBQJMBivLAAoJEEFjO5/oN/WBaDQP/3Tr8xIHwyY0sJ4TTwMRa0I8 Y/IkLWHV0vcNrDBHzSck7t6DUgbX0qAEnhCTsBD1yD+eTY/Ajil445q2mn2bnon8 zzbqh4ls59MEjjweLD9xWPusUdXrPdXUUT38ALlz9HnlupkO7tVboQnaw1f9CNlS Tqux0JAakZKtDnkZdiYVSc+abgiAnf4r183iia25Cg2p1kqE0URzt6Flq+Wrpfsi jwbs1Yg1STFQJ3XCXPVR0YI5E+td5iuWdZOiUnK0Ood9FE3rN7vGCX+Qnpt1CwuA Vk//gI6Sa/jk5aQOgXmV3eWqf3m4zkqNTnkX/VgQ2s+R+/xmYYwSoBH8vnJLiTbJ PfhD7EtemAHE1yJbo7drgSQevyQl1FiCCH8Llgg6S+D4FM6nExQAsIfFzLIhPxua 1xhg/FkoMn9D6u6W87hv9puu0UCiDmm8/ts1HdgvGjafSSQFM6E7TdbG4rQPPEWp ua0H7wfcfo+kkicwzQ7kJLTI3JZtXDopUkxJF6lAmUjnBw80fTO7ASWHFricSi/G /N+5WZR7MpuQUqIqHhtT2ywOIoQThmS7rCqjt7byGnWMJXVvGLFRvS2WbA3s5s6S JBxMUubu5Nh21n+dw8aiF66wthu5s9wZDMl68T0hricvag+GvYmXD1F6zHzuR5Ni VoxbkTM37iwwqRf+2qRK =0xNz -----END PGP SIGNATURE----- --nextPart3270420.WB4YQuZnyO--