summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>2002-02-07 21:56:07 +0000
committerMartin Hunt <hunt@redhat.com>2002-02-07 21:56:07 +0000
commit9275ca0665fd66fb615eab2d26c614f51f5a358d (patch)
tree0ba8bfa318d7cf58bca651106e905bebe6bfa3db
parent5763f0732ccd66d6735ad821ae8a4c48d0b81082 (diff)
downloadgdb-9275ca0665fd66fb615eab2d26c614f51f5a358d.tar.gz
2002-02-07 Martin M. Hunt <hunt@redhat.com>
* generic/gdbtk.c, generic/gdbtk-bp.c, generic/gdbtk-cmds.c, generic/gdbtk-hooks.c, generic/gdbtk-stack.c: Cleanup includes.
-rw-r--r--gdb/gdbtk/ChangeLog5
-rw-r--r--gdb/gdbtk/generic/gdbtk-bp.c1
-rw-r--r--gdb/gdbtk/generic/gdbtk-cmds.c21
-rw-r--r--gdb/gdbtk/generic/gdbtk-hooks.c17
-rw-r--r--gdb/gdbtk/generic/gdbtk-stack.c3
-rw-r--r--gdb/gdbtk/generic/gdbtk.c22
6 files changed, 23 insertions, 46 deletions
diff --git a/gdb/gdbtk/ChangeLog b/gdb/gdbtk/ChangeLog
index 896f8e2b38e..031fe50020b 100644
--- a/gdb/gdbtk/ChangeLog
+++ b/gdb/gdbtk/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-07 Martin M. Hunt <hunt@redhat.com>
+
+ * generic/gdbtk.c, generic/gdbtk-bp.c, generic/gdbtk-cmds.c,
+ generic/gdbtk-hooks.c, generic/gdbtk-stack.c: Cleanup includes.
+
2002-02-06 Martin M. Hunt <hunt@redhat.com>
* generic/gdbtk.c, generic/gdbtk-bp.c, generic/gdbtk-cmds.c,
diff --git a/gdb/gdbtk/generic/gdbtk-bp.c b/gdb/gdbtk/generic/gdbtk-bp.c
index 61ee861d911..1ed9dfd6489 100644
--- a/gdb/gdbtk/generic/gdbtk-bp.c
+++ b/gdb/gdbtk/generic/gdbtk-bp.c
@@ -24,7 +24,6 @@
#include "linespec.h"
#include "breakpoint.h"
#include "tracepoint.h"
-#include "gdb-events.h"
#include <tcl.h>
#include "gdbtk.h"
diff --git a/gdb/gdbtk/generic/gdbtk-cmds.c b/gdb/gdbtk/generic/gdbtk-cmds.c
index 33f892f08ff..2d2560df04f 100644
--- a/gdb/gdbtk/generic/gdbtk-cmds.c
+++ b/gdb/gdbtk/generic/gdbtk-cmds.c
@@ -24,25 +24,20 @@
Boston, MA 02111-1307, USA. */
#include "defs.h"
-#include "symtab.h"
#include "inferior.h"
-#include "command.h"
#include "source.h"
-#include "bfd.h"
#include "symfile.h"
#include "objfiles.h"
-#include "target.h"
#include "gdbcore.h"
#include "demangle.h"
#include "linespec.h"
#include "tui/tui-file.h"
+#include "top.h"
+#include "annotate.h"
-#include <sys/stat.h>
-
-#include <tcl.h>
-#include <tk.h>
-#include <itcl.h>
#include <tix.h>
+#include <itcl.h>
+
#include "guitcl.h"
#include "gdbtk.h"
#include "gdbtk-wrapper.h"
@@ -50,16 +45,14 @@
#include <signal.h>
#include <fcntl.h>
-#include "top.h"
#include <sys/ioctl.h>
+#include <sys/time.h>
+#include <sys/stat.h>
+
#include "gdb_string.h"
#include "dis-asm.h"
-#include <stdio.h>
#include "gdbcmd.h"
-#include "annotate.h"
-#include <sys/time.h>
-
/* Various globals we reference. */
extern char *source_path;
diff --git a/gdb/gdbtk/generic/gdbtk-hooks.c b/gdb/gdbtk/generic/gdbtk-hooks.c
index 0379052a5cc..f60e45f60a7 100644
--- a/gdb/gdbtk/generic/gdbtk-hooks.c
+++ b/gdb/gdbtk/generic/gdbtk-hooks.c
@@ -22,44 +22,35 @@
Boston, MA 02111-1307, USA. */
#include "defs.h"
-#include "symtab.h"
#include "inferior.h"
-#include "command.h"
-#include "bfd.h"
#include "symfile.h"
#include "objfiles.h"
-#include "target.h"
#include "gdbcore.h"
#include "tracepoint.h"
#include "demangle.h"
#include "gdb-events.h"
+#include "top.h"
+#include "annotate.h"
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif
-#include <sys/stat.h>
-
-#include <tcl.h>
-#include <tk.h>
#include <itcl.h>
#include <tix.h>
#include "guitcl.h"
#include "gdbtk.h"
-#include <stdarg.h>
#include <signal.h>
#include <fcntl.h>
-#include "top.h"
#include <sys/ioctl.h>
+#include <sys/time.h>
+
#include "gdb_string.h"
#include "dis-asm.h"
-#include <stdio.h>
#include "gdbcmd.h"
-#include "annotate.h"
-#include <sys/time.h>
volatile int in_fputs = 0;
diff --git a/gdb/gdbtk/generic/gdbtk-stack.c b/gdb/gdbtk/generic/gdbtk-stack.c
index d9a077310f2..c36fcab52a9 100644
--- a/gdb/gdbtk/generic/gdbtk-stack.c
+++ b/gdb/gdbtk/generic/gdbtk-stack.c
@@ -19,9 +19,6 @@
Boston, MA 02111-1307, USA. */
#include "defs.h"
-#include "symtab.h"
-#include "frame.h"
-#include "value.h"
#include "target.h"
#include "breakpoint.h"
#include "linespec.h"
diff --git a/gdb/gdbtk/generic/gdbtk.c b/gdb/gdbtk/generic/gdbtk.c
index 4f37f470f2b..1f42d14d35f 100644
--- a/gdb/gdbtk/generic/gdbtk.c
+++ b/gdb/gdbtk/generic/gdbtk.c
@@ -22,46 +22,38 @@
Boston, MA 02111-1307, USA. */
#include "defs.h"
-#include "symtab.h"
#include "inferior.h"
-#include "command.h"
-#include "bfd.h"
#include "symfile.h"
#include "objfiles.h"
-#include "target.h"
#include "gdbcore.h"
#include "tracepoint.h"
#include "demangle.h"
#include "version.h"
#include "cli-out.h"
+#include "top.h"
+#include "annotate.h"
#if defined(_WIN32) || defined(__CYGWIN__)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif
-#include <sys/stat.h>
-
-#include <tcl.h>
-#include <tk.h>
-#include <itcl.h>
#include <tix.h>
+#include <itcl.h>
#include <itk.h>
#include "guitcl.h"
#include "gdbtk.h"
-#include <signal.h>
#include <fcntl.h>
-#include "top.h"
+#include <sys/stat.h>
#include <sys/ioctl.h>
+#include <sys/time.h>
+#include <signal.h>
+
#include "gdb_string.h"
#include "dis-asm.h"
-#include <stdio.h>
#include "gdbcmd.h"
-#include "annotate.h"
-#include <sys/time.h>
-
#ifdef __CYGWIN32__
#include <sys/cygwin.h> /* for cygwin32_attach_handle_to_fd */
#endif