* config/powerpc/nm-linux.h (NO_SYS_REG_H): Remove, it's no longer
[deliverable/binutils-gdb.git] / gdb / config / powerpc / nm-linux.h
CommitLineData
c877c8e6 1/* IBM PowerPC native-dependent macros for GDB, the GNU debugger.
b6ba6518 2 Copyright 1995, 2000 Free Software Foundation, Inc.
c877c8e6
KB
3
4This file is part of GDB.
5
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
18Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
19
20#ifndef NM_LINUX_H
863e0fe4
AO
21
22#include "nm-linux.h"
23
c877c8e6
KB
24#define NM_LINUX_H
25
26/* Return sizeof user struct to callers in less machine dependent routines */
27
28#define KERNEL_U_SIZE kernel_u_size()
a14ed312 29extern int kernel_u_size (void);
c877c8e6 30
c877c8e6
KB
31#define U_REGS_OFFSET 0
32
33#define REGISTER_U_ADDR(addr, blockend, regno) \
34 (addr) = ppc_register_u_addr ((blockend),(regno));
35
fdb28ac4
KB
36/* FIXME: kettenis/2000-09-03: This should be moved to ../nm-linux.h
37 once we have converted all Linux targets to use the new threads
38 stuff (without the #undef of course). */
c877c8e6 39
fdb28ac4
KB
40extern int lin_lwp_prepare_to_proceed (void);
41#undef PREPARE_TO_PROCEED
42#define PREPARE_TO_PROCEED(select_it) lin_lwp_prepare_to_proceed ()
c877c8e6 43
39f77062
KB
44extern void lin_lwp_attach_lwp (ptid_t ptid, int verbose);
45#define ATTACH_LWP(ptid, verbose) lin_lwp_attach_lwp ((ptid), (verbose))
c877c8e6 46
fdb28ac4 47#include <signal.h>
c877c8e6 48
fdb28ac4
KB
49extern void lin_thread_get_thread_signals (sigset_t *mask);
50#define GET_THREAD_SIGNALS(mask) lin_thread_get_thread_signals (mask)
c877c8e6
KB
51
52#endif /* #ifndef NM_LINUX_H */
This page took 0.093041 seconds and 4 git commands to generate.