Commit | Line | Data |
---|---|---|
68cc0bfb | 1 | /* Native-dependent definitions for FreeBSD/amd64. |
7e654c37 MK |
2 | |
3 | Copyright 2003, 2004 Free Software Foundation, Inc. | |
68cc0bfb MK |
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., 59 Temple Place - Suite 330, | |
20 | Boston, MA 02111-1307, USA. */ | |
21 | ||
22 | #ifndef NM_FBSD64_H | |
23 | #define NM_FBSD64_H | |
24 | ||
25 | /* Type of the third argument to the `ptrace' system call. */ | |
26 | #define PTRACE_ARG3_TYPE caddr_t | |
27 | ||
28 | /* Override copies of {fetch,store}_inferior_registers in `infptrace.c'. */ | |
29 | #define FETCH_INFERIOR_REGISTERS | |
30 | ||
31 | /* Override child_pid_to_exec_file in 'inftarg.c'. */ | |
32 | #define CHILD_PID_TO_EXEC_FILE | |
33 | ||
34 | /* We can attach and detach. */ | |
35 | #define ATTACH_DETACH | |
68cc0bfb MK |
36 | |
37 | #endif /* nm-fbsd64.h */ |