Add FIXME explaining include problem.
[deliverable/binutils-gdb.git] / gdb / tui / tuiDataWin.c
index d7ad6b48b47cb57d9c64073966d165a86aabb928..e729afc7f72a9e171f55b74287b2dd5e463ee3a9 100644 (file)
@@ -1,5 +1,8 @@
 /* Data/register window display.
-   Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+
+   Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
+   Inc.
+
    Contributed by Hewlett-Packard Company.
 
    This file is part of GDB.
    Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+/* FIXME: cagney/2002-02-28: The GDB coding standard indicates that
+   "defs.h" should be included first.  Unfortunatly some systems
+   (currently Debian GNU/Linux) include the <stdbool.h> via <curses.h>
+   and they clash with "bfd.h"'s definiton of true/false.  The correct
+   fix is to remove true/false from "bfd.h", however, until that
+   happens, hack around it by including "config.h" and <curses.h>
+   first.  */
+
+#include "config.h"
+#ifdef HAVE_NCURSES_H       
+#include <ncurses.h>
+#else
+#ifdef HAVE_CURSES_H
+#include <curses.h>
+#endif
+#endif
+
 #include "defs.h"
 #include "tui.h"
 #include "tuiData.h"
+#include "tuiGeneralWin.h"
 #include "tuiRegs.h"
 
 
@@ -296,22 +317,6 @@ tuiCheckDataValues (struct frame_info *frame)
 }                              /* tuiCheckDataValues */
 
 
-/*
-   ** tui_vCheckDataValues().
-   **        Function to check the data values and hilite any that have
-   **        changed with args in a va_list
- */
-void
-tui_vCheckDataValues (va_list args)
-{
-  struct frame_info *frame = va_arg (args, struct frame_info *);
-
-  tuiCheckDataValues (frame);
-
-  return;
-}                              /* tui_vCheckDataValues */
-
-
 /*
    ** tuiVerticalDataScroll()
    **        Scroll the data window vertically forward or backward.
This page took 0.023664 seconds and 4 git commands to generate.