diff options
Diffstat (limited to 'gdb/gdbserver/debug.h')
-rw-r--r-- | gdb/gdbserver/debug.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/gdbserver/debug.h b/gdb/gdbserver/debug.h index c8d5e33..f65c91c 100644 --- a/gdb/gdbserver/debug.h +++ b/gdb/gdbserver/debug.h @@ -21,6 +21,11 @@ #if !defined (IN_PROCESS_AGENT) extern int remote_debug; + +/* Switch all debug output to DEBUG_FILE. If DEBUG_FILE is nullptr or an + empty string, or if the file cannot be opened, then debug output is sent to + stderr. */ +void debug_set_output (const char *debug_file); #endif extern int debug_threads; |