diff options
author | Tom de Vries <tdevries@suse.de> | 2025-04-29 17:01:55 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2025-04-29 17:01:55 +0200 |
commit | 27ff35ce34d89687feb2584d0eb9102218ee9e74 (patch) | |
tree | 42e8f9e93ea326005361cde4729ee0fe0a06756e /libctf | |
parent | 5e247da8afb8b764cb111ce1a05e8cb8862a7f98 (diff) | |
download | binutils-27ff35ce34d89687feb2584d0eb9102218ee9e74.zip binutils-27ff35ce34d89687feb2584d0eb9102218ee9e74.tar.gz binutils-27ff35ce34d89687feb2584d0eb9102218ee9e74.tar.bz2 |
[gdb] Factor out sig_write
Lambda function sig_write:
...
const auto sig_write = [] (const char *msg) -> void
{
gdb_stderr->write_async_safe (msg, strlen (msg));
}
...
is defined a few times.
Factor this out into a regular function.
Tested on x86_64-linux.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions