Trying to use "set debug linux-nat 1", I get an internal error:
/home/smarchi/src/binutils-gdb/gdb/ui-file.h:70: internal-error: write_async_safe: write_async_safe
The problem is that timestamped_file doesn't implement write_async_safe,
which linux-nat's sigchld_handler uses. Implement it.
Change-Id: I830981010c6119f13ae673605ed015cced0f5ee8
bool can_emit_style_escape () override
{ return m_stream->can_emit_style_escape (); }
+ void write_async_safe (const char *buf, long length_buf) override
+ { return m_stream->write_async_safe (buf, length_buf); }
+
DISABLE_COPY_AND_ASSIGN (timestamped_file);
void write (const char *buf, long len) override;