diff options
author | Michael Snyder <msnyder@vmware.com> | 2000-03-30 19:52:35 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2000-03-30 19:52:35 +0000 |
commit | 1d1358b6679fee0ea559723c6c9b06c900e7c330 (patch) | |
tree | 79754fb613fcc6b734b903469b8bb60ed70edaa3 /gdb/cli-out.c | |
parent | 213c01f70eb6b3c7ee893a2763aaa9cbfbfa5d29 (diff) | |
download | binutils-gdb-1d1358b6679fee0ea559723c6c9b06c900e7c330.tar.gz |
2000-03-30 Michael Snyder <msnyder@cleaver.cygnus.com>
* ui-file.c: Include "gdb_string.h"
* cli-out.c: Include gdb_string.h to avoid compiler warnings.
* wrapper.[ch] (struct gdb_wrapper_arguments): Change fields into
unions, since they are all used to hold both pointers and ints
at various times. Casting pointer to int and vice versa gives
warnings (and is not safe) if they are not the same size.
Diffstat (limited to 'gdb/cli-out.c')
-rw-r--r-- | gdb/cli-out.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/cli-out.c b/gdb/cli-out.c index ed9817f01f6..c7abdbeffca 100644 --- a/gdb/cli-out.c +++ b/gdb/cli-out.c @@ -23,6 +23,7 @@ #include "defs.h" #include "ui-out.h" #include "cli-out.h" +#include "gdb_string.h" /* Convenience macro for allocting typesafe memory. */ |