3950a34e45
to_notice_signals. * inferior.h (proc_signal_handling_change): prototype removed. * infrun.c (NOTICE_SIGNAL_HANDLING_CHANGE): default removed. (handle_command): now calls target_notice_signals. * procfs.c (proc_signal_handling_change): renamed to procfs_notice_signals. Now static. Add prototype. All callers changed. * target.h (struct target_ops): new field, to_notice_signals. (target_notice_signals): new macro to cover new field. * target.c (cleanup_target): default to_notice_signals to ignore. * corelow.c (core_ops), exec.c (exec_ops), inftarg.c (child_ops), procfs.c (procfs_ops), remote-adapt.c (adapt-ops), remote-eb.c (eb_ops), remote-es1800.c (es1800_ops, es1800_child_ops), remote-hms.c (hms_ops), remote-mm.c (mm_ops), remote-nindy.c (nindy_ops), remote-st2000.c (st2000_ops), remote-udi.c (udi_ops), remote-vx.c (vx_ops, vx_run_ops), remote.c (remote_ops), target.c (dummy_target), xcoffexec.c (exec_ops): added static initializer for to_notice_signals. * xm-irix4.h, xm-sysv4.h (NOTICE_SIGNAL_HANDLING_CHANGE): removed.
64 lines
1.9 KiB
C
64 lines
1.9 KiB
C
/* Definitions for running gdb on a host machine running any flavor of SVR4.
|
|
Copyright 1991, 1992 Free Software Foundation, Inc.
|
|
Written by Fred Fish at Cygnus Support (fnf@cygnus.com).
|
|
|
|
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. */
|
|
|
|
/* Use SVR4 style shared library support */
|
|
|
|
#define SVR4_SHARED_LIBS
|
|
|
|
/* SVR4 has /proc support, so use it instead of ptrace. */
|
|
|
|
#define USE_PROC_FS
|
|
|
|
/* SVR4 has termio facilities. */
|
|
|
|
#define HAVE_TERMIO
|
|
|
|
/* SVR4 has mmap facilities */
|
|
|
|
#define HAVE_MMAP
|
|
|
|
/* TIOCGETC and TIOCGLTC are picked up somewhere, but struct tchars
|
|
and struct ltchars are not. This makes problems for inflow.c.
|
|
It is unknown at this time if this is a generic SVR4 problem or
|
|
one just limited to the initial SVR4 port host machine. */
|
|
|
|
#define TIOCGETC_BROKEN
|
|
#define TIOCGLTC_BROKEN
|
|
|
|
/* SVR4 is a derivative of System V Release 3 (USG) */
|
|
|
|
#define USG
|
|
|
|
/* Get rid of any system-imposed stack limit if possible. */
|
|
|
|
/* #define SET_STACK_LIMIT_HUGE */
|
|
|
|
/* SVR4 machines can easily do attach and detach via /proc (procfs.c)
|
|
support */
|
|
|
|
#define ATTACH_DETACH
|
|
|
|
/* Use setpgid(0,0) to run inferior in a separate process group */
|
|
|
|
#define NEED_POSIX_SETPGID
|
|
|
|
/* We have to include these files now, so that GDB will not make
|
|
competing definitions in defs.h. */
|
|
#include <limits.h>
|