From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 982 invoked by alias); 10 Feb 2004 06:36:23 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 964 invoked from network); 10 Feb 2004 06:36:21 -0000 Received: from unknown (HELO demos.bsdclusters.com) (69.55.225.36) by sources.redhat.com with SMTP; 10 Feb 2004 06:36:21 -0000 Received: from demos.bsdclusters.com (demos [69.55.225.36]) by demos.bsdclusters.com (8.12.8p1/8.12.8) with ESMTP id i1A6ZYEK016386; Mon, 9 Feb 2004 22:35:34 -0800 (PST) (envelope-from kmacy@fsmware.com) Received: from localhost (kmacy@localhost) by demos.bsdclusters.com (8.12.8p1/8.12.8/Submit) with ESMTP id i1A6ZXLi016383; Mon, 9 Feb 2004 22:35:34 -0800 (PST) X-Authentication-Warning: demos.bsdclusters.com: kmacy owned process doing -bs Date: Tue, 10 Feb 2004 06:36:00 -0000 From: Kip Macy X-X-Sender: kmacy@demos.bsdclusters.com To: MuthuKumar-Hotpop cc: gdb@sources.redhat.com Subject: Re: New command In-Reply-To: <024a01c3ef9f$bb1267d0$2e0110ac@mukco> Message-ID: <20040209223516.X76066@demos.bsdclusters.com> References: <20040209222738.3E6D34B363@berman.michael-chastain.com> <40280BE4.2010003@gnu.org> <024a01c3ef9f$bb1267d0$2e0110ac@mukco> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-02/txt/msg00087.txt.bz2 add the definition to your .gdbinit On Tue, 10 Feb 2004, MuthuKumar-Hotpop wrote: > Hello All, > > I have tried to define the user commands in the GDB as > define clr > >she clear > >end > document clr > >It is used to clear the gdb workspace screen. > >end > > The changes are in the particular session only.When I quit the gdb ,the next time there is no command like that. > What we have to do to make the user-command to be put permanently. > > Thanks, > Muthukumar > > > >