122497Sjoerg/* Debug printing functions.
222497Sjoerg
322497Sjoerg   Copyright (C) 2014-2020 Free Software Foundation, Inc.
422497Sjoerg
522497Sjoerg   This file is part of GDB.
622497Sjoerg
722497Sjoerg   This program is free software; you can redistribute it and/or modify
822497Sjoerg   it under the terms of the GNU General Public License as published by
922497Sjoerg   the Free Software Foundation; either version 3 of the License, or
1022497Sjoerg   (at your option) any later version.
1122497Sjoerg
1222497Sjoerg   This program is distributed in the hope that it will be useful,
1322497Sjoerg   but WITHOUT ANY WARRANTY; without even the implied warranty of
1422497Sjoerg   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1522497Sjoerg   GNU General Public License for more details.
1622497Sjoerg
1722497Sjoerg   You should have received a copy of the GNU General Public License
1822497Sjoerg   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
1922497Sjoerg
2022497Sjoerg#include "common-defs.h"
2122497Sjoerg#include "common-debug.h"
2222497Sjoerg
2322497Sjoerg/* See gdbsupport/common-debug.h.  */
2422497Sjoerg
2522497Sjoergbool show_debug_regs;
2622497Sjoerg
2722497Sjoerg/* See gdbsupport/common-debug.h.  */
2850476Speter
2922497Sjoergvoid
30119708Skendebug_printf (const char *fmt, ...)
3123060Smpp{
3279538Sru  va_list ap;
3322497Sjoerg
3422497Sjoerg  va_start (ap, fmt);
3540247Sken  debug_vprintf (fmt, ap);
3622497Sjoerg  va_end (ap);
3722506Smpp}
3822506Smpp