aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-12-30 09:46:02 -0700
committerTom Tromey <tom@tromey.com>2022-01-26 15:19:13 -0700
commit6c92c339539ec87dc12783e9c8f1688a4a370c03 (patch)
tree5f3d0621646cae14436ab8e63edcf3542c236f86 /gdb/main.c
parentbbea68079781ac4c2fc941867ee9888585cafb77 (diff)
downloadfsf-binutils-gdb-6c92c339539ec87dc12783e9c8f1688a4a370c03.zip
fsf-binutils-gdb-6c92c339539ec87dc12783e9c8f1688a4a370c03.tar.gz
fsf-binutils-gdb-6c92c339539ec87dc12783e9c8f1688a4a370c03.tar.bz2
Convert wrap_here to use integer parameter
I think it only really makes sense to call wrap_here with an argument consisting solely of spaces. Given this, it seemed better to me that the argument be an int, rather than a string. This patch is the result. Much of it was written by a script.
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 278b901..6b312f8 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -1121,7 +1121,7 @@ captured_main_1 (struct captured_main_args *context)
if (print_version)
{
print_gdb_version (gdb_stdout, false);
- wrap_here ("");
+ 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 ("");
+ 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 ("");
+ 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 ("");
+ wrap_here (0);
printf_filtered ("\n");
gdb_flush (gdb_stdout); /* Force to screen during slow
operations. */