diff options
Diffstat (limited to 'gdb/command.c')
-rw-r--r-- | gdb/command.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/command.c b/gdb/command.c index ad3e7e4..fd8b814 100644 --- a/gdb/command.c +++ b/gdb/command.c @@ -1376,8 +1376,7 @@ do_setshow_command (arg, from_tty, c) fputs_filtered ("\"", gdb_stdout); if (*(unsigned char **) c->var) - for (p = *(unsigned char **) c->var; *p != '\0'; p++) - gdb_printchar (*p, gdb_stdout, '"'); + fputstr_filtered (*(unsigned char **) c->var, '"', gdb_stdout); fputs_filtered ("\"", gdb_stdout); } break; |