aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2002-08-25 08:44:44 +0000
committerStephane Carrez <stcarrez@nerim.fr>2002-08-25 08:44:44 +0000
commit335fc5a319c21abaf244015817548b923ff505fb (patch)
tree0b6c558e168226bef30df86d1a31ad159e468f24 /gdb/tui
parent7563e053c315beb95d8245b99f2dfb9a1f707f0d (diff)
downloadgdb-335fc5a319c21abaf244015817548b923ff505fb.zip
gdb-335fc5a319c21abaf244015817548b923ff505fb.tar.gz
gdb-335fc5a319c21abaf244015817548b923ff505fb.tar.bz2
* tuiSourceWin.h (tuiEraseAllSourceContent): Don't declare.
(tuiShowAllExecInfosContent): Likewise. * tuiSourceWin.c (tuiEraseAllSourceContent): Remove. (tuiShowAllExecInfosContent): Remove. (tuiAllocSourceBuffer): Remove unused locals.
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/ChangeLog8
-rw-r--r--gdb/tui/tuiSourceWin.c35
-rw-r--r--gdb/tui/tuiSourceWin.h2
3 files changed, 10 insertions, 35 deletions
diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog
index 58bc5ef..619f6a0 100644
--- a/gdb/tui/ChangeLog
+++ b/gdb/tui/ChangeLog
@@ -1,5 +1,13 @@
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.
diff --git a/gdb/tui/tuiSourceWin.c b/gdb/tui/tuiSourceWin.c
index e91cfe9..1f17d30 100644
--- a/gdb/tui/tuiSourceWin.c
+++ b/gdb/tui/tuiSourceWin.c
@@ -302,22 +302,6 @@ tuiEraseSourceContent (TuiWinInfoPtr winInfo, int displayPrompt)
} /* 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)
@@ -607,21 +591,6 @@ tuiShowExecInfoContent (TuiWinInfoPtr winInfo)
/*
- ** tuiShowAllExecInfosContent()
- */
-void
-tuiShowAllExecInfosContent (void)
-{
- int i;
-
- for (i = 0; i < (sourceWindows ())->count; i++)
- tuiShowExecInfoContent ((TuiWinInfoPtr) (sourceWindows ())->list[i]);
-
- return;
-} /* tuiShowAllExecInfosContent */
-
-
-/*
** tuiEraseExecInfoContent().
*/
void
@@ -676,8 +645,8 @@ tuiUpdateAllExecInfos (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 */
diff --git a/gdb/tui/tuiSourceWin.h b/gdb/tui/tuiSourceWin.h
index 8503319..b8c20c8 100644
--- a/gdb/tui/tuiSourceWin.h
+++ b/gdb/tui/tuiSourceWin.h
@@ -32,14 +32,12 @@ extern void tuiUpdateSourceWindowsWithLine (struct symtab *, int);
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);