mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-25 16:57:52 +00:00
* command.c (show_user_1): Use print_command_line to show a user
defined command (including control structures). * top.c (init_main): Change documentation for user defined commands to indicate they may accept up to ten arguments.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user