[binutils-gdb] gdb: remove declaration of deprecated_target_wait_hook
Andrew Burgess via Gdb-cvs <[email protected]> Fri, 15 May 2026 15:29:49 +0000 (GMT)
| Newsgroups | gmane.comp.gdb.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=776715ea683b93c0415fc4eb31b4fcec5f2153fc commit 776715ea683b93c0415fc4eb31b4fcec5f2153fc Author: Andrew Burgess <[email protected]> Date: Fri May 15 16:25:28 2026 +0100 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: --- gdb/defs.h | 3 --- 1 file changed, 3 deletions(-) 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);