Replace sprintf with xsnprintf
authorYao Qi <yao@codesourcery.com>
Mon, 4 Nov 2013 03:16:37 +0000 (11:16 +0800)
committerYao Qi <yao@codesourcery.com>
Wed, 18 Dec 2013 03:46:56 +0000 (11:46 +0800)
commitcde33bf1035aac8e2e35c4699544dcc166f2054d
tree8c267914f48f291eab0b3168acc927870daee4a5
parent230de03ab46fe0ed122dc0ed0370781f39692eb7
Replace sprintf with xsnprintf

gdb:

2013-12-18  Yao Qi  <yao@codesourcery.com>

* linux-nat.c (linux_proc_xfer_partial): Call xsnprintf instead
of sprintf.
(linux_nat_detach, linux_child_pid_to_exec_file): Likewise.
(linux_proc_pending_signals): Likewise.
gdb/ChangeLog
gdb/linux-nat.c