aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/debug.h')
-rw-r--r--gdb/gdbserver/debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/gdbserver/debug.h b/gdb/gdbserver/debug.h
index f65c91c..29e58ad 100644
--- a/gdb/gdbserver/debug.h
+++ b/gdb/gdbserver/debug.h
@@ -35,6 +35,9 @@ void debug_flush (void);
void do_debug_enter (const char *function_name);
void do_debug_exit (const char *function_name);
+/* Async signal safe debug output function that calls write directly. */
+size_t debug_write (const void *buf, size_t nbyte);
+
/* These macros are for use in major functions that produce a lot of
debugging output. They help identify in the mass of debugging output
when these functions enter and exit. debug_enter is intended to be