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/disasm.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/disasm.c')
-rw-r--r-- | gdb/disasm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/disasm.c b/gdb/disasm.c index 46aa995..3000e5d 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 (2); + file->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 (3); + file->wrap_here (3); } fprintf_filtered (file, "\n"); } |