2011-06-13 Pedro Alves <pedro@codesourcery.com>
gdb/ * top.h (line): Rename to ... (saved_command_line): ... this. (linesize): Rename to ... (saved_command_line_size): ... this. * top.c (line): Rename to ... (saved_command_line): ... this. (linesize): Rename to ... (saved_command_line_size): ... this. (dont_repeat, command_line_input, dont_repeat_command): Adjust. * event-top.c (command_line_handler): Adjust. * main.c (captured_main): Adjust.
This commit is contained in:
parent
94342ec38b
commit
dc7eb48e0a
5 changed files with 38 additions and 25 deletions
|
@ -319,8 +319,8 @@ captured_main (void *data)
|
|||
ndir = 0;
|
||||
|
||||
quit_flag = 0;
|
||||
line = (char *) xmalloc (linesize);
|
||||
line[0] = '\0'; /* Terminate saved (now empty) cmd line. */
|
||||
saved_command_line = (char *) xmalloc (saved_command_line_size);
|
||||
saved_command_line[0] = '\0';
|
||||
instream = stdin;
|
||||
|
||||
gdb_stdout = stdio_fileopen (stdout);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue