* tuiSourceWin.h (tui_update_all_breakpoint_info): Declare.
authorStephane Carrez <stcarrez@nerim.fr>
Fri, 30 Aug 2002 20:07:05 +0000 (20:07 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Fri, 30 Aug 2002 20:07:05 +0000 (20:07 +0000)
commit00b2bad465eaa08f94998de03f578885a98706ec
treec491a7aa469f4040401b71ec20ec333e5e19179c
parente5b45b8395cfa59cf974580a72011f4a07c87377
* tuiSourceWin.h (tui_update_all_breakpoint_info): Declare.
(tui_update_breakpoint_info): Declare.
(tuiSetHasBreakAt, tuiAllSetHasBreakAt): Remove.

* tuiSourceWin.c (tuiUpdateSourceWindowAsIs): Update breakpoint
information using tui_update_breakpoint_info.
(tui_update_all_breakpoint_info): New function to refresh all
execution windows.
(tui_update_breakpoint_info): New function to recompute the status
of exec info window from breakpoints.
(tuiSetHasBreakAt, tuiAllSetHasBreakAt): Remove.
(tuiSetExecInfoContent): Use the exec info flags computed by
tui_update_breakpoint_info to display a short status about breakpoints.

* tuiData.h (TuiExecInfoContent): New for exec info string.
(TuiWhichElement): Use it.
(TUI_BP_ENABLED, TUI_BP_DISABLED, TUI_BP_HIT): New defines.
(TUI_BP_CONDITIONAL, TUI_BP_HARDWARE): New defines.
(TUI_BP_HIT_POS, TUI_BP_BREAK_POS, TUI_EXEC_POS): Likewise.
(TUI_EXECINFO_SIZE): Likewise.
* tuiData.c (initContentElement): Clear exec info string.

* tui-hooks.c (get_breakpoint): Remove.
(tui_event_create_breakpoint): Call tui_update_all_breakpoint_info.
(tui_event_delete_breakpoint): Likewise.
(tui_event_modify_breakpoint): Likewise.
gdb/tui/ChangeLog
gdb/tui/tui-hooks.c
gdb/tui/tuiData.c
gdb/tui/tuiData.h
gdb/tui/tuiSourceWin.c
gdb/tui/tuiSourceWin.h