This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/1335: -Wformat-nonliteral vs valprint.c - delete la_format?
- From: ac131313 at redhat dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 16 Aug 2003 17:57:02 -0000
- Subject: gdb/1335: -Wformat-nonliteral vs valprint.c - delete la_format?
- Reply-to: ac131313 at redhat dot com
>Number: 1335
>Category: gdb
>Synopsis: -Wformat-nonliteral vs valprint.c - delete la_format?
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: maintenance
>Submitter-Id: net
>Arrival-Date: Sat Aug 16 17:58:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: ac131313@redhat.com
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
valprint.c uses the string returned by local_hex_format et.al. as a printf format parameter. This makes -Wformat-nonliteral grumpy.
One potential source of these strings - struct language_format_info . la_format - turns out to not be used (well I couldn't find any uses).
Delete it?
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: