aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r--gdb/gdbarch.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index 480077f..3612c71 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -61,6 +61,12 @@ static void alloc_gdbarch_data (struct gdbarch *);
#define GDBARCH_DEBUG 0
#endif
int gdbarch_debug = GDBARCH_DEBUG;
+static void
+show_gdbarch_debug (struct ui_file *file, int from_tty,
+ struct cmd_list_element *c, const char *value)
+{
+ fprintf_filtered (file, _("Architecture debugging is %s.\n"), value);
+}
static const char *
pformat (const struct floatformat *format)
@@ -4204,6 +4210,6 @@ Set architecture debugging."), _("\
Show architecture debugging."), _("\
When non-zero, architecture debugging is enabled."),
NULL,
- NULL, /* FIXME: i18n: */
+ show_gdbarch_debug,
&setdebuglist, &showdebuglist);
}