mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 20:49:43 +00:00
* event-top.c (command_line_handler): Remove useless if.
This commit is contained in:
parent
9ae8b82c04
commit
d96429cda9
@ -1,3 +1,7 @@
|
||||
2002-03-27 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* event-top.c (command_line_handler): Remove useless if.
|
||||
|
||||
2002-03-27 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright
|
||||
|
@ -685,20 +685,17 @@ command_line_handler (char *rl)
|
||||
{
|
||||
p--; /* Put on top of '\'. */
|
||||
|
||||
if (*p == '\\')
|
||||
{
|
||||
readline_input_state.linebuffer = savestring (linebuffer,
|
||||
strlen (linebuffer));
|
||||
readline_input_state.linebuffer_ptr = p;
|
||||
readline_input_state.linebuffer = savestring (linebuffer,
|
||||
strlen (linebuffer));
|
||||
readline_input_state.linebuffer_ptr = p;
|
||||
|
||||
/* We will not invoke a execute_command if there is more
|
||||
input expected to complete the command. So, we need to
|
||||
print an empty prompt here. */
|
||||
more_to_come = 1;
|
||||
push_prompt ("", "", "");
|
||||
display_gdb_prompt (0);
|
||||
return;
|
||||
}
|
||||
/* We will not invoke a execute_command if there is more
|
||||
input expected to complete the command. So, we need to
|
||||
print an empty prompt here. */
|
||||
more_to_come = 1;
|
||||
push_prompt ("", "", "");
|
||||
display_gdb_prompt (0);
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef STOP_SIGNAL
|
||||
|
Loading…
Reference in New Issue
Block a user