gdb: remove cmd_list_element::pre_show_hook
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 13 May 2021 14:13:48 +0000 (10:13 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 13 May 2021 14:13:48 +0000 (10:13 -0400)
commit0b2256f772883cf5ea9fecb0d720ca8ea8629198
tree19477b85a834cd16e926cb564f4f7db1d67dc19a
parent0522d0165adaa6fccb4d4ff706d0e0b2996e4b80
gdb: remove cmd_list_element::pre_show_hook

This is unused, remove it.

gdb/ChangeLog:

* cli/cli-decode.h (struct cmd_list_element) <pre_show_hook>:
Remove.
* cli/cli-setshow.c (do_show_command): Adjust.

Change-Id: Ib9cd79d842550392b062309e1e5c079ad5d7571a
gdb/ChangeLog
gdb/cli/cli-decode.h
gdb/cli/cli-setshow.c