aboutsummaryrefslogtreecommitdiff
path: root/gdb/go32-xdep.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-09-22 05:23:57 +0000
committerJohn Gilmore <gnu@cygnus>1992-09-22 05:23:57 +0000
commitb28d3617236dc9959a7b21ddd4437adcb0468226 (patch)
tree40f2d2807b88904036bb87cc362084fab7687afe /gdb/go32-xdep.c
parent6b50c5c2428aa5a204cd4a28028f3853620fe336 (diff)
downloadgdb-b28d3617236dc9959a7b21ddd4437adcb0468226.zip
gdb-b28d3617236dc9959a7b21ddd4437adcb0468226.tar.gz
gdb-b28d3617236dc9959a7b21ddd4437adcb0468226.tar.bz2
Remove kill_inferior_fast, in favor of target_kill, which goes
through the target vector. * inferior.h (kill_inferior_fast): remove declaration. * main.c (disconnect): call quit_cover using catch_errors rather than calling kill_inferior_fast directly. New way goes through the target vector, handles attached processes, and writes command history if appropriate. (quit_cover): new function, wrapper for quit_command. * convex-xdep.c, go32-xdep.c, hppabsd-xdep.c, hppahpux-xdep.c, infptrace.c, procfs.c: Removed all instances of kill_inferior_fast, inlining them into the local kill_inferior when needed.
Diffstat (limited to 'gdb/go32-xdep.c')
-rw-r--r--gdb/go32-xdep.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/go32-xdep.c b/gdb/go32-xdep.c
index a929940..b546121 100644
--- a/gdb/go32-xdep.c
+++ b/gdb/go32-xdep.c
@@ -1,6 +1,5 @@
/* Host-dependent code for dos running GO32 for GDB, the GNU debugger.
- Copyright 1992
- Free Software Foundation, Inc.
+ Copyright 1992 Free Software Foundation, Inc.
This file is part of GDB.
@@ -30,7 +29,6 @@ fork(){uerror("attempt to call fork()");}
vfork(){uerror("attempt to call vfork()");}
wait(){uerror("attempt to call wait()");}
execlp(){uerror("attempt to call execlp()");}
-kill_inferior_fast(){uerror("attempt to call kill_inferior_fast()");}
kill_inferior(){uerror("attempt to call kill_inferior()");}
re_comp(){uerror("attempt to call re_comp()");}
re_exec(){uerror("attempt to call re_exec()");}