Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Efim Monyak <ymonyak@lipowsky.de>
To: Andrew STUBBS <andrew.stubbs@st.com>
Cc: gdb@sources.redhat.com
Subject: Re: define command
Date: Tue, 25 Jul 2006 06:45:00 -0000	[thread overview]
Message-ID: <44C5B7D7.3090607@lipowsky.de> (raw)
In-Reply-To: <44C50E86.8010909@st.com>

Andrew STUBBS schrieb:
> Efim Monyak wrote:
>> sorry have clicked on reply and don't checked the address.
>>
>> Is where a possibility to implement a similar functionality for GDB 
>> 6.4.0 with no buggy features?
>
> Assuming you only source the script with the define once:
>
> set $__example_counter = 0
> define example
>   set $__example_counter += 1
> end
>

I need evaluate this value also, I must recognize is the "example" 
function called first
time or no. But it is not possible to use the argument.




  reply	other threads:[~2006-07-25  6:19 UTC|newest]

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

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=44C5B7D7.3090607@lipowsky.de \
    --to=ymonyak@lipowsky.de \
    --cc=andrew.stubbs@st.com \
    --cc=gdb@sources.redhat.com \
    /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