summaryrefslogtreecommitdiffstats
path: root/gdb/infttrace.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-12-12 01:39:34 +0000
committerDaniel Jacobowitz <drow@false.org>2002-12-12 01:39:34 +0000
commit4c9ba7e0a610fe6e6c9b96a493a5cf3d8cce761d (patch)
tree4bcfeebc176aae98fb181f6ebec68151aeeef4fc /gdb/infttrace.c
parent0394eb2acb98a44baf700c4811bf47d39a542c87 (diff)
downloadppe42-binutils-4c9ba7e0a610fe6e6c9b96a493a5cf3d8cce761d.tar.gz
ppe42-binutils-4c9ba7e0a610fe6e6c9b96a493a5cf3d8cce761d.zip
* corelow.c (init_core_ops): Delete references to to_require_attach
and to_require_detach. * exec.c (init_exec_ops): Likewise. * hppah-nat.c (child_follow_fork): Call hppa_require_attach and hppa_require_detach directly. * inferior.h (REQUIRE_ATTACH, REQUIRE_DETACH): Delete. * inftarg.c (child_detach): Remove. (child_detach_from_process): Rename to child_detach, remove after_fork argument. (child_attach): Remove. (child_attach_to_process): Rename to child_attach, remove after_fork argument. (init_child_ops): Delete references to to_require_attach and to_require_detach. * infttrace.c (hppa_require_attach): Update comment. * target.c (cleanup_target, update_current_target) (init_dummy_target, setup_target_debug): Delete references to to_require_attach and to_require_detach. (find_default_require_detach, find_default_require_attach) (debug_to_require_attach, debug_to_require_detach): Remove functions. * target.h (struct target_ops): Remove to_require_attach and to_require_detach. (target_require_attach, target_require_detach): Delete macros. (find_default_require_detach, find_default_require_attach): Delete prototypes. * config/pa/nm-hppah.h (REQUIRE_ATTACH, REQUIRE_DETACH): Delete.
Diffstat (limited to 'gdb/infttrace.c')
-rw-r--r--gdb/infttrace.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/infttrace.c b/gdb/infttrace.c
index 69a67dfa1b..589a0e237b 100644
--- a/gdb/infttrace.c
+++ b/gdb/infttrace.c
@@ -5050,9 +5050,7 @@ pre_fork_inferior (void)
}
}
-/* Called via #define REQUIRE_ATTACH from inftarg.c,
- * ultimately from "follow_inferior_fork" in infrun.c,
- * itself called from "resume".
+/* Called from child_follow_fork in hppah-nat.c.
*
* This seems to be intended to attach after a fork or
* vfork, while "attach" is used to attach to a pid
OpenPOWER on IntegriCloud