This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [PATCH]: swat a warning in cli-out.c
- To: msnyder at cygnus dot com
- Subject: Re: [PATCH]: swat a warning in cli-out.c
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Thu, 30 Mar 2000 14:39:23 -0500
- CC: gdb-patches at sourceware dot cygnus dot com, cagney at cygnus dot com
- Organization: Red Hat , Inc. - Toronto
- References: <200003240110.RAA21711@seadog.cygnus.com>
Approved.
msnyder@cygnus.com wrote:
>
> This eliminates a warning on 64-bit solaris.
>
> 2000-03-23 Michael Snyder <msnyder@seadog.cygnus.com>
>
> * cli-out.h: include gdb_string.h to avoid compiler warnings.
>
> 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:08:15
> ***************
> *** 1,3 ****
> --- 1,7 ----
> + 2000-03-23 Michael Snyder <msnyder@seadog.cygnus.com>
> +
> + * cli-out.h: include gdb_string.h to avoid compiler warnings.
> +
> 2000-03-23 Fernando Nasser <fnasser@cygnus.com>
>
> From David Whedon <dwhedon@gordian.com>
> Index: cli-out.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/cli-out.c,v
> retrieving revision 1.2
> diff -c -r1.2 cli-out.c
> *** cli-out.c 2000/02/20 18:23:31 1.2
> --- cli-out.c 2000/03/24 01:08:15
> ***************
> *** 23,28 ****
> --- 23,29 ----
> #include "defs.h"
> #include "ui-out.h"
> #include "cli-out.h"
> + #include "gdb_string.h"
>
> /* Convenience macro for allocting typesafe memory. */
>
--
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