src/gdb ChangeLog ctf.c
palves@sourceware.org
palves@sourceware.org
Fri Apr 19 15:36:00 GMT 2013
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2013-04-19 15:36:52
Modified files:
gdb : ChangeLog ctf.c
Log message:
-Wpointer-sign: ctf.c.
ctf_save_write's second parameter is gdb_byte *, and all these
arguments are 'char *'. Since this function is ultimately just
writing host bytes to a local file with fwrite, an alternative would
be to change ctf_save_write to take a 'void *' instead of 'gdb_byte
*', thus removing the need for any cast (we have more calls with casts
than without).
gdb/
2013-04-19 Pedro Alves <palves@redhat.com>
* ctf.c (ctf_write_uploaded_tsv, ctf_write_uploaded_tp): Add casts
to 'gdb_byte *'.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15456&r2=1.15457
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ctf.c.diff?cvsroot=src&r1=1.6&r2=1.7
More information about the Gdb-cvs
mailing list