1130803Smarcel// OBSOLETE /* Native definitions for GDB on DECstations, Sony News. and MIPS Riscos systems 2130803Smarcel// OBSOLETE Copyright 1986, 1987, 1989, 1992, 1995, 1996, 2000 3130803Smarcel// OBSOLETE Free Software Foundation, Inc. 4130803Smarcel// OBSOLETE Contributed by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin 5130803Smarcel// OBSOLETE and by Alessandro Forin(af@cs.cmu.edu) at CMU 6130803Smarcel// OBSOLETE 7130803Smarcel// OBSOLETE This file is part of GDB. 8130803Smarcel// OBSOLETE 9130803Smarcel// OBSOLETE This program is free software; you can redistribute it and/or modify 10130803Smarcel// OBSOLETE it under the terms of the GNU General Public License as published by 11130803Smarcel// OBSOLETE the Free Software Foundation; either version 2 of the License, or 12130803Smarcel// OBSOLETE (at your option) any later version. 13130803Smarcel// OBSOLETE 14130803Smarcel// OBSOLETE This program is distributed in the hope that it will be useful, 15130803Smarcel// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of 16130803Smarcel// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17130803Smarcel// OBSOLETE GNU General Public License for more details. 18130803Smarcel// OBSOLETE 19130803Smarcel// OBSOLETE You should have received a copy of the GNU General Public License 20130803Smarcel// OBSOLETE along with this program; if not, write to the Free Software 21130803Smarcel// OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, 22130803Smarcel// OBSOLETE Boston, MA 02111-1307, USA. */ 23130803Smarcel// OBSOLETE 24130803Smarcel// OBSOLETE /* Override copies of {fetch,store}_inferior_registers in infptrace.c. */ 25130803Smarcel// OBSOLETE #define FETCH_INFERIOR_REGISTERS 26130803Smarcel// OBSOLETE 27130803Smarcel// OBSOLETE /* Figure out where the longjmp will land. We expect that we have just entered 28130803Smarcel// OBSOLETE longjmp and haven't yet setup the stack frame, so the args are still in the 29130803Smarcel// OBSOLETE argument regs. a0 (CALL_ARG0) points at the jmp_buf structure from which we 30130803Smarcel// OBSOLETE extract the pc (JB_PC) that we will land at. The pc is copied into ADDR. 31130803Smarcel// OBSOLETE This routine returns true on success */ 32130803Smarcel// OBSOLETE 33130803Smarcel// OBSOLETE #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR) 34130803Smarcel// OBSOLETE extern int get_longjmp_target (CORE_ADDR *); 35