OSDN Git Service

* utils.c (safe_strerror): Use xsnprintf instead of sprintf.
authorMark Kettenis <kettenis@gnu.org>
Fri, 18 Mar 2005 20:46:38 +0000 (20:46 +0000)
committerMark Kettenis <kettenis@gnu.org>
Fri, 18 Mar 2005 20:46:38 +0000 (20:46 +0000)
commit1bb0ac8608538619450e871c561a731e5e73a522
treea09bf185b18958ca4fc90be54807823ee52db3f0
parentce458b729726539b4cb9062f311c9e0c31a8707e
* utils.c (safe_strerror): Use xsnprintf instead of sprintf.
(decimal2str, octal2str): Change to return a string allocated by
get_cell.  Use xsnprint instead of snprintf.
(paddr_u, paddr_d): Adjust for changed calling convention of
decimal2str.
(phex, phex_nz, hex_string): Use xsnprintf instead of snprintf.
(int_string): Likewise.  Adjust for changed calling convention of
decimal2str and octal2str.
gdb/ChangeLog
gdb/utils.c