From d69cff284b0f7f4fe97a0f67fb55651610db815f Mon Sep 17 00:00:00 2001 From: David Taylor Date: Tue, 19 Jan 1999 15:29:06 +0000 Subject: [PATCH] only declare child_post_attach if CHILD_POST_ATTACH is defined. --- gdb/ChangeLog | 5 +++++ gdb/target.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ddf907bcd1..b6b9ab9559 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Tue Jan 19 10:27:23 1999 David Taylor + + * target.h (child_post_attach): only declare if CHILD_POST_ATTACH + is define. + Tue Jan 19 18:07:11 1999 Andrew Cagney * corelow.c (solib_add_stub): Ditto. diff --git a/gdb/target.h b/gdb/target.h index 7f6a2c5de9..f44d3e4754 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -559,8 +559,10 @@ child_pid_to_exec_file PARAMS ((int)); extern char * child_core_file_to_sym_file PARAMS ((char *)); +#if defined(CHILD_POST_ATTACH) extern void child_post_attach PARAMS ((int)); +#endif extern void child_post_wait PARAMS ((int, int));