This is the mail archive of the
mailing list for the GDB project.
Re: Over-riding commands
- From: Russell Shaw <rjshaw at netspace dot net dot au>
- Cc: gdb at sources dot redhat dot com
- Date: Sun, 16 Jan 2005 02:40:10 +1100
- Subject: Re: Over-riding commands
- References: <41E8F74D.firstname.lastname@example.org>
Russell Shaw wrote:
I'm trying to modify the "file" command, but i
can't get rid of its original binding.
delete_cmd ("symbol-file", &cmdlist);
delete_cmd ("file", &cmdlist);
I got it working. Just needed to put the commands
later in the initialization process.