From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10246 invoked by alias); 15 Jan 2005 15:35:24 -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 8785 invoked from network); 15 Jan 2005 15:34:53 -0000 Received: from unknown (HELO mail.netspace.net.au) (203.10.110.71) by sourceware.org with SMTP; 15 Jan 2005 15:34:53 -0000 Received: from [192.168.1.11] (220-253-45-48.VIC.netspace.net.au [220.253.45.48]) by mail.netspace.net.au (Postfix) with ESMTP id 2818B42FA7 for ; Sun, 16 Jan 2005 02:34:51 +1100 (EST) Message-ID: <41E9395A.1020808@netspace.net.au> Date: Sat, 15 Jan 2005 15:35:00 -0000 From: Russell Shaw User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040820 Debian/1.7.2-4 MIME-Version: 1.0 Cc: gdb@sources.redhat.com Subject: Re: Over-riding commands References: <41E8F74D.5030102@netspace.net.au> In-Reply-To: <41E8F74D.5030102@netspace.net.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-01/txt/msg00078.txt.bz2 Russell Shaw wrote: > Hi, > I'm trying to modify the "file" command, but i > can't get rid of its original binding. > I tried: > > delete_cmd ("symbol-file", &cmdlist); > delete_cmd ("file", &cmdlist); I got it working. Just needed to put the commands later in the initialization process.