define command

Daniel Jacobowitz drow@false.org
Sat Jul 22 20:11:00 GMT 2006


On Fri, Jul 21, 2006 at 06:13:52PM +0200, Efim Monyak wrote:
> Hi all,
> 
> is where a possibility to define one counter or variable in the define 
> command (user defined command).
> I need to recognize is this command called first time or no. It is not 
> possible for me to use arguments.

Just pick an unobtrusive name for the variable, and use the new in GDB
6.5 "init-if-undefined" command.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list