This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [PATCH]: swat warning in ui-file.c
- To: msnyder at cygnus dot com
- Subject: Re: [PATCH]: swat warning in ui-file.c
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Thu, 30 Mar 2000 14:39:43 -0500
- CC: cagney at cygnus dot com, gdb-patches at sourceware dot cygnus dot com
- Organization: Red Hat , Inc. - Toronto
- References: <200003240143.RAA21777@seadog.cygnus.com>
Approved.
msnyder@cygnus.com wrote:
>
> 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)))
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@cygnus.com
2323 Yonge Street, Suite #300 Tel: 416-482-2661 ext. 311
Toronto, Ontario M4P 2C9 Fax: 416-482-6299