aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2000-04-27 00:15:14 +0000
committerMichael Snyder <msnyder@vmware.com>2000-04-27 00:15:14 +0000
commit4261bedc92ca5c5b90e61c3ddda76702f9847fc5 (patch)
tree5a5cf8d8489b19e951d33b060097e4f5ff2f0e07 /gdb
parent8b0ceefcd4fcf135c1318e0cfea999dd13dd6283 (diff)
downloadgdb-4261bedc92ca5c5b90e61c3ddda76702f9847fc5.zip
gdb-4261bedc92ca5c5b90e61c3ddda76702f9847fc5.tar.gz
gdb-4261bedc92ca5c5b90e61c3ddda76702f9847fc5.tar.bz2
2000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>
* utils.c (internal_verror): Call target_terminal_ours.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/utils.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2e89ac6..145b07b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>
+
+ * utils.c (internal_verror): Call target_terminal_ours.
+
2000-04-26 Kevin Buettner <kevinb@redhat.com>
* config/djgpp/fnchange.lst (ia64-linux-nat.c): Map to
diff --git a/gdb/utils.c b/gdb/utils.c
index 2868eac..abd6ecc 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,