This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: New command
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
>
>
>
>