aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-file.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2000-03-30 19:52:35 +0000
committerMichael Snyder <msnyder@vmware.com>2000-03-30 19:52:35 +0000
commit1d1358b6679fee0ea559723c6c9b06c900e7c330 (patch)
tree79754fb613fcc6b734b903469b8bb60ed70edaa3 /gdb/ui-file.c
parent213c01f70eb6b3c7ee893a2763aaa9cbfbfa5d29 (diff)
downloadgdb-1d1358b6679fee0ea559723c6c9b06c900e7c330.zip
gdb-1d1358b6679fee0ea559723c6c9b06c900e7c330.tar.gz
gdb-1d1358b6679fee0ea559723c6c9b06c900e7c330.tar.bz2
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/ui-file.c')
-rw-r--r--gdb/ui-file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/ui-file.c b/gdb/ui-file.c
index d077009..f9d5331 100644
--- a/gdb/ui-file.c
+++ b/gdb/ui-file.c
@@ -22,6 +22,7 @@
#include "defs.h"
#include "ui-file.h"
+#include "gdb_string.h"
#undef XMALLOC
#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE)))