(defaulted_query): Just use the normal query input type when printing the

annotations.
This commit is contained in:
Nick Roberts 2004-05-11 19:19:34 +00:00
parent 017c5ca5ad
commit 7b6be5250f

View File

@ -1388,13 +1388,13 @@ defaulted_query (const char *ctlstr, const char defchar, va_list args)
gdb_flush (gdb_stdout);
if (annotation_level > 1)
printf_filtered ("\n\032\032pre-%cquery\n", defchar);
printf_filtered ("\n\032\032pre-query\n");
vfprintf_filtered (gdb_stdout, ctlstr, args);
printf_filtered ("(%s or %s) ", y_string, n_string);
if (annotation_level > 1)
printf_filtered ("\n\032\032%cquery\n", defchar);
printf_filtered ("\n\032\032query\n");
wrap_here ("");
gdb_flush (gdb_stdout);
@ -1438,7 +1438,7 @@ defaulted_query (const char *ctlstr, const char defchar, va_list args)
}
if (annotation_level > 1)
printf_filtered ("\n\032\032post-%cquery\n", defchar);
printf_filtered ("\n\032\032post-query\n");
return retval;
}