From 6c92c339539ec87dc12783e9c8f1688a4a370c03 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 30 Dec 2021 09:46:02 -0700 Subject: 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. --- gdb/disasm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/disasm.c') diff --git a/gdb/disasm.c b/gdb/disasm.c index 724040f..46aa995 100644 --- a/gdb/disasm.c +++ b/gdb/disasm.c @@ -1118,7 +1118,7 @@ The following disassembler options are supported for use with the\n\ fprintf_filtered (file, "%s", valid_options->arg[i]->name); if (valid_options->name[i + 1] != NULL) fprintf_filtered (file, ", "); - wrap_here (" "); + wrap_here (2); } fprintf_filtered (file, "\n"); } @@ -1136,7 +1136,7 @@ The following disassembler options are supported for use with the\n\ for (j = 0; valid_args[i].values[j] != NULL; j++) { fprintf_filtered (file, " %s", valid_args[i].values[j]); - wrap_here (" "); + wrap_here (3); } fprintf_filtered (file, "\n"); } -- cgit v1.1