]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/amd64-linux-tdep.h
Copyright updates for 2007.
[thirdparty/binutils-gdb.git] / gdb / amd64-linux-tdep.h
CommitLineData
8695c747
DJ
1/* Target-dependent code for GNU/Linux AMD64.
2
6aba47ca 3 Copyright (C) 2006, 2007 Free Software Foundation, Inc.
8695c747
DJ
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., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA. */
21
22#ifndef AMD64_LINUX_TDEP_H
23#define AMD64_LINUX_TDEP_H
24
25/* Like for i386 GNU/Linux, there is an extra "register"
26 used to control syscall restarting. */
27
28/* Register number for the "orig_rax" register. If this register
29 contains a value >= 0 it is interpreted as the system call number
30 that the kernel is supposed to restart. */
31#define AMD64_LINUX_ORIG_RAX_REGNUM (AMD64_MXCSR_REGNUM + 1)
32
33/* Total number of registers for GNU/Linux. */
34#define AMD64_LINUX_NUM_REGS (AMD64_LINUX_ORIG_RAX_REGNUM + 1)
35
36#endif /* amd64-linux-tdep.h */