mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-30 05:23:49 +08:00
(show_user): Avoid fprintf_filtered botch (AGAIN!).
This commit is contained in:
parent
04fb224c92
commit
3021c40d20
@ -18,6 +18,10 @@ Wed Mar 17 09:46:31 1993 Jim Kingdon (kingdon@cygnus.com)
|
||||
* xcoffread.c (xcoff_symfile_read): Only read stringtab and
|
||||
debugsec if there are a non-zero number of symbols.
|
||||
|
||||
Tue Mar 16 18:08:45 1993 John Gilmore (gnu@cygnus.com)
|
||||
|
||||
* command.c (show_user): Avoid fprintf_filtered botch (AGAIN!).
|
||||
|
||||
Tue Mar 16 15:18:17 1993 Jim Kingdon (kingdon@cygnus.com)
|
||||
|
||||
* xcoffexec.c (add_vmap): Wrap symbol read in catch_errors.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user