ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -x command file question


From: apgaylard
Subject: Re: -x command file question
Date: Tue, 25 Nov 2003 05:42:02 GMT

> Andrew,
> 
> Thank you for answering my question.  To my misfortune, due to the nature 
> of my project, I am wedded to using DDD 3.1.4.
> 
> I actually have another, must simpler question for you.  I have a command 
> file that has the following user defined function.
> 
> define foo
>       print $arg0
>       set $var = 1
>  
>       SHELL echo $arg0 >> output
>       SHELL echo $var >> output
> end
> 
> When I source the command file and run foo, the parameter $arg0 gets sent 
> to the file "output" correctly.  The convenience variable $var produces an 
> error "undefined $var."  How could I send $var to the file "output?"
> 
> Thank you in advance.  Solving this problem would make such a huge 
> different in what I am doing.

Hi,


Interestingly, neither variable is displayed correctly in my gdb (5.3).

This is really a gdb question; have you consulted the gdb manual?
If that fails, then you can consider asking the gdb list.

Andrew.

---------------------------------------------
This message was sent using M-Web Airmail - JUST LIKE THAT
Get an SMS sent to your phone when you receive an email and save time and money.
M-Web members only. http://www.mweb.co.za/mobile .






reply via email to

[Prev in Thread] Current Thread [Next in Thread]