List Info

Thread: define command




define command
user name
2006-07-24 17:04:41
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?

define command
user name
2006-07-24 18:16:38
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

define command
user name
2006-07-25 06:19:03
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.



[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )