]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: remove declaration of deprecated_target_wait_hook
authorAndrew Burgess <aburgess@redhat.com>
Fri, 15 May 2026 15:25:28 +0000 (16:25 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Fri, 15 May 2026 15:28:14 +0000 (16:28 +0100)
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

index 90abf0d343286f6ef463202ee9d7152cfdbacdea..ea3d31a242661ca4b1ee45b0987067f0f6162abe 100644 (file)
@@ -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);