aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1998-12-09 00:38:46 +0000
committerJason Molenda <jmolenda@apple.com>1998-12-09 00:38:46 +0000
commitac95dc5eebaa4f45ab2b928be390f9b1678de1bc (patch)
tree4cb14e44d5339cce802ae85f38470ee3989bec36 /gdb/config
parentc4efea12c8db0689c52114352e79e07994ced938 (diff)
downloadgdb-ac95dc5eebaa4f45ab2b928be390f9b1678de1bc.zip
gdb-ac95dc5eebaa4f45ab2b928be390f9b1678de1bc.tar.gz
gdb-ac95dc5eebaa4f45ab2b928be390f9b1678de1bc.tar.bz2
1998-12-08 Philippe De Muyter <phdm@macqel.be>
* config/xm-aix4.h (SIGWINCH_HANDLER): Function `aix_resize_window' must accept a signal number as parameter. * config/rs6000/xm-rs6000.h (SIGWINCH_HANDLER): Ditto. * utils.c (initialize_utils): Give a parameter to `SIGWINCH_HANDLER'. * inferior.h (register_valid): Variable's type is `SIGNED char', not `char'. * findvar.c (register_valid): Ditto. * defs.h (make_cleanup_func): Protect parameter list by `PARAMS'. * gdbthread.h (unbind_target_thread_vector): Likewise.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/rs6000/xm-rs6000.h9
-rw-r--r--gdb/config/xm-aix4.h11
2 files changed, 11 insertions, 9 deletions
diff --git a/gdb/config/rs6000/xm-rs6000.h b/gdb/config/rs6000/xm-rs6000.h
index df30db8..44b8b24 100644
--- a/gdb/config/rs6000/xm-rs6000.h
+++ b/gdb/config/rs6000/xm-rs6000.h
@@ -1,5 +1,5 @@
/* Parameters for hosting on an RS6000, for GDB, the GNU debugger.
- Copyright 1986, 1987, 1989, 1991, 1992, 1993 Free Software Foundation, Inc.
+ Copyright 1986-87, 1989, 1991-96, 1998 Free Software Foundation, Inc.
Contributed by IBM Corporation.
This file is part of GDB.
@@ -72,7 +72,7 @@ extern char *strdup PARAMS ((char *));
/* Signal handler for SIGWINCH `window size changed'. */
#define SIGWINCH_HANDLER aix_resizewindow
-extern void aix_resizewindow PARAMS ((void));
+extern void aix_resizewindow PARAMS ((int));
/* This doesn't seem to be declared in any header file I can find. */
char *termdef PARAMS ((int, int));
@@ -82,10 +82,11 @@ char *termdef PARAMS ((int, int));
#define SIGWINCH_HANDLER_BODY \
\
/* Respond to SIGWINCH `window size changed' signal, and reset GDB's \
- window settings approproatelt. */ \
+ window settings appropriately. */ \
\
void \
-aix_resizewindow () \
+aix_resizewindow (signo) \
+ int signo; \
{ \
int fd = fileno (stdout); \
if (isatty (fd)) { \
diff --git a/gdb/config/xm-aix4.h b/gdb/config/xm-aix4.h
index 5914cfe..fc00126 100644
--- a/gdb/config/xm-aix4.h
+++ b/gdb/config/xm-aix4.h
@@ -1,5 +1,5 @@
/* Parameters for hosting on an PowerPC, for GDB, the GNU debugger.
- Copyright 1995 Free Software Foundation, Inc.
+ Copyright 1995, 1998 Free Software Foundation, Inc.
Contributed by Cygnus Corporation.
This file is part of GDB.
@@ -16,7 +16,7 @@ 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. */
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* The following text is taken from config/rs6000.mh:
* # The IBM version of /usr/include/rpc/rpc.h has a bug -- it says
@@ -70,17 +70,18 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Signal handler for SIGWINCH `window size changed'. */
#define SIGWINCH_HANDLER aix_resizewindow
-extern void aix_resizewindow PARAMS ((void));
+extern void aix_resizewindow PARAMS ((int));
/* `lines_per_page' and `chars_per_line' are local to utils.c. Rectify this. */
#define SIGWINCH_HANDLER_BODY \
\
/* Respond to SIGWINCH `window size changed' signal, and reset GDB's \
- window settings approproatelt. */ \
+ window settings appropriately. */ \
\
void \
-aix_resizewindow () \
+aix_resizewindow (signo) \
+ int signo; \
{ \
int fd = fileno (stdout); \
if (isatty (fd)) { \