Remove keywords from target debug printer names
authorTom Tromey <tromey@adacore.com>
Tue, 19 Sep 2023 17:02:27 +0000 (11:02 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 22 Sep 2023 13:15:37 +0000 (07:15 -0600)
commite7bb5090cb094ab9d9d13c1852a7cd7e65128b66
tree9867974e1509647f19f00c115503abccd810d927
parent7434de7ef9aef6307de8cb8244ca27a67dc99245
Remove keywords from target debug printer names

I recently checked in a patch that removed the use of the "struct"
keyword in some spots.  Doing this pointed out that the target
delegate code preserves this keyword -- but, with C++, it does not
really need to.  This patch changes make-target-delegates.py to remove
these keywords, and updates target-debug.h to follow.  This pointed
out that there was already one redudancy: both
target_debug_print_struct_inferior_p and target_debug_print_inferior_p
existed.

Tested by rebuilding.

Reviewed-by: Kevin Buettner <kevinb@redhat.com>
gdb/make-target-delegates.py
gdb/target-debug.h
gdb/target-delegates.c