comp.lang.ada
 help / color / mirror / Atom feed
From: Leslie <jlturriff@centurytel.net>
Subject: Re: gdb hijacks my argument list
Date: Tue, 05 Jan 2010 13:25:50 -0600
Date: 2010-01-05T13:25:50-06:00	[thread overview]
Message-ID: <hi03m6$fsl$1@news.albasani.net> (raw)
In-Reply-To: nospam-739865.11154305012010@news.aioe.org

John B. Matthews wrote:

> In article <hhvlc7$nc8$1@news.albasani.net>,
>  Leslie <jlturriff@centurytel.net> wrote:
> 
>> Niklas Holsti wrote:
>> 
>> > gdb --args testtoken ' (name testtoken endchar \) <
>> > > testtoken.adb | (trace) count lines|cons '
>> 
>> I get exactly the same result as before:
> 
> This older version of gdb lacks the --args feature, but `set
> args` and `show args` seem to work. Some of the tokens in your
> arg string appear to be shell operators and commands. You may
> have to evaluate the string in a shell and feed the result to
> args.
> 
        The single quotes should deactivate the "specialness" of those
operators.  In any case, the entire string is being rejected,
not just parts of it, and no substitutions are made by shell.
        However, I must say 'thank you very much,' because 'set args'
does the trick.

        Thank you very much.

Leslie




  reply	other threads:[~2010-01-05 19:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-05  1:06 gdb hijacks my argument list Leslie
2010-01-05 11:39 ` Niklas Holsti
2010-01-05 15:21   ` Leslie
2010-01-05 16:15     ` John B. Matthews
2010-01-05 19:25       ` Leslie [this message]
2010-01-05 21:19         ` John B. Matthews
2010-01-05 17:34     ` Niklas Holsti
2010-01-05 19:18       ` Leslie
2010-01-05 19:36         ` Niklas Holsti
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox