xref: /openbsd/gnu/usr.bin/binutils/gdb/config/nm-gnu.h (revision 63addd46)
1e93f7393Sniklas /* Common declarations for the GNU Hurd
2e93f7393Sniklas 
3b725ae77Skettenis    Copyright 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
4e93f7393Sniklas 
5e93f7393Sniklas    Written by Miles Bader <miles@gnu.ai.mit.edu>
6e93f7393Sniklas 
7e93f7393Sniklas    The GNU Hurd is free software; you can redistribute it and/or
8e93f7393Sniklas    modify it under the terms of the GNU General Public License as
9e93f7393Sniklas    published by the Free Software Foundation; either version 2, or (at
10e93f7393Sniklas    your option) any later version.
11e93f7393Sniklas 
12e93f7393Sniklas    The GNU Hurd is distributed in the hope that it will be useful, but
13e93f7393Sniklas    WITHOUT ANY WARRANTY; without even the implied warranty of
14e93f7393Sniklas    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15e93f7393Sniklas    General Public License for more details.
16e93f7393Sniklas 
17e93f7393Sniklas    You should have received a copy of the GNU General Public License
18e93f7393Sniklas    along with this program; if not, write to the Free Software
19b725ae77Skettenis    Foundation, Inc., 59 Temple Place - Suite 330,
20b725ae77Skettenis    Boston, MA 02111-1307, USA. */
21e93f7393Sniklas 
22e93f7393Sniklas #ifndef __NM_GNU_H__
23e93f7393Sniklas #define __NM_GNU_H__
24e93f7393Sniklas 
25e93f7393Sniklas #include <unistd.h>
26e93f7393Sniklas #include <mach.h>
27e93f7393Sniklas #include <mach/exception.h>
28b725ae77Skettenis #include "regcache.h"
29e93f7393Sniklas 
30e93f7393Sniklas extern char *gnu_target_pid_to_str (int pid);
31e93f7393Sniklas 
32e93f7393Sniklas /* Before storing, we need to read all the registers.  */
33*63addd46Skettenis #define CHILD_PREPARE_TO_STORE() deprecated_read_register_bytes (0, NULL, deprecated_register_bytes ())
34e93f7393Sniklas 
35e93f7393Sniklas /* Don't do wait_for_inferior on attach.  */
36e93f7393Sniklas #define ATTACH_NO_WAIT
37e93f7393Sniklas 
38e93f7393Sniklas /* Use SVR4 style shared library support */
39b725ae77Skettenis #include "solib.h"
40e93f7393Sniklas 
41e93f7393Sniklas #endif /* __NM_GNU_H__ */
42