arch.h revision a400a7c858f81b3be051a37011d88f8639bee598
1/* 2 * This file is part of ltrace. 3 * Copyright (C) 2006,2011 Petr Machata 4 * Copyright (C) 2006 Ian Wienand 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License as 8 * published by the Free Software Foundation; either version 2 of the 9 * License, or (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, but 12 * WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 19 * 02110-1301 USA 20 */ 21 22#define ARCH_HAVE_DISABLE_BREAKPOINT 1 23#define ARCH_HAVE_ENABLE_BREAKPOINT 1 24#define ARCH_HAVE_FETCH_ARG 25#define ARCH_HAVE_FETCH_PACK 26 27#define BREAKPOINT_LENGTH 16 28#define BREAKPOINT_VALUE {0} 29#define DECR_PC_AFTER_BREAK 0 30#define ARCH_ENDIAN_LITTLE 31 32#define LT_ELFCLASS ELFCLASS64 33#define LT_ELF_MACHINE EM_IA_64 34 35// ia64 actually does use .opd, but we don't need to do the 36// translation manually. 37#undef ARCH_SUPPORTS_OPD 38