From: Andrew Burgess Date: Fri, 15 May 2026 15:25:28 +0000 (+0100) Subject: gdb: remove declaration of deprecated_target_wait_hook X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=776715ea683b93c0415fc4eb31b4fcec5f2153fc;p=thirdparty%2Fbinutils-gdb.git gdb: remove declaration of deprecated_target_wait_hook Remove the declaration of deprecated_target_wait_hook; the actual definition and usage were removed 4 years ago in: commit fb85cece22a2cb3c0185e61cfc1323e9c5a6466e Date: Sat Mar 12 13:41:47 2022 +0100 Replace deprecated_target_wait_hook by observers There should be no user-visible changes after this commit. --- diff --git a/gdb/defs.h b/gdb/defs.h index 90abf0d3432..ea3d31a2426 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -344,9 +344,6 @@ extern void (*deprecated_readline_begin_hook) (const char *, ...) extern char *(*deprecated_readline_hook) (const char *); extern void (*deprecated_readline_end_hook) (void); extern void (*deprecated_context_hook) (int); -extern ptid_t (*deprecated_target_wait_hook) (ptid_t ptid, - struct target_waitstatus *status, - int options); extern void (*deprecated_attach_hook) (void); extern void (*deprecated_detach_hook) (void);