diff options
author | Tom Tromey <tom@tromey.com> | 2021-12-30 10:29:03 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-01-26 15:19:13 -0700 |
commit | 1285ce8629b37f800bf21731ee7c7a8b1b8d0233 (patch) | |
tree | ce4a47e09e9f76c5530378cb9db537ae38a92976 /gdb/main.c | |
parent | 7016a382b0dc48001cb5c36e56b42fc41b1303a8 (diff) | |
download | gdb-1285ce8629b37f800bf21731ee7c7a8b1b8d0233.zip gdb-1285ce8629b37f800bf21731ee7c7a8b1b8d0233.tar.gz gdb-1285ce8629b37f800bf21731ee7c7a8b1b8d0233.tar.bz2 |
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.
Diffstat (limited to 'gdb/main.c')
-rw-r--r-- | gdb/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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. */ |