mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
* tuiStack.h (tuiClearLocatorDisplay): Don't declare.
* tuiStack.c (tuiClearLocatorDisplay): Remove. (tuiShowLocatorContent): Use wclrtoeol to clear end of status line. (tuiUpdateLocatorDisplay): Don't call tuiClearLocatorDisplay.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2002-08-25 Stephane Carrez <stcarrez@nerim.fr>
|
||||||
|
|
||||||
|
* tuiStack.h (tuiClearLocatorDisplay): Don't declare.
|
||||||
|
* tuiStack.c (tuiClearLocatorDisplay): Remove.
|
||||||
|
(tuiShowLocatorContent): Use wclrtoeol to clear end of status line.
|
||||||
|
(tuiUpdateLocatorDisplay): Don't call tuiClearLocatorDisplay.
|
||||||
|
|
||||||
2002-08-25 Stephane Carrez <stcarrez@nerim.fr>
|
2002-08-25 Stephane Carrez <stcarrez@nerim.fr>
|
||||||
|
|
||||||
* tuiStack.c (tui_get_function_from_frame): Rename from
|
* tuiStack.c (tui_get_function_from_frame): Rename from
|
||||||
|
@ -94,35 +94,6 @@ tui_get_function_from_frame (struct frame_info *fi)
|
|||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
** 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()
|
** tuiShowLocatorContent()
|
||||||
*/
|
*/
|
||||||
@ -142,6 +113,7 @@ tuiShowLocatorContent (void)
|
|||||||
wmove (locator->handle, 0, 0);
|
wmove (locator->handle, 0, 0);
|
||||||
wstandout (locator->handle);
|
wstandout (locator->handle);
|
||||||
waddstr (locator->handle, string);
|
waddstr (locator->handle, string);
|
||||||
|
wclrtoeol (locator->handle);
|
||||||
wstandend (locator->handle);
|
wstandend (locator->handle);
|
||||||
tuiRefreshWin (locator);
|
tuiRefreshWin (locator);
|
||||||
wmove (locator->handle, 0, 0);
|
wmove (locator->handle, 0, 0);
|
||||||
@ -314,7 +286,6 @@ tuiSetLocatorContent (struct frame_info *frameInfo)
|
|||||||
void
|
void
|
||||||
tuiUpdateLocatorDisplay (struct frame_info *frameInfo)
|
tuiUpdateLocatorDisplay (struct frame_info *frameInfo)
|
||||||
{
|
{
|
||||||
tuiClearLocatorDisplay ();
|
|
||||||
tuiSetLocatorContent (frameInfo);
|
tuiSetLocatorContent (frameInfo);
|
||||||
tuiShowLocatorContent ();
|
tuiShowLocatorContent ();
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* TUI display locator.
|
/* TUI display locator.
|
||||||
Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
|
Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
||||||
Contributed by Hewlett-Packard Company.
|
Contributed by Hewlett-Packard Company.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
@ -34,7 +34,6 @@ extern void tuiUpdateLocatorDisplay (struct frame_info *);
|
|||||||
extern void tuiSetLocatorContent (struct frame_info *);
|
extern void tuiSetLocatorContent (struct frame_info *);
|
||||||
extern void tuiShowLocatorContent (void);
|
extern void tuiShowLocatorContent (void);
|
||||||
extern void tuiClearLocatorContent (void);
|
extern void tuiClearLocatorContent (void);
|
||||||
extern void tuiClearLocatorDisplay (void);
|
|
||||||
extern void tuiSwitchFilename (char *);
|
extern void tuiSwitchFilename (char *);
|
||||||
extern void tuiShowFrameInfo (struct frame_info *);
|
extern void tuiShowFrameInfo (struct frame_info *);
|
||||||
extern void tuiGetLocatorFilename (TuiGenWinInfoPtr, char **);
|
extern void tuiGetLocatorFilename (TuiGenWinInfoPtr, char **);
|
||||||
|
Reference in New Issue
Block a user