mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
* tui/tui-data.c (tui_prev_win): Guard against NULL.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2007-11-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||||||
|
|
||||||
|
* tui/tui-data.c (tui_prev_win): Guard against NULL.
|
||||||
|
|
||||||
2007-11-12 Markus Deuling <deuling@de.ibm.com>
|
2007-11-12 Markus Deuling <deuling@de.ibm.com>
|
||||||
|
|
||||||
* gdbarch.sh (gdbarch_alloc): Replace current_gdbarch by gdbarch. Remove
|
* gdbarch.sh (gdbarch_alloc): Replace current_gdbarch by gdbarch. Remove
|
||||||
|
@ -370,7 +370,8 @@ tui_prev_win (struct tui_win_info *cur_win)
|
|||||||
type = cur_win->generic.type - 1;
|
type = cur_win->generic.type - 1;
|
||||||
while (type != cur_win->generic.type && (prev == NULL))
|
while (type != cur_win->generic.type && (prev == NULL))
|
||||||
{
|
{
|
||||||
if (tui_win_list[type]->generic.is_visible)
|
if (tui_win_list[type]
|
||||||
|
&& tui_win_list[type]->generic.is_visible)
|
||||||
prev = tui_win_list[type];
|
prev = tui_win_list[type];
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user