From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8125 invoked by alias); 16 Sep 2009 00:42:24 -0000 Received: (qmail 8117 invoked by uid 22791); 16 Sep 2009 00:42:23 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from an-out-0708.google.com (HELO an-out-0708.google.com) (209.85.132.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 16 Sep 2009 00:42:18 +0000 Received: by an-out-0708.google.com with SMTP id d14so1742114and.3 for ; Tue, 15 Sep 2009 17:42:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.101.47.6 with SMTP id z6mr8255050anj.140.1253061736273; Tue, 15 Sep 2009 17:42:16 -0700 (PDT) In-Reply-To: References: Date: Wed, 16 Sep 2009 00:42:00 -0000 Message-ID: Subject: Re: how to pass environment variables to inferior when debugging with gdbserver From: "Amker.Cheng" To: Doug Evans Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-09/txt/msg00210.txt.bz2 On Wed, Sep 16, 2009 at 3:29 AM, Doug Evans wrote: > On Fri, Sep 4, 2009 at 12:34 AM, Amker.Cheng wrote: > > With cvs head gdb (and in 7.0 when it is released) there is a new > --wrapper argument to gdbserver. > > E.g. > > $ gdbserver --wrapper env LD_AUDIT=mumble -- :2222 ./testprog > Thanks for help, I will try it out. -- Best Regards.