aboutsummaryrefslogtreecommitdiff
path: root/gdb/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/command.c')
-rw-r--r--gdb/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/command.c b/gdb/command.c
index f2af0d5..8a3419c 100644
--- a/gdb/command.c
+++ b/gdb/command.c
@@ -1281,10 +1281,10 @@ show_user_1 (c, stream)
fputs_filtered ("User command ", stream);
fputs_filtered (c->name, stream);
fputs_filtered (":\n", stream);
+
while (cmdlines)
{
- fputs_filtered (cmdlines->line, stream);
- fputs_filtered ("\n", stream);
+ print_command_line (cmdlines, 4);
cmdlines = cmdlines->next;
}
fputs_filtered ("\n", stream);