f46ffb9ebd
* exec.c (ignore): Return 0. * stack.c (return_command): Fetch lazy value directly, not via VALUE_CONTENTS, to avoid "value computed is not used". * inflow.c (new_tty): Move osigttou inside #if. * remote.c (remote_fetch_registers): If remote reply is short, just note that fact and keep going (reading extra registers as all bits 0). (remote_store_registers): Send number of registers that were found by remote_fetch_registers. * m68k-tdep.c, config/m68k/tm-m68k.h, config/m68k/tm-*.h: Remove HAVE_68881. Define CANNOT_STORE_REGISTER if ptrace() can't write floating registers. * config/m68k/{tm-m68k-nofp.h,m68k-nofp.mt,tm-m68k-fp.h,m68k-fp.mt}: Remove, replaced by {tm-m68k-em.h,m68k-em.mt}. * Makefile.in, configure.in: Change accordingly.
53 lines
2 KiB
C
53 lines
2 KiB
C
/* Parameters for target machine Hewlett-Packard 9000/300, running bsd.
|
|
Copyright 1986, 1987, 1989, 1991, 1992, 1993 Free Software Foundation, Inc.
|
|
|
|
This file is part of GDB.
|
|
|
|
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 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
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 this program; if not, write to the Free Software
|
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|
|
|
/* Configuration file for HP9000/300 series machine running BSD,
|
|
including Utah, Mt. Xinu or Berkeley variants. This is NOT for HP-UX.
|
|
Problems to hpbsd-bugs@cs.utah.edu. */
|
|
|
|
/* Define BPT_VECTOR if it is different than the default.
|
|
This is the vector number used by traps to indicate a breakpoint. */
|
|
|
|
#define BPT_VECTOR 0x2
|
|
|
|
#define TARGET_NBPG 4096
|
|
|
|
/* For 4.4 this would be 2, but it is OK for us to detect an area a
|
|
bit bigger than necessary. This way the same gdb binary can target
|
|
either 4.3 or 4.4. */
|
|
|
|
#define TARGET_UPAGES 3
|
|
|
|
/* On the HP300, sigtramp is in the u area. Gak! User struct is not
|
|
mapped to the same virtual address in user/kernel address space
|
|
(hence STACK_END_ADDR as opposed to KERNEL_U_ADDR). This tests
|
|
for the whole u area, since we don't necessarily have hp300bsd
|
|
include files around. */
|
|
|
|
/* For 4.4, it is actually right 20 bytes *before* STACK_END_ADDR, so
|
|
include that in the area we test for. */
|
|
|
|
#define SIGTRAMP_START (STACK_END_ADDR - 20)
|
|
#define SIGTRAMP_END (STACK_END_ADDR + TARGET_UPAGES * TARGET_NBPG)
|
|
|
|
/* Address of end of stack space. */
|
|
|
|
#define STACK_END_ADDR 0xfff00000
|
|
|
|
#include "m68k/tm-m68k.h"
|