aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli-out.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/cli-out.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/cli-out.c')
-rw-r--r--gdb/cli-out.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/cli-out.c b/gdb/cli-out.c
index ed9817f..c7abdbe 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. */