This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: define command


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]