2011-03-01 Michael Snyder <msnyder@vmware.com>
* event-top.c (display_gdb_prompt): Remove superfluous null check.
This commit is contained in:
parent
6e9130cf1b
commit
d014929c51
|
@ -1,5 +1,7 @@
|
||||||
2011-03-01 Michael Snyder <msnyder@vmware.com>
|
2011-03-01 Michael Snyder <msnyder@vmware.com>
|
||||||
|
|
||||||
|
* event-top.c (display_gdb_prompt): Remove superfluous null check.
|
||||||
|
|
||||||
* python/py-prettyprint.c (apply_val_pretty_printer): VAL may
|
* python/py-prettyprint.c (apply_val_pretty_printer): VAL may
|
||||||
be null.
|
be null.
|
||||||
|
|
||||||
|
|
|
@ -312,8 +312,8 @@ display_gdb_prompt (char *new_prompt)
|
||||||
rl_callback_handler_install (new_prompt, input_handler);
|
rl_callback_handler_install (new_prompt, input_handler);
|
||||||
}
|
}
|
||||||
/* new_prompt at this point can be the top of the stack or the one
|
/* new_prompt at this point can be the top of the stack or the one
|
||||||
passed in. */
|
passed in. It can't be NULL. */
|
||||||
else if (new_prompt)
|
else
|
||||||
{
|
{
|
||||||
/* Don't use a _filtered function here. It causes the assumed
|
/* Don't use a _filtered function here. It causes the assumed
|
||||||
character position to be off, since the newline we read from
|
character position to be off, since the newline we read from
|
||||||
|
|
Loading…
Reference in New Issue