aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/debug.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2023-02-08 15:36:23 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2023-02-08 15:46:02 -0500
commitc583a2520616c2736cffc389c89a48b159366e6c (patch)
treeb4925f26506fcee96c16119431c01760f05db95d /gdbserver/debug.h
parentca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff)
downloadbinutils-users/simark/clang-format.zip
binutils-users/simark/clang-format.tar.gz
binutils-users/simark/clang-format.tar.bz2
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdbserver/debug.h')
-rw-r--r--gdbserver/debug.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/gdbserver/debug.h b/gdbserver/debug.h
index 6b733ef..8925052 100644
--- a/gdbserver/debug.h
+++ b/gdbserver/debug.h
@@ -19,14 +19,13 @@
#ifndef GDBSERVER_DEBUG_H
#define GDBSERVER_DEBUG_H
-#if !defined (IN_PROCESS_AGENT)
+#if !defined(IN_PROCESS_AGENT)
extern bool remote_debug;
/* Print a "remote" debug statement. */
#define remote_debug_printf(fmt, ...) \
- debug_prefixed_printf_cond (remote_debug, \
- "remote", fmt, ##__VA_ARGS__)
+ debug_prefixed_printf_cond (remote_debug, "remote", fmt, ##__VA_ARGS__)
/* 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
@@ -44,8 +43,7 @@ extern bool debug_threads;
/* Print a "threads" debug statement. */
#define threads_debug_printf(fmt, ...) \
- debug_prefixed_printf_cond (debug_threads, \
- "threads", fmt, ##__VA_ARGS__)
+ debug_prefixed_printf_cond (debug_threads, "threads", fmt, ##__VA_ARGS__)
/* Print "threads" enter/exit debug statements. */