This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[PATCH]: swat warning in ui-file.c
- To: cagney at cygnus dot com, gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH]: swat warning in ui-file.c
- From: msnyder at cygnus dot com
- Date: Thu, 23 Mar 2000 17:43:42 -0800 (PST)
Including gdb_string.h eliminates a warning on sparc64.
2000-03-23 Michael Snyder <msnyder@seadog.cygnus.com>
* ui-file.c: include "gdb_string.h"
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.170
diff -c -r1.170 ChangeLog
*** ChangeLog 2000/03/23 23:43:19 1.170
--- ChangeLog 2000/03/24 01:42:33
***************
*** 1,3 ****
--- 1,7 ----
+ 2000-03-23 Michael Snyder <msnyder@seadog.cygnus.com>
+
+ * ui-file.c: include "gdb_string.h"
+
2000-03-23 Fernando Nasser <fnasser@cygnus.com>
From David Whedon <dwhedon@gordian.com>
Index: ui-file.c
===================================================================
RCS file: /cvs/src/src/gdb/ui-file.c,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 ui-file.c
*** ui-file.c 2000/02/02 00:21:11 1.1.1.1
--- ui-file.c 2000/03/24 01:42:33
***************
*** 22,27 ****
--- 22,28 ----
#include "defs.h"
#include "ui-file.h"
+ #include "gdb_string.h"
#undef XMALLOC
#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE)))