mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
* tuiSourceWin.h (tuiEraseAllSourceContent): Don't declare.
(tuiShowAllExecInfosContent): Likewise. * tuiSourceWin.c (tuiEraseAllSourceContent): Remove. (tuiShowAllExecInfosContent): Remove. (tuiAllocSourceBuffer): Remove unused locals.
This commit is contained in:
@ -1,3 +1,11 @@
|
|||||||
|
2002-08-25 Stephane Carrez <stcarrez@nerim.fr>
|
||||||
|
|
||||||
|
* tuiSourceWin.h (tuiEraseAllSourceContent): Don't declare.
|
||||||
|
(tuiShowAllExecInfosContent): Likewise.
|
||||||
|
* tuiSourceWin.c (tuiEraseAllSourceContent): Remove.
|
||||||
|
(tuiShowAllExecInfosContent): Remove.
|
||||||
|
(tuiAllocSourceBuffer): Remove unused locals.
|
||||||
|
|
||||||
2002-08-25 Stephane Carrez <stcarrez@nerim.fr>
|
2002-08-25 Stephane Carrez <stcarrez@nerim.fr>
|
||||||
|
|
||||||
* tuiStack.c (tui_update_command): Rename _tuiUpdateLocation_command
|
* tuiStack.c (tui_update_command): Rename _tuiUpdateLocation_command
|
||||||
|
@ -302,22 +302,6 @@ tuiEraseSourceContent (TuiWinInfoPtr winInfo, int displayPrompt)
|
|||||||
} /* tuiEraseSourceContent */
|
} /* tuiEraseSourceContent */
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
** tuiEraseAllSourceContent().
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
tuiEraseAllSourceWinsContent (int displayPrompt)
|
|
||||||
{
|
|
||||||
int i;
|
|
||||||
|
|
||||||
for (i = 0; i < (sourceWindows ())->count; i++)
|
|
||||||
tuiEraseSourceContent ((TuiWinInfoPtr) (sourceWindows ())->list[i],
|
|
||||||
displayPrompt);
|
|
||||||
|
|
||||||
return;
|
|
||||||
} /* tuiEraseAllSourceWinsContent */
|
|
||||||
|
|
||||||
|
|
||||||
/* Redraw the complete line of a source or disassembly window. */
|
/* Redraw the complete line of a source or disassembly window. */
|
||||||
static void
|
static void
|
||||||
tui_show_source_line (TuiWinInfoPtr winInfo, int lineno)
|
tui_show_source_line (TuiWinInfoPtr winInfo, int lineno)
|
||||||
@ -606,21 +590,6 @@ tuiShowExecInfoContent (TuiWinInfoPtr winInfo)
|
|||||||
} /* tuiShowExecInfoContent */
|
} /* tuiShowExecInfoContent */
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
** tuiShowAllExecInfosContent()
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
tuiShowAllExecInfosContent (void)
|
|
||||||
{
|
|
||||||
int i;
|
|
||||||
|
|
||||||
for (i = 0; i < (sourceWindows ())->count; i++)
|
|
||||||
tuiShowExecInfoContent ((TuiWinInfoPtr) (sourceWindows ())->list[i]);
|
|
||||||
|
|
||||||
return;
|
|
||||||
} /* tuiShowAllExecInfosContent */
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** tuiEraseExecInfoContent().
|
** tuiEraseExecInfoContent().
|
||||||
*/
|
*/
|
||||||
@ -676,8 +645,8 @@ tuiUpdateAllExecInfos (void)
|
|||||||
TuiStatus
|
TuiStatus
|
||||||
tuiAllocSourceBuffer (TuiWinInfoPtr winInfo)
|
tuiAllocSourceBuffer (TuiWinInfoPtr winInfo)
|
||||||
{
|
{
|
||||||
register char *srcLine, *srcLineBuf;
|
register char *srcLineBuf;
|
||||||
register int i, lineWidth, c, maxLines;
|
register int i, lineWidth, maxLines;
|
||||||
TuiStatus ret = TUI_FAILURE;
|
TuiStatus ret = TUI_FAILURE;
|
||||||
|
|
||||||
maxLines = winInfo->generic.height; /* less the highlight box */
|
maxLines = winInfo->generic.height; /* less the highlight box */
|
||||||
|
@ -32,14 +32,12 @@ extern void tuiUpdateSourceWindowsWithLine (struct symtab *, int);
|
|||||||
extern void tuiUpdateSourceWindowsFromLocator (void);
|
extern void tuiUpdateSourceWindowsFromLocator (void);
|
||||||
extern void tuiClearSourceContent (TuiWinInfoPtr, int);
|
extern void tuiClearSourceContent (TuiWinInfoPtr, int);
|
||||||
extern void tuiEraseSourceContent (TuiWinInfoPtr, int);
|
extern void tuiEraseSourceContent (TuiWinInfoPtr, int);
|
||||||
extern void tuiEraseAllSourceWinsContent (int);
|
|
||||||
extern void tuiSetSourceContentNil (TuiWinInfoPtr, char *);
|
extern void tuiSetSourceContentNil (TuiWinInfoPtr, char *);
|
||||||
extern void tuiShowSourceContent (TuiWinInfoPtr);
|
extern void tuiShowSourceContent (TuiWinInfoPtr);
|
||||||
extern void tuiHorizontalSourceScroll (TuiWinInfoPtr, TuiScrollDirection,
|
extern void tuiHorizontalSourceScroll (TuiWinInfoPtr, TuiScrollDirection,
|
||||||
int);
|
int);
|
||||||
extern TuiStatus tuiSetExecInfoContent (TuiWinInfoPtr);
|
extern TuiStatus tuiSetExecInfoContent (TuiWinInfoPtr);
|
||||||
extern void tuiShowExecInfoContent (TuiWinInfoPtr);
|
extern void tuiShowExecInfoContent (TuiWinInfoPtr);
|
||||||
extern void tuiShowAllExecInfosContent (void);
|
|
||||||
extern void tuiEraseExecInfoContent (TuiWinInfoPtr);
|
extern void tuiEraseExecInfoContent (TuiWinInfoPtr);
|
||||||
extern void tuiEraseAllExecInfosContent (void);
|
extern void tuiEraseAllExecInfosContent (void);
|
||||||
extern void tuiClearExecInfoContent (TuiWinInfoPtr);
|
extern void tuiClearExecInfoContent (TuiWinInfoPtr);
|
||||||
|
Reference in New Issue
Block a user