mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
Always call the wrap_here method
This changes all existing calls to wrap_here to call the method on the appropriate ui_file instead. The choice of ui_file is determined by context.
This commit is contained in:
@@ -1121,7 +1121,7 @@ captured_main_1 (struct captured_main_args *context)
|
||||
if (print_version)
|
||||
{
|
||||
print_gdb_version (gdb_stdout, false);
|
||||
wrap_here (0);
|
||||
gdb_stdout->wrap_here (0);
|
||||
printf_filtered ("\n");
|
||||
exit (0);
|
||||
}
|
||||
@@ -1135,7 +1135,7 @@ captured_main_1 (struct captured_main_args *context)
|
||||
if (print_configuration)
|
||||
{
|
||||
print_gdb_configuration (gdb_stdout);
|
||||
wrap_here (0);
|
||||
gdb_stdout->wrap_here (0);
|
||||
printf_filtered ("\n");
|
||||
exit (0);
|
||||
}
|
||||
@@ -1151,7 +1151,7 @@ captured_main_1 (struct captured_main_args *context)
|
||||
print_gdb_version (gdb_stdout, true);
|
||||
if (symarg)
|
||||
printf_filtered ("..");
|
||||
wrap_here (0);
|
||||
gdb_stdout->wrap_here (0);
|
||||
printf_filtered ("\n");
|
||||
gdb_flush (gdb_stdout); /* Force to screen during slow
|
||||
operations. */
|
||||
@@ -1172,7 +1172,7 @@ captured_main_1 (struct captured_main_args *context)
|
||||
print_gdb_version (gdb_stdout, true);
|
||||
if (symarg)
|
||||
printf_filtered ("..");
|
||||
wrap_here (0);
|
||||
gdb_stdout->wrap_here (0);
|
||||
printf_filtered ("\n");
|
||||
gdb_flush (gdb_stdout); /* Force to screen during slow
|
||||
operations. */
|
||||
|
||||
Reference in New Issue
Block a user