[PATCH 1/3 OBV] Fix -Wformat warnings in gnu-nat.c

Thomas Schwinge thomas@codesourcery.com
Sun Feb 16 07:38:00 GMT 2014


Hi!

Thanks for the patch!

On Fri, 7 Feb 2014 15:59:16 +0800, Yao Qi <yao@codesourcery.com> wrote:
> 	* gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
> 	in format string.
> 	(proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
> 	(inf_validate_procs, inf_signal): Likewise.
> 	(S_exception_raise_request): Likewise.
> 	(do_mach_notify_dead_name): Likewise.
> 	(steal_exc_port): Likewise.
> 	(gnu_read_inferior): Change 'copy_count''s type to
> 	mach_msg_type_number_t.
> 	(gnu_write_inferior): Likewise.  Use 'lx' instead of 'x' in
> 	format string.

The gnu_read_inferior and gnu_write_inferior copy_count type change notes
belong to your other patch; with that changed, please push this patch.


Grüße,
 Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20140216/5cf03c47/attachment.sig>


More information about the Gdb-patches mailing list