The do/while in these macros are not formatted with proper GNU style,
fix that.
gdb/ChangeLog:
* infrun.h (infrun_debug_printf): Fix formatting.
* linux-nat.c (linux_nat_debug_printf): Fix formatting.
Change-Id: I3a723663c76d9091f785941923c2b6cf67459629
+2020-09-25 Simon Marchi <simon.marchi@efficios.com>
+
+ * infrun.h (infrun_debug_printf): Fix formatting.
+ * linux-nat.c (linux_nat_debug_printf): Fix formatting.
+
2020-09-25 Saagar Jha <saagar@saagarjha.com>
* compile/compile-object-load.h (struct munmap_list): Add
(const char *func_name, const char *fmt, ...);
#define infrun_debug_printf(fmt, ...) \
- do { \
- if (debug_infrun) \
- infrun_debug_printf_1 (__func__, fmt, ##__VA_ARGS__); \
- } while (0)
+ do \
+ { \
+ if (debug_infrun) \
+ infrun_debug_printf_1 (__func__, fmt, ##__VA_ARGS__); \
+ } \
+ while (0)
/* True if we are debugging displaced stepping. */
extern bool debug_displaced;
}
#define linux_nat_debug_printf(fmt, ...) \
- do { \
- if (debug_linux_nat) \
- linux_nat_debug_printf_1 (__func__, fmt, ##__VA_ARGS__); \
- } while (0)
+ do \
+ { \
+ if (debug_linux_nat) \
+ linux_nat_debug_printf_1 (__func__, fmt, ##__VA_ARGS__); \
+ } \
+ while (0)
struct simple_pid_list
{