X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Flinux-nat.c;h=da5f277b5530ca386205ef983363354eb786bac7;hb=74b773fcd658c52554a6af07c657f677c52f8102;hp=f1b2c744bed9be01ff21a74e86d2a45b60d4eb65;hpb=346e7e192370a4d602e14466825c329ed5920c8f;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index f1b2c744be..da5f277b55 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -202,12 +202,7 @@ show_debug_linux_nat (struct ui_file *file, int from_tty, /* Print a linux-nat debug statement. */ #define linux_nat_debug_printf(fmt, ...) \ - do \ - { \ - if (debug_linux_nat) \ - debug_prefixed_printf ("linux-nat", __func__, fmt, ##__VA_ARGS__); \ - } \ - while (0) + debug_prefixed_printf_cond (debug_linux_nat, "linux-nat", fmt, ##__VA_ARGS__) struct simple_pid_list {