GDB (API)
|
00001 /* Native definitions for alpha running OSF/1-3.x and higher, using procfs. 00002 Copyright (C) 1995-2013 Free Software Foundation, Inc. 00003 00004 This file is part of GDB. 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 3 of the License, or 00009 (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00018 00019 /* Number of traps that happen between exec'ing the shell 00020 to run an inferior, and when we finally get to 00021 the inferior code. This is 2 on most implementations. */ 00022 #define START_INFERIOR_TRAPS_EXPECTED 3 00023 00024 /* Don't trace faults under OSF/1, rely on the posting of the appropriate 00025 signal if fault tracing is disabled. 00026 Tracing T_IFAULT under Alpha OSF/1 causes a `floating point enable' 00027 fault from which we cannot continue (except by disabling the 00028 tracing). 00029 And as OSF/1 doesn't provide the standard fault definitions, the 00030 mapping of faults to appropriate signals in procfs_wait is difficult. */ 00031 #define PROCFS_DONT_TRACE_FAULTS 00032 00033 /* Work around some peculiarities in the OSF/1 procfs implementation. */ 00034 #define PROCFS_NEED_CLEAR_CURSIG_FOR_KILL