aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/target.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ddf907b..b6b9ab9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Tue Jan 19 10:27:23 1999 David Taylor <taylor@texas.cygnus.com>
+
+ * target.h (child_post_attach): only declare if CHILD_POST_ATTACH
+ is define.
+
Tue Jan 19 18:07:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
* corelow.c (solib_add_stub): Ditto.
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));