Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Efim Monyak <ymonyak@lipowsky.de>
Cc: gdb@sources.redhat.com
Subject: Re: define command
Date: Sat, 22 Jul 2006 20:11:00 -0000	[thread overview]
Message-ID: <20060722200954.GB21091@nevyn.them.org> (raw)
In-Reply-To: <44C0FD40.90908@lipowsky.de>

On Fri, Jul 21, 2006 at 06:13:52PM +0200, Efim Monyak wrote:
> Hi all,
> 
> is where a possibility to define one counter or variable in the define 
> command (user defined command).
> I need to recognize is this command called first time or no. It is not 
> possible for me to use arguments.

Just pick an unobtrusive name for the variable, and use the new in GDB
6.5 "init-if-undefined" command.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2006-07-22 20:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-22 20:02 Efim Monyak
2006-07-22 20:11 ` Daniel Jacobowitz [this message]
2006-07-24 18:17 Efim Monyak
2006-07-24 19:26 ` Andrew STUBBS
2006-07-25  6:45   ` Efim Monyak

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=20060722200954.GB21091@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sources.redhat.com \
    --cc=ymonyak@lipowsky.de \
    /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