This is the mail archive of the gdb@sources.redhat.com 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: Over-riding commands


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.


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