This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH]: Some TUI cleanup


Hi!

I committed this patch to remove unused declarations and unused function in TUI.

	Stephane

2002-08-31  Stephane Carrez  <stcarrez@nerim.fr>

	* tuiSourceWin.h (tuiUpdateAllExecInfos): Don't declare.
	(tuiClearAllExecInfosContent): Likewise.
	(tuiEraseAllExecInfosContent): Ditto.
	(tuiUpdateSourceWindowsFromLocator): Ditto.
	* tuiSourceWin.c (tuiUpdateAllExecInfos): Remove.
	* tui.h (tui_vCheckDataValues): Don't declare.
	(tui_vStartNewLines, tui_vAllSetHasBreakAt): Likewise.
	(tui_vUpdateLocatorFilename, tui_vUpdateSourceWindowsWithAddr): Ditto.
	(tui_vShowFrameInfo): Ditto.
Index: tui.h
===================================================================
RCS file: /cvs/src/src/gdb/tui/tui.h,v
retrieving revision 1.15
diff -u -p -r1.15 tui.h
--- tui.h	31 Aug 2002 12:02:14 -0000	1.15
+++ tui.h	31 Aug 2002 12:23:03 -0000
@@ -132,21 +132,10 @@ extern void tui_show_source (const char 
 
 extern struct ui_out *tui_out_new (struct ui_file *stream);
 
-/* tuiDataWin.c */
-extern void tui_vCheckDataValues (va_list);
-
-/* tuiIO.c */
-extern void tui_vStartNewLines (va_list);
-
 /* tuiLayout.c */
 extern TuiStatus tui_set_layout (const char *);
 
 /* tuiSourceWin.c */
 extern void tuiUpdateAllExecInfos (void);
-extern void tui_vAllSetHasBreakAt (va_list);
-extern void tui_vUpdateSourceWindowsWithAddr (va_list);
 
-/* tuiStack.c */
-extern void tui_vShowFrameInfo (va_list);
-extern void tui_vUpdateLocatorFilename (va_list);
 #endif /* TUI_H */
Index: tuiSourceWin.c
===================================================================
RCS file: /cvs/src/src/gdb/tui/tuiSourceWin.c,v
retrieving revision 1.20
diff -u -p -r1.20 tuiSourceWin.c
--- tuiSourceWin.c	30 Aug 2002 21:49:49 -0000	1.20
+++ tuiSourceWin.c	31 Aug 2002 12:23:03 -0000
@@ -610,21 +610,6 @@ tuiUpdateExecInfo (TuiWinInfoPtr winInfo
   tuiShowExecInfoContent (winInfo);
 }				/* tuiUpdateExecInfo */
 
-
-				   /*
-				   ** tuiUpdateAllExecInfos()
-				 */
-void
-tuiUpdateAllExecInfos (void)
-{
-  int i;
-
-  for (i = 0; i < (sourceWindows ())->count; i++)
-    tuiUpdateExecInfo ((TuiWinInfoPtr) (sourceWindows ())->list[i]);
-
-  return;
-}				/* tuiUpdateAllExecInfos */
-
 TuiStatus
 tuiAllocSourceBuffer (TuiWinInfoPtr winInfo)
 {
Index: tuiSourceWin.h
===================================================================
RCS file: /cvs/src/src/gdb/tui/tuiSourceWin.h,v
retrieving revision 1.12
diff -u -p -r1.12 tuiSourceWin.h
--- tuiSourceWin.h	30 Aug 2002 20:07:05 -0000	1.12
+++ tuiSourceWin.h	31 Aug 2002 12:23:03 -0000
@@ -41,7 +41,6 @@ extern void tuiUpdateSourceWindowAsIs (T
 				       int);
 extern void tuiUpdateSourceWindowsWithAddr (CORE_ADDR);
 extern void tuiUpdateSourceWindowsWithLine (struct symtab *, int);
-extern void tuiUpdateSourceWindowsFromLocator (void);
 extern void tuiClearSourceContent (TuiWinInfoPtr, int);
 extern void tuiEraseSourceContent (TuiWinInfoPtr, int);
 extern void tuiSetSourceContentNil (TuiWinInfoPtr, char *);
@@ -51,11 +50,8 @@ extern void tuiHorizontalSourceScroll (T
 extern TuiStatus tuiSetExecInfoContent (TuiWinInfoPtr);
 extern void tuiShowExecInfoContent (TuiWinInfoPtr);
 extern void tuiEraseExecInfoContent (TuiWinInfoPtr);
-extern void tuiEraseAllExecInfosContent (void);
 extern void tuiClearExecInfoContent (TuiWinInfoPtr);
-extern void tuiClearAllExecInfosContent (void);
 extern void tuiUpdateExecInfo (TuiWinInfoPtr);
-extern void tuiUpdateAllExecInfos (void);
 
 extern void tuiSetIsExecPointAt (TuiLineOrAddress, TuiWinInfoPtr);
 extern TuiStatus tuiAllocSourceBuffer (TuiWinInfoPtr);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]