aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index b5bb84c..002a588 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -1304,10 +1304,12 @@ maintenance_info_screen (const char *args, int from_tty)
? " (unlimited - 1)"
: "")));
+#ifdef HAVE_LIBCURSES
gdb_printf (gdb_stdout,
_("Number of characters curses thinks "
"are in a line is %d.\n"),
COLS);
+#endif
gdb_printf (gdb_stdout,
_("Number of characters environment thinks "
@@ -1325,10 +1327,12 @@ maintenance_info_screen (const char *args, int from_tty)
rows,
rows == sqrt_int_max ? " (unlimited)" : "");
+#ifdef HAVE_LIBCURSES
gdb_printf (gdb_stdout,
_("Number of lines curses thinks "
"are in a page is %d.\n"),
LINES);
+#endif
gdb_printf (gdb_stdout,
_("Number of lines environment thinks "