]>
Commit | Line | Data |
---|---|---|
ae0ea72e SC |
1 | /* Host-dependent code for dos running GO32 for GDB, the GNU debugger. |
2 | Copyright 1992 | |
3 | Free Software Foundation, Inc. | |
4 | ||
5 | This file is part of GDB. | |
6 | ||
7 | This program is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation; either version 2 of the License, or | |
10 | (at your option) any later version. | |
11 | ||
12 | This program is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with this program; if not, write to the Free Software | |
19 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
20 | ||
21 | #include <stdio.h> | |
22 | ||
23 | static void uerror(char *s) | |
24 | { | |
25 | fprintf(stderr, "Fatal: %s!\n"); | |
26 | exit(1); | |
27 | } | |
28 | ||
29 | fork(){uerror("attempt to call fork()");} | |
30 | vfork(){uerror("attempt to call vfork()");} | |
31 | wait(){uerror("attempt to call wait()");} | |
32 | execlp(){uerror("attempt to call execlp()");} | |
33 | kill_inferior_fast(){uerror("attempt to call kill_inferior_fast()");} | |
34 | kill_inferior(){uerror("attempt to call kill_inferior()");} | |
35 | re_comp(){uerror("attempt to call re_comp()");} | |
36 | re_exec(){uerror("attempt to call re_exec()");} | |
37 | call_ptrace(){uerror("attempt to call call_ptrace()");} | |
38 | child_resume(){uerror("attempt to call child_resume()");} | |
39 | fetch_inferior_registers(){uerror("attempt to call fetch_inferior_registers()");} | |
40 | store_inferior_registers(){uerror("attempt to call store_inferior_registers()");} | |
41 | child_xfer_memory(){uerror("attempt to call child_xfer_memory()");} | |
42 | fetch_core_registers(){uerror("attempt to call fetch_core_registers()");} | |
43 |