Home
last modified time | relevance | path

Searched refs:follow_fork (Results 1 – 25 of 32) sorted by relevance

12

/netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
Dfork-running-state.exp24 proc do_test { detach_on_fork follow_fork non_stop schedule_multiple } {
56 if {$detach_on_fork == "off" || $follow_fork == "child"} {
62 gdb_test_no_output "set follow-fork $follow_fork"
81 if {$detach_on_fork == "off" || $follow_fork == "child"} {
95 if {$detach_on_fork == "on" && $follow_fork == "child"} {
109 set test "only $follow_fork marked running"
115 gdb_assert [string eq $follow_fork "parent"] $test
118 gdb_assert [string eq $follow_fork "child"] $test
127 if {$detach_on_fork == "off" || $follow_fork == "parent"} {
130 if {$detach_on_fork == "off" || $follow_fork == "child"} {
Dstep-over-syscall.exp285 proc break_cond_on_syscall { syscall follow_fork detach_on_fork } {
302 gdb_test "set follow-fork-mode $follow_fork"
328 if { $follow_fork == "child" } {
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dobsd-nat.c158 obsd_nat_target::follow_fork (inferior *child_inf, ptid_t child_ptid, in follow_fork() function
162 inf_ptrace_target::follow_fork (child_inf, child_ptid, fork_kind, in follow_fork()
Dobsd-nat.h32 void follow_fork (inferior *inf, ptid_t, target_waitkind, bool, bool) override;
Dprocess-stratum-target.h79 void follow_fork (inferior *child_inf, ptid_t child_ptid,
Dprocess-stratum-target.c97 process_stratum_target::follow_fork (inferior *child_inf, ptid_t child_ptid, in follow_fork() function
Drs6000-aix-nat.c102 void follow_fork (inferior *, ptid_t, target_waitkind, bool, bool) override;
456 rs6000_nat_target::follow_fork (inferior *child_inf, ptid_t child_ptid, in follow_fork() function
466 inf_ptrace_target::follow_fork (child_inf, child_ptid, fork_kind, in follow_fork()
Dlinux-nat.h130 void follow_fork (inferior *, ptid_t, target_waitkind, bool, bool) override;
Dfbsd-nat.h104 void follow_fork (inferior *, ptid_t, target_waitkind, bool, bool) override;
Dtarget-delegates.c78 …void follow_fork (inferior *arg0, ptid_t arg1, target_waitkind arg2, bool arg3, bool arg4) overrid…
255 …void follow_fork (inferior *arg0, ptid_t arg1, target_waitkind arg2, bool arg3, bool arg4) overrid…
1463 target_ops::follow_fork (inferior *arg0, ptid_t arg1, target_waitkind arg2, bool arg3, bool arg4) in follow_fork() function
1465 this->beneath ()->follow_fork (arg0, arg1, arg2, arg3, arg4); in follow_fork()
1469 dummy_target::follow_fork (inferior *arg0, ptid_t arg1, target_waitkind arg2, bool arg3, bool arg4) in follow_fork() function
1475 debug_target::follow_fork (inferior *arg0, ptid_t arg1, target_waitkind arg2, bool arg3, bool arg4) in follow_fork() function
1478 this->beneath ()->follow_fork (arg0, arg1, arg2, arg3, arg4); in follow_fork()
Dfbsd-nat.c2191 fbsd_nat_target::follow_fork (inferior *child_inf, ptid_t child_ptid, in follow_fork() function
2195 inf_ptrace_target::follow_fork (child_inf, child_ptid, fork_kind, in follow_fork()
Dlinux-nat.c513 linux_nat_target::follow_fork (inferior *child_inf, ptid_t child_ptid, in follow_fork() function
517 inf_ptrace_target::follow_fork (child_inf, child_ptid, fork_kind, in follow_fork()
Dtarget.h659 virtual void follow_fork (inferior *, ptid_t, target_waitkind, bool, bool)
DChangeLog-20212591 * target.h (struct target_ops) <follow_fork>: Return void.
2596 * fbsd-nat.h (class fbsd_nat_target) <follow_fork>: Return void.
2597 * fbsd-nat.c (fbsd_nat_target:::follow_fork): Likewise.
2598 * linux-nat.h (class linux_nat_target) <follow_fork>: Likewise.
2599 * linux-nat.c (linux_nat_target::follow_fork): Return void.
2600 * obsd-nat.h (class obsd_nat_target) <follow_fork>: Return void.
2601 * obsd-nat.c (obsd_nat_target::follow_fork): Likewise.
2602 * remote.c (class remote_target) <follow_fork>: Likewise.
2603 (remote_target::follow_fork): Likewise.
Dinfrun.c743 follow_fork () in follow_fork() function
3607 if (!follow_fork ()) in proceed()
6397 should_resume = follow_fork (); in handle_inferior_event()
DChangeLog-202011731 * infrun.c (follow_fork): Copy current_line and current_symtab to
12202 * inf-ptrace.h (follow_fork, insert_fork_catchpoint)
12205 * obsd-nat.h (follow_fork, insert_fork_catchpoint)
12208 * inf-ptrace.c (follow_fork, insert_fork_catchpoint)
12211 * obsd-nat.c (follow_fork, insert_fork_catchpoint)
13855 * fbsd-nat.c (fbsd_nat_target::follow_fork): Change bool to int.
13856 * fbsd-nat.h (class fbsd_nat_target) <follow_fork>: Likewise.
13857 * inf-ptrace.c (inf_ptrace_target::follow_fork): Likewise.
13858 * inf-ptrace.h (struct inf_ptrace_target) <follow_fork>: Likewise.
13859 * infrun.c (follow_fork): Likewise.
[all …]
Dtarget.c2723 return target->follow_fork (child_inf, child_ptid, fork_kind, follow_child, in target_follow_fork()
DChangeLog-19981370 (follow_fork): Added parameters. additional code for handling
1373 fork. Additional params to follow_fork call.
1392 (follow_inferior_fork): Does what follow_fork did!
1393 (follow_fork): Is now a wrapper function for follow_inferior_fork
1436 Change parameters in calls to follow_fork, follow_vfork, and
1470 (follow_fork): New function. implements the follow parent,
Dremote.c1108 void follow_fork (inferior *, ptid_t, target_waitkind, bool, bool) override;
6510 remote_target::follow_fork (inferior *child_inf, ptid_t child_ptid, in follow_fork() function
6514 process_stratum_target::follow_fork (child_inf, child_ptid, in follow_fork()
DChangeLog-20098882 * infrun.c (follow_fork): Initialize new step_* locals
8902 (follow_fork): Handle pending follow fork event here. Moved the
8910 Call `follow_fork' to handle following the fork. If the
DChangeLog-2002583 (follow_fork, init_wait_for_inferior, handle_inferior_event): Remove
753 * infrun.c (follow_fork, follow_vfork, follow_inferior_fork): Remove.
754 (follow_fork): New function. Call target_follow_fork.
DChangeLog-20156365 * infrun.c (follow_fork, displaced_step_prepare, resume): Remove
9834 parent before follow_fork completes.
DChangeLog-20185956 * linux-nat.c (linux_nat_target::follow_fork): Avoid using
11143 (linux_nat_target::follow_fork, lwp_free, add_lwp, detach_one_lwp)
DChangeLog-20143183 * infrun.c (follow_fork): Call follow_fork_inferior instead of
8461 * infrun.c (follow_fork): Copy the new thread control field to the
/netbsd/src/external/gpl3/binutils/dist/
DChangeLog.git16282 Following the follow_fork model in core GDB, we introduce a
31427 So then I started looking at follow_fork, which is called from the top
31440 2. In follow_fork, and follow_fork_inferior, GDB switches the
31792 create_inferior, and follow_fork methods.
54326 fork, an amd_dbgapi_target::follow_fork method would not get called.
54523 The reason that this can't be done through target_ops::follow_fork is
66320 ... follow_fork notices that thread 1 had last stopped for a fork
66335 ... GDB does the same: follow_fork notices that thread 1 had last
66348 So this patch changes GDB in that direction -- in follow_fork, if
66377 Make follow_fork not rely on get_last_target_status
[all …]

12