Sometimes I'd like to be able to write out some of my command-line history as a gdb script. Maybe a "save history" command with parameters to control which elements are saved.
Working on a patch.
Maybe a dup of PR15328?
I sent a patch for "save history" but not any of the other stuff. So I tend to think this could remain separate.