diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2001-07-16 22:13:38 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2001-07-16 22:13:38 +0000 |
commit | 75fd9bc1ec6f7c44cea2dce02c996c07ab826af8 (patch) | |
tree | 347044a928b598c11219cb472961ecf2b11400f1 /gdb/tui/tuiGeneralWin.c | |
parent | a8080b7fbfaf3a5916b4ce95f097a890a48fc878 (diff) | |
download | gdb-75fd9bc1ec6f7c44cea2dce02c996c07ab826af8.zip gdb-75fd9bc1ec6f7c44cea2dce02c996c07ab826af8.tar.gz gdb-75fd9bc1ec6f7c44cea2dce02c996c07ab826af8.tar.bz2 |
* tuiStack.c: Add missing includes.
(tuiShowFrameInfo): Don't crash when there is no symbol table
associated with the pc.
* tuiSource.c (_hasBreak): Check for null source file.
* tuiWin.c (tuiRefreshAll): Check for null winList[type].
(_tuiSetFocus): Check for null dataWin.
* tuiGeneralWin.c (refreshAll): Check for null list[type].
Diffstat (limited to 'gdb/tui/tuiGeneralWin.c')
-rw-r--r-- | gdb/tui/tuiGeneralWin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tuiGeneralWin.c b/gdb/tui/tuiGeneralWin.c index 0fe3529..6535f91 100644 --- a/gdb/tui/tuiGeneralWin.c +++ b/gdb/tui/tuiGeneralWin.c @@ -370,7 +370,7 @@ refreshAll (TuiWinInfoPtr * list) for (type = SRC_WIN; (type < MAX_MAJOR_WINDOWS); type++) { - if (list[type]->generic.isVisible) + if (list[type] && list[type]->generic.isVisible) { if (type == SRC_WIN || type == DISASSEM_WIN) { |