(tuiShowAllExecInfosContent): Likewise.
* tuiSourceWin.c (tuiEraseAllSourceContent): Remove.
(tuiShowAllExecInfosContent): Remove.
(tuiAllocSourceBuffer): Remove unused locals.
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>
+
* tuiStack.c (tui_update_command): Rename _tuiUpdateLocation_command
to follow other gdb's command names; use execute_command; cleanup.
(_initialize_tuiStack): Update.
} /* 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. */
static void
tui_show_source_line (TuiWinInfoPtr winInfo, int lineno)
/*
- ** tuiShowAllExecInfosContent()
- */
-void
-tuiShowAllExecInfosContent (void)
-{
- int i;
-
- for (i = 0; i < (sourceWindows ())->count; i++)
- tuiShowExecInfoContent ((TuiWinInfoPtr) (sourceWindows ())->list[i]);
-
- return;
-} /* tuiShowAllExecInfosContent */
-
-
-/*
** tuiEraseExecInfoContent().
*/
void
TuiStatus
tuiAllocSourceBuffer (TuiWinInfoPtr winInfo)
{
- register char *srcLine, *srcLineBuf;
- register int i, lineWidth, c, maxLines;
+ register char *srcLineBuf;
+ register int i, lineWidth, maxLines;
TuiStatus ret = TUI_FAILURE;
maxLines = winInfo->generic.height; /* less the highlight box */
extern void tuiUpdateSourceWindowsFromLocator (void);
extern void tuiClearSourceContent (TuiWinInfoPtr, int);
extern void tuiEraseSourceContent (TuiWinInfoPtr, int);
-extern void tuiEraseAllSourceWinsContent (int);
extern void tuiSetSourceContentNil (TuiWinInfoPtr, char *);
extern void tuiShowSourceContent (TuiWinInfoPtr);
extern void tuiHorizontalSourceScroll (TuiWinInfoPtr, TuiScrollDirection,
int);
extern TuiStatus tuiSetExecInfoContent (TuiWinInfoPtr);
extern void tuiShowExecInfoContent (TuiWinInfoPtr);
-extern void tuiShowAllExecInfosContent (void);
extern void tuiEraseExecInfoContent (TuiWinInfoPtr);
extern void tuiEraseAllExecInfosContent (void);
extern void tuiClearExecInfoContent (TuiWinInfoPtr);