[PUSHED] gdb: remove declaration of deprecated_target_wait_hook

Message ID 776715ea683b93c0415fc4eb31b4fcec5f2153fc.1778859010.git.aburgess@redhat.com
State New
Headers
Series [PUSHED] gdb: remove declaration of deprecated_target_wait_hook |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_gdb_build--master-arm fail Patch failed to apply

Commit Message

Andrew Burgess May 15, 2026, 3:30 p.m. UTC
  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.
---
 gdb/defs.h | 3 ---
 1 file changed, 3 deletions(-)


base-commit: efb3128ef000238c3a88b83495500f6f4e6e4095
  

Patch

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);