diff options
author | Tom Tromey <tromey@adacore.com> | 2019-10-31 16:46:16 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2019-11-01 10:34:21 -0600 |
commit | 5df96a4e6e8f1521274acb5beb54063c35aeec6e (patch) | |
tree | 6bfc777b7df9c85cce9cdb671acb9e54703b9f02 /gdb/guile/scm-lazy-string.c | |
parent | b74816496d5113596dd80bd071ed9bcf152c96cd (diff) | |
download | binutils-5df96a4e6e8f1521274acb5beb54063c35aeec6e.zip binutils-5df96a4e6e8f1521274acb5beb54063c35aeec6e.tar.gz binutils-5df96a4e6e8f1521274acb5beb54063c35aeec6e.tar.bz2 |
Simplify print_sys_errmsg
On irc, Christian pointed out that print_sys_errmsg could be
simplified by avoiding alloca entirely. This patch implements this.
gdb/ChangeLog
2019-11-01 Tom Tromey <tromey@adacore.com>
* utils.c (print_sys_errmsg): Simplify.
Change-Id: Ic399dade274ea61b63ef0540b3a3be2f0f80160a
Diffstat (limited to 'gdb/guile/scm-lazy-string.c')
0 files changed, 0 insertions, 0 deletions