1d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata/* 2d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata * This file is part of ltrace. 3d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata * Copyright (C) 2010 Edgar E. Iglesias 4d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata * 5d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata * This program is free software; you can redistribute it and/or 6d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata * modify it under the terms of the GNU General Public License as 7d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata * published by the Free Software Foundation; either version 2 of the 8d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata * License, or (at your option) any later version. 9d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata * 10d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata * This program is distributed in the hope that it will be useful, but 11d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata * WITHOUT ANY WARRANTY; without even the implied warranty of 12d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata * General Public License for more details. 14d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata * 15d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata * You should have received a copy of the GNU General Public License 16d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata * along with this program; if not, write to the Free Software 17d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 18d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata * 02110-1301 USA 19d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata */ 20d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata 21b1dda4bc2c78429823a5ca7699f3207a7aea2371Edgar E. Iglesias#define BREAKPOINT_VALUE { 0x38, 0xe9 } 22b1dda4bc2c78429823a5ca7699f3207a7aea2371Edgar E. Iglesias#define BREAKPOINT_LENGTH 2 23b1dda4bc2c78429823a5ca7699f3207a7aea2371Edgar E. Iglesias#define DECR_PC_AFTER_BREAK 0 24d5285b23e7e515ccb6afdb82fae32a608bb28a2fPetr Machata#define ARCH_ENDIAN_LITTLE 25b1dda4bc2c78429823a5ca7699f3207a7aea2371Edgar E. Iglesias 26b1dda4bc2c78429823a5ca7699f3207a7aea2371Edgar E. Iglesias#define LT_ELFCLASS ELFCLASS32 27b1dda4bc2c78429823a5ca7699f3207a7aea2371Edgar E. Iglesias#define LT_ELF_MACHINE EM_CRIS 28