Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: gdb@sources.redhat.com
Subject: Re: $thread convenience variable
Date: Tue, 07 Feb 2006 19:31:00 -0000	[thread overview]
Message-ID: <20060207193144.GA28511@nevyn.them.org> (raw)
In-Reply-To: <43E87D04.8070007@st.com>

On Tue, Feb 07, 2006 at 10:57:08AM +0000, Andrew STUBBS wrote:
> Daniel Jacobowitz wrote:
> >On Fri, Feb 03, 2006 at 01:01:40PM +0000, Andrew STUBBS wrote:
> >>It might be better to do this in cli-script.c in the same way as 
> >>$arg0-$arg9 and $argc. That way it would always be up to date and would 
> >>be read-only.
> >>
> >>Of course these substitutions currently only work within control 
> >>structures, such as if, while or user-defined commands. (Hmmm, a quick 
> >>test also shows they crash GDB if not used within a user-define.)
> >
> >Test case?  I tried a couple places, it didn't crash.
> >
> 
> Just on the command line, not in a define:
> 
> if 1 == 1
>  echo $arg0
> end

Easily fixed, will post.

-- 
Daniel Jacobowitz
CodeSourcery


      reply	other threads:[~2006-02-07 19:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-30 20:19 Vladimir Prus
2006-02-03 10:58 ` Eli Zaretskii
2006-02-03 11:10   ` Vladimir Prus
2006-02-03 11:28     ` Eli Zaretskii
2006-02-03 11:59       ` Vladimir Prus
2006-02-03 15:14         ` Eli Zaretskii
2006-02-03 13:04     ` Andrew STUBBS
2006-02-03 13:10       ` Vladimir Prus
2006-02-03 13:56         ` Andrew STUBBS
2006-02-06 23:52           ` Daniel Jacobowitz
2006-02-06 23:49       ` Daniel Jacobowitz
2006-02-07 10:59         ` Andrew STUBBS
2006-02-07 19:31           ` Daniel Jacobowitz [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=20060207193144.GA28511@nevyn.them.org \
    --to=drow@false.org \
    --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