aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2014-12-13 10:19:03 -0500
committerJoel Brobecker <brobecker@adacore.com>2014-12-13 10:28:58 -0500
commit3c46a02f5083c4a9c07b563d44b8b6ded6d85bb1 (patch)
treea5c976ea3a4efa18926724e72213cbb8124a7d18 /gdb/ChangeLog
parent8e8347b895af2f492df694c621e70b101d8eb146 (diff)
downloadgdb-3c46a02f5083c4a9c07b563d44b8b6ded6d85bb1.zip
gdb-3c46a02f5083c4a9c07b563d44b8b6ded6d85bb1.tar.gz
gdb-3c46a02f5083c4a9c07b563d44b8b6ded6d85bb1.tar.bz2
Avoid use of sprintf in gdb/utils.c:make_hex_string
The use of sprintf is discouraged in GDB. Use xsnprintf instead. gdb/ChangeLog: * utils.c (make_hex_string): Replace use of sprintf by use of xsnprintf. Tested on x86_64-linux.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ac916de..c12de3a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2014-12-13 Joel Brobecker <brobecker@adacore.com>
+ * utils.c (make_hex_string): Replace use of sprintf by use of
+ xsnprintf.
+
+2014-12-13 Joel Brobecker <brobecker@adacore.com>
+
* compile/compile-object-load.c (link_callbacks_multiple_definition)
(link_callbacks_warning, link_callbacks_einfo): Remove trailing
newline at end of warning message.