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]

Redefining built-in commands.




I've run across a bug involving redefinition of built-in commands:

If the command has an alias, the alias is not redefined. Instead, the
alias is left in an inconsistent state and causes a crash when invoked.

Should gdb allow users to redefine built-in commands?   If so, should the 
orignial alias continue to behave like the original built-in, or should 
it's behavior be modified also?

-- 
dhoward@redhat.com
gdb engineering





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