aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorDavid Taylor <taylor@redhat.com>1999-01-19 15:29:06 +0000
committerDavid Taylor <taylor@redhat.com>1999-01-19 15:29:06 +0000
commitd69cff284b0f7f4fe97a0f67fb55651610db815f (patch)
tree004438c13f21f066a7ee71fbd343036cc6523e5e /gdb/target.h
parent3b067270734c946050e4d665f0d4adae0374161c (diff)
downloadgdb-d69cff284b0f7f4fe97a0f67fb55651610db815f.zip
gdb-d69cff284b0f7f4fe97a0f67fb55651610db815f.tar.gz
gdb-d69cff284b0f7f4fe97a0f67fb55651610db815f.tar.bz2
only declare child_post_attach if CHILD_POST_ATTACH is defined.
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 7f6a2c5..f44d3e4 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));