This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cli/1337: -Wformat-nonliteral vs printcmd.c - make "(gdb) printf" host independant


The following reply was made to PR cli/1337; it has been noted by GNATS.

From: Daniel Jacobowitz <drow@mvista.com>
To: ac131313@redhat.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: cli/1337: -Wformat-nonliteral vs printcmd.c - make "(gdb) printf" host independant
Date: Mon, 18 Aug 2003 00:17:01 -0400

 On Sat, Aug 16, 2003 at 06:06:30PM -0000, ac131313@redhat.com wrote:
 > 
 > >Number:         1337
 > >Category:       cli
 > >Synopsis:       -Wformat-nonliteral vs printcmd.c - make "(gdb) printf" host independant
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    unassigned
 > >State:          open
 > >Class:          maintenance
 > >Submitter-Id:   net
 > >Arrival-Date:   Sat Aug 16 18:08:01 UTC 2003
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     ac131313@redhat.com
 > >Release:        unknown-1.0
 > >Organization:
 > >Environment:
 > 
 > >Description:
 > printcmd.c is taking user input strings and then passing them through
 > to printf.  It should, I think, instead implement a full "%" parser. 
 > If nothing else it would eliminate a few limitations (such as %ll
 > support being dependant on the host's CC and printf).
 
 Could we use the publicly available libvsnprintf for this?  I think
 it's a GNU or else public domain project; there was some talk about
 adding it to libiberty.
 
 -- 
 Daniel Jacobowitz
 MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]