X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftm-np1.h;h=75a36aff0f575b52c5849c09cc7893d11a5aa808;hb=310cc5704322805474df29cc1d0e89d0819e624c;hp=0bb1dccf3f7b0367518941366dac95e1e0265fe1;hpb=dd3b648e8b12ceb7bfce66e7f179b671403aea9c;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/tm-np1.h b/gdb/tm-np1.h index 0bb1dccf3f..75a36aff0f 100644 --- a/gdb/tm-np1.h +++ b/gdb/tm-np1.h @@ -1,21 +1,21 @@ /* Parameters for targeting on a Gould NP1, for GDB, the GNU debugger. - Copyright (C) 1986, 1987, 1989 Free Software Foundation, Inc. + Copyright (C) 1986, 1987, 1989, 1991 Free Software Foundation, Inc. This file is part of GDB. -GDB is free software; you can redistribute it and/or modify +This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 1, or (at your option) -any later version. +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. -GDB is distributed in the hope that it will be useful, +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with GDB; see the file COPYING. If not, write to -the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +along with this program; if not, write to the Free Software +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define GOULD_NPL @@ -78,9 +78,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ of external names before giving them to the linker. */ #define NAMES_HAVE_UNDERSCORE -/* Debugger information will be in DBX format. */ -#define READ_DBX_FORMAT - /* Address of blocks in N_LBRAC and N_RBRAC symbols are absolute addresses, not relative to start of source address. */ #define BLOCK_ADDRESS_ABSOLUTE @@ -329,12 +326,8 @@ extern struct type *builtin_type_np1_vector; /* FRAME_CHAIN takes a frame's nominal address and produces the frame's chain-pointer. - FRAME_CHAIN_COMBINE takes the chain pointer and the frame's nominal address - and produces the nominal address of the caller frame. - However, if FRAME_CHAIN_VALID returns zero, - it means the given frame is the outermost one and has no caller. - In that case, FRAME_CHAIN_COMBINE is not used. */ + it means the given frame is the outermost one and has no caller. */ /* In the case of the NPL, the frame's norminal address is Br2 and the previous routines frame is up the stack X bytes, where X is the @@ -344,9 +337,6 @@ extern struct type *builtin_type_np1_vector; #define FRAME_CHAIN_VALID(chain, thisframe) \ (chain != 0 && chain != (thisframe)->frame) -#define FRAME_CHAIN_COMBINE(chain, thisframe) \ - (chain) - /* Define other aspects of the stack frame on NPL. */ #define FRAME_SAVED_PC(FRAME) \ (read_memory_integer ((FRAME)->frame + 8, 4)) @@ -387,7 +377,8 @@ extern struct type *builtin_type_np1_vector; /* Things needed for making the inferior call functions. */ -#define CANNOT_EXECUTE_STACK +#define CALL_DUMMY_LOCATION BEFORE_TEXT_END +#define NEED_TEXT_START_END /* Push an empty stack frame, to record the current PC, etc. */