* gdbarch.sh (core_xfer_shared_libraries): New.
[deliverable/binutils-gdb.git] / gdb / config / i386 / nm-linux64.h
CommitLineData
92362027
AC
1/* Native support for GNU/Linux x86-64.
2
6aba47ca 3 Copyright 2001, 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
c4f35dd8
MK
4
5 Contributed by Jiri Smid, SuSE Labs.
53e95fcf
JS
6
7 This file is part of GDB.
8
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
a9762ec7 11 the Free Software Foundation; either version 3 of the License, or
53e95fcf
JS
12 (at your option) any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
a9762ec7 20 along with this program. If not, see <http://www.gnu.org/licenses/>. */
53e95fcf 21
9c1488cb
MK
22#ifndef NM_LINUX64_H
23#define NM_LINUX64_H
53e95fcf 24
c4f35dd8 25/* GNU/Linux supports the i386 hardware debugging registers. */
53e95fcf 26#define I386_USE_GENERIC_WATCHPOINTS
c4f35dd8 27
53e95fcf 28#include "i386/nm-i386.h"
c4f35dd8 29#include "config/nm-linux.h"
53e95fcf 30
c4f35dd8 31/* Support for 8-byte wide hardware watchpoints. */
53e95fcf
JS
32#define TARGET_HAS_DR_LEN_8 1
33
34/* Provide access to the i386 hardware debugging registers. */
35
430eaf2e 36extern void amd64_linux_dr_set_control (unsigned long control);
53e95fcf 37#define I386_DR_LOW_SET_CONTROL(control) \
430eaf2e 38 amd64_linux_dr_set_control (control)
53e95fcf 39
430eaf2e 40extern void amd64_linux_dr_set_addr (int regnum, CORE_ADDR addr);
53e95fcf 41#define I386_DR_LOW_SET_ADDR(regnum, addr) \
430eaf2e 42 amd64_linux_dr_set_addr (regnum, addr)
53e95fcf 43
430eaf2e 44extern void amd64_linux_dr_reset_addr (int regnum);
53e95fcf 45#define I386_DR_LOW_RESET_ADDR(regnum) \
430eaf2e 46 amd64_linux_dr_reset_addr (regnum)
53e95fcf 47
430eaf2e 48extern unsigned long amd64_linux_dr_get_status (void);
53e95fcf 49#define I386_DR_LOW_GET_STATUS() \
430eaf2e 50 amd64_linux_dr_get_status ()
53e95fcf 51
9c1488cb 52#endif /* nm-linux64.h */
This page took 0.400656 seconds and 4 git commands to generate.