diff options
author | John Gilmore <gnu@cygnus> | 1993-03-17 20:21:55 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1993-03-17 20:21:55 +0000 |
commit | 3021c40d20c93f591f912f1b3ba55809735d49fb (patch) | |
tree | 8d8713487927b95945cc043302f6feec77934d53 /gdb/command.c | |
parent | 04fb224c921be9e1ab81c1a94e2606d8be348a08 (diff) | |
download | gdb-3021c40d20c93f591f912f1b3ba55809735d49fb.zip gdb-3021c40d20c93f591f912f1b3ba55809735d49fb.tar.gz gdb-3021c40d20c93f591f912f1b3ba55809735d49fb.tar.bz2 |
(show_user): Avoid fprintf_filtered botch (AGAIN!).
Diffstat (limited to 'gdb/command.c')
-rw-r--r-- | gdb/command.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/command.c b/gdb/command.c index 1fce334..abcc1a0 100644 --- a/gdb/command.c +++ b/gdb/command.c @@ -1205,10 +1205,13 @@ show_user_1 (c, stream) cmdlines = c->user_commands; if (!cmdlines) return; - fprintf_filtered (stream, "User command %s:\n", c->name); + fputs_filtered ("User command ", stream); + fputs_filtered (c->name, stream); + fputs_filtered (":\n", stream); while (cmdlines) { - fprintf_filtered (stream, "%s\n", cmdlines->line); + fputs_filtered (cmdlines->line, stream); + fputs_filtered ("\n", stream); cmdlines = cmdlines->next; } fputs_filtered ("\n", stream); |