From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1271 invoked by alias); 21 Feb 2008 18:07:58 -0000 Received: (qmail 1243 invoked by uid 22791); 21 Feb 2008 18:07:57 -0000 X-Spam-Check-By: sourceware.org Received: from ti-out-0910.google.com (HELO ti-out-0910.google.com) (209.85.142.184) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 21 Feb 2008 18:07:33 +0000 Received: by ti-out-0910.google.com with SMTP id a1so108441tib.12 for ; Thu, 21 Feb 2008 10:07:30 -0800 (PST) Received: by 10.150.227.9 with SMTP id z9mr3259326ybg.166.1203617248867; Thu, 21 Feb 2008 10:07:28 -0800 (PST) Received: by 10.150.139.15 with HTTP; Thu, 21 Feb 2008 10:07:28 -0800 (PST) Message-ID: <2d1d7fe70802211007r47625462qffdacf552ca5ff49@mail.gmail.com> Date: Thu, 21 Feb 2008 19:02:00 -0000 From: "=?ISO-8859-1?Q?Fr=E9d=E9ric_Bastien?=" To: "=?ISO-8859-1?Q?Fr=E9d=E9ric_Bastien?=" , gdb@sourceware.org Subject: Re: multiple command on one line In-Reply-To: <20080221165911.GA17988@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <2d1d7fe70802210852u212a0fbbv186ed534f3aaf96a@mail.gmail.com> <20080221165911.GA17988@caradoc.them.org> X-Google-Sender-Auth: b12c4ecc572d607a 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: 2008-02/txt/msg00169.txt.bz2 thanks for your fast response. Fred On Thu, Feb 21, 2008 at 11:59 AM, Daniel Jacobowitz wrote: > > On Thu, Feb 21, 2008 at 11:52:53AM -0500, Fr=E9d=E9ric Bastien wrote: > > I > > > > I need to print many variable at each itaration of a loop. I would > > line to be able to print all of them in a single line like in bash. Is > > this possible? If yes how? I have look in many place but I never > > found. > > > > example > > > > p var1 > > p var2 > > p var3 > > > > I would like to be able to do something linke > > > > p var1; p var2; p var3 > > It sounds like what you want is either the "printf" command, to print > many variables on one output line, or "display", to print them > automatically. > > -- > Daniel Jacobowitz > CodeSourcery >