GDB (xrefs)
|
#include "defs.h"
#include "complaints.h"
#include "command.h"
#include "gdbcmd.h"
#include "gdbsupport/selftest.h"
#include <unordered_map>
#include <mutex>
Go to the source code of this file.
Functions | |
void | complaint_internal (const char *fmt,...) |
void | clear_complaints () |
static void | wrap_warning_hook (void(*hook)(const char *, va_list),...) |
static void | complaints_show_value (struct ui_file *file, int from_tty, struct cmd_list_element *cmd, const char *value) |
void | _initialize_complaints () |
Variables | |
static std::unordered_map< const char *, int > | counters |
int | stop_whining = 0 |
void _initialize_complaints | ( | ) |
Definition at line 191 of file complaints.c.
Referenced by initialize_all_files().
void clear_complaints | ( | ) |
Definition at line 74 of file complaints.c.
References counters.
Referenced by finish_new_objfile(), reread_symbols(), and syms_from_objfile_1().
void complaint_internal | ( | const char * | fmt, |
... ) |
Definition at line 45 of file complaints.c.
References counters, deprecated_warning_hook, gdb_puts(), gdb_stderr, gdb_vprintf(), and stop_whining.
|
static |
Definition at line 134 of file complaints.c.
References gdb_printf().
|
static |
Definition at line 97 of file complaints.c.
Referenced by complaint_interceptor::~complaint_interceptor().
|
static |
Definition at line 30 of file complaints.c.
Referenced by clear_complaints(), and complaint_internal().
int stop_whining = 0 |
Definition at line 36 of file complaints.c.
Referenced by complaint_internal(), and have_complaint().