From: Andrew Cagney Date: Mon, 16 Feb 2004 23:59:43 +0000 (+0000) Subject: 2004-02-09 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39ce7b3fe1008f7f6100d4ab52be3bf39e2fba96;p=binutils-gdb.git 2004-02-09 Andrew Cagney * config/alpha/tm-nbsd.h: Update copyright, delete #undef START_INFERIOR_TRAPS_EXPECTED. * config/alpha/tm-fbsd.h: Update copyright, delete #undef START_INFERIOR_TRAPS_EXPECTED. * config/alpha/tm-alphalinux.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro. * config/alpha/tm-alpha.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro, moved to "nm-osf.h". Update copyright. * config/alpha/nm-osf.h (START_INFERIOR_TRAPS_EXPECTED): Define, update copyright. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e4d7524a495..b7a112cb824 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,16 @@ 2004-02-09 Andrew Cagney + * config/alpha/tm-nbsd.h: Update copyright, delete #undef + START_INFERIOR_TRAPS_EXPECTED. + * config/alpha/tm-fbsd.h: Update copyright, delete #undef + START_INFERIOR_TRAPS_EXPECTED. + * config/alpha/tm-alphalinux.h (START_INFERIOR_TRAPS_EXPECTED): + Delete macro. + * config/alpha/tm-alpha.h (START_INFERIOR_TRAPS_EXPECTED): Delete + macro, moved to "nm-osf.h". Update copyright. + * config/alpha/nm-osf.h (START_INFERIOR_TRAPS_EXPECTED): Define, + update copyright. + * gdbarch.sh (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION): Predicate and function replacing FRAMELESS_FUNCTION_INVOCATION. * blockframe.c (legacy_frameless_look_for_prologue): Rename diff --git a/gdb/config/alpha/nm-osf.h b/gdb/config/alpha/nm-osf.h index 73006fe5bdd..326bb3005ca 100644 --- a/gdb/config/alpha/nm-osf.h +++ b/gdb/config/alpha/nm-osf.h @@ -1,5 +1,7 @@ /* Native definitions for alpha running OSF/1. - Copyright 1993, 1994, 1995, 1998, 2000 Free Software Foundation, Inc. + + Copyright 1993, 1994, 1995, 1998, 2000, 2004 Free Software + Foundation, Inc. This file is part of GDB. @@ -18,6 +20,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* Number of traps that happen between exec'ing the shell + to run an inferior, and when we finally get to + the inferior code. This is 2 on most implementations. */ +#define START_INFERIOR_TRAPS_EXPECTED 3 + /* ptrace register ``addresses'' are absolute. */ #define U_REGS_OFFSET 0 diff --git a/gdb/config/alpha/tm-alpha.h b/gdb/config/alpha/tm-alpha.h index 1b93e76b799..0b7878c58a0 100644 --- a/gdb/config/alpha/tm-alpha.h +++ b/gdb/config/alpha/tm-alpha.h @@ -1,7 +1,7 @@ /* Definitions to make GDB run on an Alpha box under OSF1. This is also used by the Alpha/Netware and Alpha GNU/Linux targets. - Copyright 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2002 Free + Copyright 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2002, 2004 Free Software Foundation, Inc. This file is part of GDB. @@ -31,11 +31,6 @@ struct frame_info; struct symbol; -/* Number of traps that happen between exec'ing the shell - to run an inferior, and when we finally get to - the inferior code. This is 2 on most implementations. */ -#define START_INFERIOR_TRAPS_EXPECTED 3 - /* Special symbol found in blocks associated with routines. We can hang alpha_extra_func_info_t's off of this. */ diff --git a/gdb/config/alpha/tm-alphalinux.h b/gdb/config/alpha/tm-alphalinux.h index 30ae4f756f3..ca1c0f889a8 100644 --- a/gdb/config/alpha/tm-alphalinux.h +++ b/gdb/config/alpha/tm-alphalinux.h @@ -2,8 +2,8 @@ definitions here are used when the _target_ system is running GNU/Linux. - Copyright 1996, 1998, 1999, 2000, 2002, 2003 - Free Software Foundation, Inc. + Copyright 1996, 1998, 1999, 2000, 2002, 2003, 2004 Free Software + Foundation, Inc. This file is part of GDB. @@ -27,12 +27,6 @@ #include "alpha/tm-alpha.h" -/* Number of traps that happen between exec'ing the shell to run an - inferior, and when we finally get to the inferior code. This is 2 - on GNU/Linux and most implementations. */ -#undef START_INFERIOR_TRAPS_EXPECTED -#define START_INFERIOR_TRAPS_EXPECTED 2 - #include "config/tm-linux.h" #endif /* TM_LINUXALPHA_H */ diff --git a/gdb/config/alpha/tm-fbsd.h b/gdb/config/alpha/tm-fbsd.h index d1d525466ec..c154366cc19 100644 --- a/gdb/config/alpha/tm-fbsd.h +++ b/gdb/config/alpha/tm-fbsd.h @@ -1,5 +1,6 @@ /* Target-dependent definitions for FreeBSD/Alpha. - Copyright 2000, 2001, 2002 Free Software Foundation, Inc. + + Copyright 2000, 2001, 2002, 2004 Free Software Foundation, Inc. This file is part of GDB. @@ -23,10 +24,4 @@ #include "alpha/tm-alpha.h" -/* Number of traps that happen between exec'ing the shell to run an - inferior, and when we finally get to the inferior code. The - default is right for FreeBSD. */ - -#undef START_INFERIOR_TRAPS_EXPECTED - #endif /* TM_FBSD_H */ diff --git a/gdb/config/alpha/tm-nbsd.h b/gdb/config/alpha/tm-nbsd.h index 90a75a78fd6..aaad48ce508 100644 --- a/gdb/config/alpha/tm-nbsd.h +++ b/gdb/config/alpha/tm-nbsd.h @@ -1,5 +1,6 @@ /* Target-dependent definitions for NetBSD/Alpha. - Copyright 2002 Free Software Foundation, Inc. + + Copyright 2002, 2004 Free Software Foundation, Inc. This file is part of GDB. @@ -24,10 +25,4 @@ #include "alpha/tm-alpha.h" #include "solib.h" -/* Number of traps that happen between exec'ing the shell to run an - inferior, and when we finally get to the inferior code. The - default is right for NetBSD. */ - -#undef START_INFERIOR_TRAPS_EXPECTED - #endif /* TM_NBSD_H */