diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-10-15 06:59:40 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-10-15 06:59:40 +0000 |
commit | dd877625717287a033b572ac8d90f65f6bfbc173 (patch) | |
tree | 74d1f52e67b617a4b2fcc22b12eeca34b13e96ca /gdb | |
parent | c55ea9e78148da84ad4ce2334c8d9a1d93fcfa0f (diff) | |
download | gdb-dd877625717287a033b572ac8d90f65f6bfbc173.zip gdb-dd877625717287a033b572ac8d90f65f6bfbc173.tar.gz gdb-dd877625717287a033b572ac8d90f65f6bfbc173.tar.bz2 |
command.c: Include "wait.h" after, rather than before, <wait.h>.
"wait.h" was defining all WIF* macro's instead of filling in those
that <wait.h> missed. Stops heaps of warnings from <wait.h>
re-defining WIF*s defined in "wait.h".
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 26 | ||||
-rw-r--r-- | gdb/command.c | 3 |
2 files changed, 28 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f97a8cf..e1e1762 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,29 @@ +Thu Oct 15 16:55:00 1998 Andrew Cagney <cagney@b1.cygnus.com> + + * command.c: Include "wait.h" after, rather than before, <wait.h>. + "wait.h" was defining all WIF* macro's instead of filling in those + that <wait.h> missed. + +1998-10-14 Jason Molenda (jsm@bugshack.cygnus.com) + + * defs.h: Move _initialize_printcmd, _initialize_stack, + _initialize_blockframe out of here and in to their respective .c files. + * blockframe.c: Move _initialize_blockframe prototype to here. + * printcmd.c: Move _initialize_printcmd prototype to here. + * stack.c: Move _initialize_stack prototype to here. + + * source.c, symtab.h: Move _initialize_source prototype to the .c file. + * values.c, value.h: Move _initialize_values prototype to the .c file. + * gdbthread.h, thread.c: Move _initialize_thread prototype to the .c + file. + * breakpoint.c, breakpoint.h: Move _initialize_breakpoint prototype + to the .c file. + + * abug-rom.c alpha-nat.c alpha-tdep.c annotate.c ax-gdb.c bcache.c: + Standardize comments for the prototype section of these files. + + * configure.in: Look in libc for wctype before looking for it in libc. + Tue Oct 13 18:56:51 1998 Felix Lee <flee@cygnus.com> * sol-thread.c (ps_pstop, etc): simple test for proc_service.h diff --git a/gdb/command.c b/gdb/command.c index 962101d..10308d5 100644 --- a/gdb/command.c +++ b/gdb/command.c @@ -19,7 +19,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "gdbcmd.h" #include "symtab.h" #include "value.h" -#include "wait.h" #include <ctype.h> #include "gdb_string.h" #ifdef HAVE_UNISTD_H @@ -34,6 +33,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ # endif #endif +#include "wait.h" + /* Prototypes for local functions */ static void |