From 4261bedc92ca5c5b90e61c3ddda76702f9847fc5 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Thu, 27 Apr 2000 00:15:14 +0000 Subject: [PATCH] 2000-04-26 Michael Snyder * utils.c (internal_verror): Call target_terminal_ours. --- gdb/ChangeLog | 4 ++++ gdb/utils.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2e89ac6e3db..145b07b5bb9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2000-04-26 Michael Snyder + + * utils.c (internal_verror): Call target_terminal_ours. + 2000-04-26 Kevin Buettner * config/djgpp/fnchange.lst (ia64-linux-nat.c): Map to diff --git a/gdb/utils.c b/gdb/utils.c index 2868eacb15c..abd6ecc3975 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -680,6 +680,7 @@ internal_verror (const char *fmt, va_list ap) } /* Try to get the message out */ + target_terminal_ours (); fputs_unfiltered ("gdb-internal-error: ", gdb_stderr); vfprintf_unfiltered (gdb_stderr, fmt, ap); fputs_unfiltered ("\n", gdb_stderr); @@ -720,6 +721,7 @@ internal_error (char *string, ...) { va_list ap; va_start (ap, string); + internal_verror (string, ap); va_end (ap); } @@ -2364,6 +2366,7 @@ initialize_utils () var_boolean, (char *) &pagination_enabled, "Set state of pagination.", &setlist), &showlist); + if (xdb_commands) { add_com ("am", class_support, pagination_on_command, -- 2.30.2