Re: [PUSHED/OBVIOUS] Remove gdb-gdb.gdb breakpoint on disappeared function info_command.

Kevin Buettner
2020-05-02T04:02:35Z

On Fri, 1 May 2020 16:54:51 +0200
Philippe Waroquiers via Gdb-patches <gdb-patches@sourceware.org> wrote:

> The function info_command has disappeared, so this breakpoint does not
> work anymore.
> "info_command" was a function for the prefix command "info",
> giving the list of "info" subcommands.
> It is not very clear what the removed breakpoint and its associated
> command list was supposed to do.
>
> Removed and pushed as obvious, after discussion with Tom.

Thanks for doing this.

I spent a few minutes looking at this. It was apparently introduced
into the CVS repository by Stan Shebs on 1999-04-16. The patch in
question is massive, nearly a million lines long. A bunch of
ChangeLog files are imported. Actually, it seems likely that the
entirety of the GDB sources was in this import. The earliest
ChangeLog entry is June 28, 1998 and the latest is dated about a week
prior to Stan's commit. The commit message was "Initial creation of
sourceware repository". (There are a number of commits which use this
same message.)

I couldn't find any clue from the ChangeLog entries about why that
break command was put into the .gdbinit file. It might be possible to
figure out more precisely when it was introduced, but I didn't attempt
this. I doubt that earlier imports would have any additional useful
info not already in the ChangeLog entries that I did examine.

Kevin