diff options
author | Jason Molenda <jmolenda@apple.com> | 1998-12-09 00:38:46 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1998-12-09 00:38:46 +0000 |
commit | ac95dc5eebaa4f45ab2b928be390f9b1678de1bc (patch) | |
tree | 4cb14e44d5339cce802ae85f38470ee3989bec36 /gdb/config/rs6000 | |
parent | c4efea12c8db0689c52114352e79e07994ced938 (diff) | |
download | gdb-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/rs6000')
-rw-r--r-- | gdb/config/rs6000/xm-rs6000.h | 9 |
1 files changed, 5 insertions, 4 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)) { \ |