diff options
author | Daniel Jacobowitz <dan@debian.org> | 2004-09-21 20:44:23 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2004-09-21 20:44:23 +0000 |
commit | 1b4c63dda5cd2b37f964092a5c53b865e172ff55 (patch) | |
tree | 2922f92b03a4d8e43376ae32c18a7063b86b45e2 /gdb/infptrace.c | |
parent | fca010d7bfaeb7657a222ae31a1ac6d2ff8b22a9 (diff) | |
download | gdb-1b4c63dda5cd2b37f964092a5c53b865e172ff55.tar.gz |
Merge from mainline.drow_intercu-20040221-branchcvs/drow_intercu-20040221-branch
Diffstat (limited to 'gdb/infptrace.c')
-rw-r--r-- | gdb/infptrace.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/gdb/infptrace.c b/gdb/infptrace.c index fb7736c2fc5..a9abbf2c39a 100644 --- a/gdb/infptrace.c +++ b/gdb/infptrace.c @@ -148,7 +148,11 @@ ptrace_wait (ptid_t ptid, int *status) return wstate; } -#ifndef KILL_INFERIOR +#ifndef DEPRECATED_KILL_INFERIOR +/* NOTE: cagney/2004-09-12: Instead of definining this macro, code + should call inf_ptrace_target to get a basic ptrace target and then + locally update any necessary methods. See ppcnbsd-nat.c. */ + void kill_inferior (void) { @@ -170,9 +174,12 @@ kill_inferior (void) ptrace_wait (null_ptid, &status); target_mourn_inferior (); } -#endif /* KILL_INFERIOR */ +#endif /* DEPRECATED_KILL_INFERIOR */ -#ifndef CHILD_RESUME +#ifndef DEPRECATED_CHILD_RESUME +/* NOTE: cagney/2004-09-12: Instead of definining this macro, code + should call inf_ptrace_target to get a basic ptrace target and then + locally update any necessary methods. See ppcnbsd-nat.c. */ /* Resume execution of the inferior process. If STEP is nonzero, single-step it. @@ -211,7 +218,7 @@ child_resume (ptid_t ptid, int step, enum target_signal signal) if (errno != 0) perror_with_name ("ptrace"); } -#endif /* CHILD_RESUME */ +#endif /* DEPRECATED_CHILD_RESUME */ /* Start debugging the process whose number is PID. */ |