diff options
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index ded03c7..6a77f6b 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -164,7 +164,7 @@ void vwarning (const char *string, va_list args) { if (warning_hook != nullptr) - warning_hook (string, args); + warning_hook->warn (string, args); else { std::optional<target_terminal::scoped_restore_terminal_state> term_state; |