1998-08-18 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Add more header files to AC_CHECK_HEADERS. * configure: Regenerated. * command.c: Include wait.h or sys/wait.h if present. * inftarg.c: Ditto. * core-aout.c: Include ptrace.h or sys/ptrace.h if present, based on autoconf test. * infptrace.c: Ditto. * expprint.c: Include ctype.h for isprint prototype. * i386aix-nat.c: Include sys/reg.h if autoconf says it is present. * i386v-nat.c: Include ptrace.h, sys/ptrace.h, and sys/reg.h if present, based on autoconf test. * utils.c: Include curses.h and term.h if present. (puts_debug): Change 'carriage_return' local variable to return_p to avoid name clash. * config/m68k/nm-apollo68b.h: Don't define PTRACE_IN_WRONG_PLACE, determine it with autoconf. * config/i386/nm-linux.h: Don't define NO_SYS_REG_H, determine it with autoconf. * config/i386/nm-i386sco.h: Don't define NO_PTRACE_H, determine it with autoconf. * config/i386/nm-i386v.h: Ditto. * config/i386/nm-symmetry.h: Ditto. * config/m88k/xm-cxux.h: Ditto. * config/m88k/xm-dgux.h: Ditto. * config/m68k/delta68.mh (NAT_FILE): nm-delta68.h no longer necessary. * config/m68k/nm-delta68.h: Removed.
This commit is contained in:
parent
1aecc7dccb
commit
4ff3dfab54
14 changed files with 386 additions and 417 deletions
|
@ -1,3 +1,37 @@
|
|||
1998-08-18 Jason Molenda (jsm@bugshack.cygnus.com)
|
||||
|
||||
* configure.in: Add more header files to AC_CHECK_HEADERS.
|
||||
* configure: Regenerated.
|
||||
|
||||
* command.c: Include wait.h or sys/wait.h if present.
|
||||
* inftarg.c: Ditto.
|
||||
* core-aout.c: Include ptrace.h or sys/ptrace.h if present, based
|
||||
on autoconf test.
|
||||
* infptrace.c: Ditto.
|
||||
|
||||
* expprint.c: Include ctype.h for isprint prototype.
|
||||
* i386aix-nat.c: Include sys/reg.h if autoconf says it is present.
|
||||
* i386v-nat.c: Include ptrace.h, sys/ptrace.h, and sys/reg.h if
|
||||
present, based on autoconf test.
|
||||
|
||||
* utils.c: Include curses.h and term.h if present.
|
||||
(puts_debug): Change 'carriage_return' local variable to return_p
|
||||
to avoid name clash.
|
||||
|
||||
* config/m68k/nm-apollo68b.h: Don't define PTRACE_IN_WRONG_PLACE,
|
||||
determine it with autoconf.
|
||||
* config/i386/nm-linux.h: Don't define NO_SYS_REG_H, determine it
|
||||
with autoconf.
|
||||
* config/i386/nm-i386sco.h: Don't define NO_PTRACE_H, determine it
|
||||
with autoconf.
|
||||
* config/i386/nm-i386v.h: Ditto.
|
||||
* config/i386/nm-symmetry.h: Ditto.
|
||||
* config/m88k/xm-cxux.h: Ditto.
|
||||
* config/m88k/xm-dgux.h: Ditto.
|
||||
|
||||
* config/m68k/delta68.mh (NAT_FILE): nm-delta68.h no longer necessary.
|
||||
* config/m68k/nm-delta68.h: Removed.
|
||||
|
||||
Fri Aug 14 11:14:03 1998 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* mn10300-tdep.c (set_movm_offsets): Change second argument to
|
||||
|
|
|
@ -26,6 +26,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_WAIT_H
|
||||
# include <wait.h>
|
||||
#else
|
||||
# ifdef HAVE_SYS_WAIT_H
|
||||
# include <sys/wait.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* Prototypes for local functions */
|
||||
|
||||
static void
|
||||
|
|
|
@ -199,6 +199,12 @@
|
|||
/* Define if you have the <argz.h> header file. */
|
||||
#undef HAVE_ARGZ_H
|
||||
|
||||
/* Define if you have the <ctype.h> header file. */
|
||||
#undef HAVE_CTYPE_H
|
||||
|
||||
/* Define if you have the <curses.h> header file. */
|
||||
#undef HAVE_CURSES_H
|
||||
|
||||
/* Define if you have the <endian.h> header file. */
|
||||
#undef HAVE_ENDIAN_H
|
||||
|
||||
|
@ -226,6 +232,9 @@
|
|||
/* Define if you have the <objlist.h> header file. */
|
||||
#undef HAVE_OBJLIST_H
|
||||
|
||||
/* Define if you have the <ptrace.h> header file. */
|
||||
#undef HAVE_PTRACE_H
|
||||
|
||||
/* Define if you have the <sgtty.h> header file. */
|
||||
#undef HAVE_SGTTY_H
|
||||
|
||||
|
@ -247,6 +256,18 @@
|
|||
/* Define if you have the <sys/procfs.h> header file. */
|
||||
#undef HAVE_SYS_PROCFS_H
|
||||
|
||||
/* Define if you have the <sys/ptrace.h> header file. */
|
||||
#undef HAVE_SYS_PTRACE_H
|
||||
|
||||
/* Define if you have the <sys/reg.h> header file. */
|
||||
#undef HAVE_SYS_REG_H
|
||||
|
||||
/* Define if you have the <sys/wait.h> header file. */
|
||||
#undef HAVE_SYS_WAIT_H
|
||||
|
||||
/* Define if you have the <term.h> header file. */
|
||||
#undef HAVE_TERM_H
|
||||
|
||||
/* Define if you have the <termio.h> header file. */
|
||||
#undef HAVE_TERMIO_H
|
||||
|
||||
|
@ -259,6 +280,9 @@
|
|||
/* Define if you have the <values.h> header file. */
|
||||
#undef HAVE_VALUES_H
|
||||
|
||||
/* Define if you have the <wait.h> header file. */
|
||||
#undef HAVE_WAIT_H
|
||||
|
||||
/* Define if you have the <wchar.h> header file. */
|
||||
#undef HAVE_WCHAR_H
|
||||
|
||||
|
|
|
@ -43,5 +43,4 @@ extern int child_wait PARAMS ((int, struct target_waitstatus *));
|
|||
#define KERNEL_U_ADDR (VA_UAREA) /* ptx */
|
||||
#else
|
||||
#define KERNEL_U_ADDR (0x80000000 - (UPAGES * NBPG)) /* dynix */
|
||||
#define NO_PTRACE_H
|
||||
#endif
|
||||
|
|
|
@ -2,5 +2,4 @@
|
|||
|
||||
XM_FILE= xm-delta68.h
|
||||
|
||||
NAT_FILE= nm-delta68.h
|
||||
NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o core-aout.o delta68-nat.o
|
||||
|
|
|
@ -17,8 +17,6 @@ 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||
|
||||
#define PTRACE_IN_WRONG_PLACE
|
||||
|
||||
#define FETCH_INFERIOR_REGISTERS
|
||||
|
||||
/* Tell gdb that we can attach and detach other processes */
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
/* Macro definitions for a Delta.
|
||||
Copyright (C) 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* Motorola Delta Series sysV68 R3V7.1. */
|
||||
|
||||
#define NO_PTRACE_H
|
|
@ -26,10 +26,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|||
#define USG 1
|
||||
#endif
|
||||
|
||||
/* Really native, but as long as only native files check this macro we
|
||||
are OK. */
|
||||
#define NO_PTRACE_H
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
#define x_foff _x_x._x_offset
|
||||
|
|
|
@ -26,10 +26,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|||
#define USG 1
|
||||
#endif
|
||||
|
||||
/* Really native, but as long as only native files check this macro we
|
||||
are OK. */
|
||||
#define NO_PTRACE_H
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
#ifdef __GNUC__
|
||||
|
|
668
gdb/configure
vendored
668
gdb/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -68,7 +68,11 @@ AC_ARG_PROGRAM
|
|||
AC_TYPE_SIGNAL
|
||||
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS(limits.h memory.h string.h strings.h unistd.h termios.h termio.h sgtty.h stddef.h stdlib.h sys/procfs.h link.h endian.h objlist.h libintl.h wctype.h wchar.h)
|
||||
AC_CHECK_HEADERS(ctype.h curses.h endian.h libintl.h limits.h link.h \
|
||||
memory.h objlist.h ptrace.h sgtty.h stddef.h stdlib.h \
|
||||
string.h strings.h sys/procfs.h sys/ptrace.h sys/reg.h \
|
||||
term.h termio.h termios.h unistd.h wait.h sys/wait.h \
|
||||
wchar.h wctype.h)
|
||||
|
||||
AC_HEADER_STAT
|
||||
|
||||
|
|
|
@ -23,6 +23,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|||
more machine specific. */
|
||||
|
||||
#include "defs.h"
|
||||
|
||||
#ifdef HAVE_PTRACE_H
|
||||
# include <ptrace.h>
|
||||
#else
|
||||
# ifdef HAVE_SYS_PTRACE_H
|
||||
# include <sys/ptrace.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
#include "gdbcore.h"
|
||||
|
@ -35,13 +44,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|||
#include <sys/file.h>
|
||||
#include "gdb_stat.h"
|
||||
#include <sys/user.h>
|
||||
#ifndef NO_PTRACE_H
|
||||
# ifdef PTRACE_IN_WRONG_PLACE
|
||||
# include <ptrace.h>
|
||||
# else /* !PTRACE_IN_WRONG_PLACE */
|
||||
# include <sys/ptrace.h>
|
||||
# endif /* !PTRACE_IN_WRONG_PLACE */
|
||||
#endif /* NO_PTRACE_H */
|
||||
#endif
|
||||
|
||||
#ifndef CORE_REGISTER_ADDR
|
||||
|
|
|
@ -43,7 +43,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|||
/* Does AIX define this in <errno.h>? */
|
||||
extern int errno;
|
||||
|
||||
#ifndef NO_SYS_REG_H
|
||||
#ifdef HAVE_SYS_REG_H
|
||||
#include <sys/reg.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -18,6 +18,15 @@ along with this program; if not, write to the Free Software
|
|||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include "defs.h"
|
||||
|
||||
#ifdef HAVE_PTRACE_H
|
||||
# include <ptrace.h>
|
||||
#else
|
||||
# ifdef HAVE_SYS_PTRACE_H
|
||||
# include <sys/ptrace.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include "frame.h"
|
||||
#include "inferior.h"
|
||||
#include "language.h"
|
||||
|
@ -41,7 +50,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|||
#include <sys/file.h>
|
||||
#include "gdb_stat.h"
|
||||
|
||||
#ifndef NO_SYS_REG_H
|
||||
#ifdef HAVE_SYS_REG_H
|
||||
#include <sys/reg.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue