The 'load' command plays much the same role for embedded debugging as the file command does in native debugging. As such, it would be highly welcome if loading an image to a remote target triggers auto-loading of the auto-loading extensions. This would allow automatic configuration of parameters not defined by the (ELF) image, such as initial stack pointer. Since auto-loading extensions are supposed to be idempotent, this addition should not cause problems. Alternatively, define a new class of auto-loading files which are automatically invoked on `load', e.g., OBJFILE-gdb_load.EXT.
Please delete this bug report/enhancement request. What I want to do can be done via GDB user-defined commands. Sorry for the confusion.
(In reply to Konrad Schwarz from comment #1) > Please delete this bug report/enhancement request. > > What I want to do can be done via GDB user-defined commands. > > Sorry for the confusion. No problem. I'm going to close this.