486 lines
29 KiB
C
486 lines
29 KiB
C
/* OBSOLETE /* Definitions to make GDB run on Convex Unix (4bsd) */
|
||
/* OBSOLETE Copyright 1989, 1991, 1993 Free Software Foundation, Inc. */
|
||
/* OBSOLETE */
|
||
/* OBSOLETE This file is part of GDB. */
|
||
/* OBSOLETE */
|
||
/* OBSOLETE This program is free software; you can redistribute it and/or modify */
|
||
/* OBSOLETE it under the terms of the GNU General Public License as published by */
|
||
/* OBSOLETE the Free Software Foundation; either version 2 of the License, or */
|
||
/* OBSOLETE (at your option) any later version. */
|
||
/* OBSOLETE */
|
||
/* OBSOLETE This program is distributed in the hope that it will be useful, */
|
||
/* OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of */
|
||
/* OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
|
||
/* OBSOLETE GNU General Public License for more details. */
|
||
/* OBSOLETE */
|
||
/* OBSOLETE You should have received a copy of the GNU General Public License */
|
||
/* OBSOLETE along with this program; if not, write to the Free Software */
|
||
/* OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *x/ */
|
||
/* OBSOLETE */
|
||
/* OBSOLETE #define TARGET_BYTE_ORDER BIG_ENDIAN */
|
||
/* OBSOLETE */
|
||
/* OBSOLETE /* There is come problem with the debugging symbols generated by the */
|
||
/* OBSOLETE compiler such that the debugging symbol for the first line of a */
|
||
/* OBSOLETE function overlap with the function prologue. *x/ */
|
||
/* OBSOLETE #define PROLOGUE_FIRSTLINE_OVERLAP */
|
||
/* OBSOLETE */
|
||
/* OBSOLETE /* When convex pcc says CHAR or SHORT, it provides the correct address. *x/ */
|
||
/* OBSOLETE */
|
||
/* OBSOLETE #define BELIEVE_PCC_PROMOTION 1 */
|
||
/* OBSOLETE */
|
||
/* OBSOLETE /* Symbol types to ignore. *x/ */
|
||
/* OBSOLETE /* 0xc4 is N_MONPT. Use the numeric value for the benefit of people */
|
||
/* OBSOLETE with (rather) old OS's. *x/ */
|
||
/* OBSOLETE #define IGNORE_SYMBOL(TYPE) \ */
|
||
/* OBSOLETE (((TYPE) & ~N_EXT) == N_TBSS \ */
|
||
/* OBSOLETE || ((TYPE) & ~N_EXT) == N_TDATA \ */
|
||
/* OBSOLETE || ((TYPE) & ~N_EXT) == 0xc4) */
|
||
/* OBSOLETE */
|
||
/* OBSOLETE /* Offset from address of function to start of its code. */
|
||
/* OBSOLETE Zero on most machines. *x/ */
|
||
/* OBSOLETE */
|
||
/* OBSOLETE #define FUNCTION_START_OFFSET 0 */
|
||
/* OBSOLETE */
|
||
/* OBSOLETE /* Advance PC across any function entry prologue instructions */
|
||
/* OBSOLETE to reach some "real" code. */
|
||
/* OBSOLETE Convex prolog is: */
|
||
/* OBSOLETE [sub.w #-,sp] in one of 3 possible sizes */
|
||
/* OBSOLETE [mov psw,- fc/vc main program prolog */
|
||
/* OBSOLETE and #-,- (skip it because the "mov psw" saves the */
|
||
/* OBSOLETE mov -,psw] T bit, so continue gets a surprise trap) */
|
||
/* OBSOLETE [and #-,sp] fc/vc O2 main program prolog */
|
||
/* OBSOLETE [ld.- -(ap),-] pcc/gcc register arg loads */
|
||
/* OBSOLETE *x/ */
|
||
/* OBSOLETE */
|
||
/* OBSOLETE extern CORE_ADDR convex_skip_prologue (CORE_ADDR pc); |