summaryrefslogtreecommitdiff
path: root/gdb/gdbtk
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2002-03-25 16:45:35 +0000
committerAlexandre Oliva <aoliva@redhat.com>2002-03-25 16:45:35 +0000
commit3113a8521e77ff8925f756187b5c94d4333bc864 (patch)
treeb298cd9b4d1fe9cff4ad3ac2ecadc8c9243b970a /gdb/gdbtk
parentb221eb9e1632c2c9323f09799c958aa0650d479a (diff)
downloadgdb-3113a8521e77ff8925f756187b5c94d4333bc864.tar.gz
* generic/gdbtk.c (HAS_STDARG): Define.
* generic/gdbtk-cmds.c (HAS_STDARG): Likewise. * generic/gdbtk-hooks.c (HAS_STDARG): Likewise.
Diffstat (limited to 'gdb/gdbtk')
-rw-r--r--gdb/gdbtk/ChangeLog6
-rw-r--r--gdb/gdbtk/generic/gdbtk-cmds.c4
-rw-r--r--gdb/gdbtk/generic/gdbtk-hooks.c4
-rw-r--r--gdb/gdbtk/generic/gdbtk.c4
4 files changed, 18 insertions, 0 deletions
diff --git a/gdb/gdbtk/ChangeLog b/gdb/gdbtk/ChangeLog
index 6eaf8a934e5..e4319a94f6b 100644
--- a/gdb/gdbtk/ChangeLog
+++ b/gdb/gdbtk/ChangeLog
@@ -1,3 +1,9 @@
+2002-03-25 Alexandre Oliva <aoliva@redhat.com>
+
+ * generic/gdbtk.c (HAS_STDARG): Define.
+ * generic/gdbtk-cmds.c (HAS_STDARG): Likewise.
+ * generic/gdbtk-hooks.c (HAS_STDARG): Likewise.
+
2002-03-14 Keith Seitz <keiths@redhat.com>
* library/bpwin.itb (constructor): Set some sane initial
diff --git a/gdb/gdbtk/generic/gdbtk-cmds.c b/gdb/gdbtk/generic/gdbtk-cmds.c
index c24178b720b..44dd2d7ea7e 100644
--- a/gdb/gdbtk/generic/gdbtk-cmds.c
+++ b/gdb/gdbtk/generic/gdbtk-cmds.c
@@ -35,6 +35,10 @@
#include "top.h"
#include "annotate.h"
+/* tcl header files includes varargs.h unless HAS_STDARG is defined,
+ but gdb uses stdarg.h, so make sure HAS_STDARG is defined. */
+#define HAS_STDARG 1
+
#include <tix.h>
#include <itcl.h>
diff --git a/gdb/gdbtk/generic/gdbtk-hooks.c b/gdb/gdbtk/generic/gdbtk-hooks.c
index fefdfc4acc5..3dcd81b378e 100644
--- a/gdb/gdbtk/generic/gdbtk-hooks.c
+++ b/gdb/gdbtk/generic/gdbtk-hooks.c
@@ -37,6 +37,10 @@
#include <windows.h>
#endif
+/* tcl header files includes varargs.h unless HAS_STDARG is defined,
+ but gdb uses stdarg.h, so make sure HAS_STDARG is defined. */
+#define HAS_STDARG 1
+
#include <itcl.h>
#include <tix.h>
#include "guitcl.h"
diff --git a/gdb/gdbtk/generic/gdbtk.c b/gdb/gdbtk/generic/gdbtk.c
index 1f42d14d35f..210c988f46b 100644
--- a/gdb/gdbtk/generic/gdbtk.c
+++ b/gdb/gdbtk/generic/gdbtk.c
@@ -38,6 +38,10 @@
#include <windows.h>
#endif
+/* tcl header files includes varargs.h unless HAS_STDARG is defined,
+ but gdb uses stdarg.h, so make sure HAS_STDARG is defined. */
+#define HAS_STDARG 1
+
#include <tix.h>
#include <itcl.h>
#include <itk.h>