aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tuiStack.c
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2002-08-25 09:53:27 +0000
committerStephane Carrez <stcarrez@nerim.fr>2002-08-25 09:53:27 +0000
commit3a42771a8e4c02ef6d52820cd5c1f0f3ca5bb71b (patch)
tree556503b7359eb2183f3b11dbed9d6a463e82100c /gdb/tui/tuiStack.c
parent5564c76952a3968193fba003f2208b718c8eca06 (diff)
downloadgdb-3a42771a8e4c02ef6d52820cd5c1f0f3ca5bb71b.zip
gdb-3a42771a8e4c02ef6d52820cd5c1f0f3ca5bb71b.tar.gz
gdb-3a42771a8e4c02ef6d52820cd5c1f0f3ca5bb71b.tar.bz2
* tuiStack.h (tuiClearLocatorDisplay): Don't declare.
* tuiStack.c (tuiClearLocatorDisplay): Remove. (tuiShowLocatorContent): Use wclrtoeol to clear end of status line. (tuiUpdateLocatorDisplay): Don't call tuiClearLocatorDisplay.
Diffstat (limited to 'gdb/tui/tuiStack.c')
-rw-r--r--gdb/tui/tuiStack.c31
1 files changed, 1 insertions, 30 deletions
diff --git a/gdb/tui/tuiStack.c b/gdb/tui/tuiStack.c
index 22fb18a..5ceecaf 100644
--- a/gdb/tui/tuiStack.c
+++ b/gdb/tui/tuiStack.c
@@ -95,35 +95,6 @@ tui_get_function_from_frame (struct frame_info *fi)
}
/*
- ** tuiClearLocatorDisplay()
- */
-void
-tuiClearLocatorDisplay (void)
-{
- TuiGenWinInfoPtr locator = locatorWinInfoPtr ();
- int i;
-
- if (locator->handle != (WINDOW *) NULL)
- {
- /* No need to werase, since writing a line of
- * blanks which we do below, is equivalent.
- */
- /* werase(locator->handle); */
- wmove (locator->handle, 0, 0);
- wstandout (locator->handle);
- for (i = 0; i < locator->width; i++)
- waddch (locator->handle, ' ');
- wstandend (locator->handle);
- tuiRefreshWin (locator);
- wmove (locator->handle, 0, 0);
- locator->contentInUse = FALSE;
- }
-
- return;
-} /* tuiClearLocatorDisplay */
-
-
-/*
** tuiShowLocatorContent()
*/
void
@@ -142,6 +113,7 @@ tuiShowLocatorContent (void)
wmove (locator->handle, 0, 0);
wstandout (locator->handle);
waddstr (locator->handle, string);
+ wclrtoeol (locator->handle);
wstandend (locator->handle);
tuiRefreshWin (locator);
wmove (locator->handle, 0, 0);
@@ -314,7 +286,6 @@ tuiSetLocatorContent (struct frame_info *frameInfo)
void
tuiUpdateLocatorDisplay (struct frame_info *frameInfo)
{
- tuiClearLocatorDisplay ();
tuiSetLocatorContent (frameInfo);
tuiShowLocatorContent ();