aboutsummaryrefslogtreecommitdiff
path: root/gdb/observer.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/observer.c')
-rw-r--r--gdb/observer.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/observer.c b/gdb/observer.c
index 4064ea8..afad033 100644
--- a/gdb/observer.c
+++ b/gdb/observer.c
@@ -57,6 +57,12 @@
#include "gdbcmd.h"
static int observer_debug;
+static void
+show_observer_debug (struct ui_file *file, int from_tty,
+ struct cmd_list_element *c, const char *value)
+{
+ fprintf_filtered (file, _("Observer debugging is %s.\n"), value);
+}
/* The internal generic observer. */
@@ -205,7 +211,7 @@ Set observer debugging."), _("\
Show observer debugging."), _("\
When non-zero, observer debugging is enabled."),
NULL,
- NULL, /* FIXME: i18n: Observer debugging is %s. */
+ show_observer_debug,
&setdebuglist, &showdebuglist);
}