OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gdb/] [gdb-6.8/] [gdb/] [config/] [i386/] [nm-linux.h] - Blame information for rev 25

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 25 jlechner
/* Native support for GNU/Linux x86.
2
 
3
   Copyright 1986, 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
   2000, 2001, 2002, 2003, 2005, 2007, 2008 Free Software Foundation, Inc.
5
 
6
   This file is part of GDB.
7
 
8
   This program is free software; you can redistribute it and/or modify
9
   it under the terms of the GNU General Public License as published by
10
   the Free Software Foundation; either version 3 of the License, or
11
   (at your option) any later version.
12
 
13
   This program is distributed in the hope that it will be useful,
14
   but WITHOUT ANY WARRANTY; without even the implied warranty of
15
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
   GNU General Public License for more details.
17
 
18
   You should have received a copy of the GNU General Public License
19
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
20
 
21
#ifndef NM_LINUX_H
22
#define NM_LINUX_H
23
 
24
/* GNU/Linux supports the i386 hardware debugging registers.  */
25
#define I386_USE_GENERIC_WATCHPOINTS
26
 
27
#include "i386/nm-i386.h"
28
#include "config/nm-linux.h"
29
 
30
/* Provide access to the i386 hardware debugging registers.  */
31
 
32
extern void i386_linux_dr_set_control (unsigned long control);
33
#define I386_DR_LOW_SET_CONTROL(control) \
34
  i386_linux_dr_set_control (control)
35
 
36
extern void i386_linux_dr_set_addr (int regnum, CORE_ADDR addr);
37
#define I386_DR_LOW_SET_ADDR(regnum, addr) \
38
  i386_linux_dr_set_addr (regnum, addr)
39
 
40
extern void i386_linux_dr_reset_addr (int regnum);
41
#define I386_DR_LOW_RESET_ADDR(regnum) \
42
  i386_linux_dr_reset_addr (regnum)
43
 
44
extern unsigned long i386_linux_dr_get_status (void);
45
#define I386_DR_LOW_GET_STATUS() \
46
  i386_linux_dr_get_status ()
47
 
48
 
49
#ifdef HAVE_PTRACE_GETFPXREGS
50
/* Include register set support for the SSE registers.  */
51
#define FILL_FPXREGSET
52
#endif
53
 
54
#endif /* nm-linux.h */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.