Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Frédéric Bastien" <nouiz@nouiz.org>
To: "Frédéric Bastien" <nouiz@nouiz.org>, gdb@sourceware.org
Subject: Re: multiple command on one line
Date: Thu, 21 Feb 2008 19:02:00 -0000	[thread overview]
Message-ID: <2d1d7fe70802211007r47625462qffdacf552ca5ff49@mail.gmail.com> (raw)
In-Reply-To: <20080221165911.GA17988@caradoc.them.org>

thanks for your fast response.

Fred

On Thu, Feb 21, 2008 at 11:59 AM, Daniel Jacobowitz <drow@false.org> wrote:
>
> On Thu, Feb 21, 2008 at 11:52:53AM -0500, Frédéric 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
>


      reply	other threads:[~2008-02-21 18:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-21 16:59 Frédéric Bastien
2008-02-21 18:07 ` Daniel Jacobowitz
2008-02-21 19:02   ` Frédéric Bastien [this message]

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=2d1d7fe70802211007r47625462qffdacf552ca5ff49@mail.gmail.com \
    --to=nouiz@nouiz.org \
    --cc=gdb@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