1 /* Macro definitions for i386 running NetWare.
2 Copyright 1993, 1994, 1995, 1998, 1999, 2000
3 Free Software Foundation, Inc.
5 This file is part of GDB.
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.
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.
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., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
25 #include "i386/tm-i386.h"
27 /* Stop backtracing when we wander into main. */
29 #define FRAME_CHAIN_VALID(fp,fi) func_frame_chain_valid (fp, fi)
32 /* Offsets (in target ints) into jmp_buf. Not defined in any system header
33 file, so we have to step through setjmp/longjmp with a debugger and figure
36 #define JB_ELEMENT_SIZE 4 /* jmp_buf[] is array of ints */
38 #define JB_PC 6 /* Setjmp()'s return PC saved here */
40 /* Figure out where the longjmp will land. Slurp the args out of the stack.
41 We expect the first arg to be a pointer to the jmp_buf structure from which
42 we extract the pc (JB_PC) that we will land at. The pc is copied into ADDR.
43 This routine returns true on success */
45 extern int get_longjmp_target (CORE_ADDR
*);
47 #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR)
49 #endif /* ifndef TM_I386NW_H */
This page took 0.033654 seconds and 4 git commands to generate.