mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-08 10:19:06 +00:00
* tui-hooks.c: Update include order.
* tui.c: Likewise. * tuiCommand.c: Likewise. * tuiData.c: Likewise. * tuiDataWin.c: Likewise. * tuiDisassem.c: Likewise. * tuiGeneralWin.c: Likewise. * tuiIO.c: Likewise. * tuiLayout.c: Likewise. * tuiRegs.c: Likewise. * tuiSource.c: Likewise. * tuiSourceWin.c: Likewise. * tuiStack.c: Likewise. * tuiWin.c: Likewise.
This commit is contained in:
parent
db5a5748d7
commit
96ec9981bb
@ -1,3 +1,20 @@
|
||||
2003-06-22 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* tui-hooks.c: Update include order.
|
||||
* tui.c: Likewise.
|
||||
* tuiCommand.c: Likewise.
|
||||
* tuiData.c: Likewise.
|
||||
* tuiDataWin.c: Likewise.
|
||||
* tuiDisassem.c: Likewise.
|
||||
* tuiGeneralWin.c: Likewise.
|
||||
* tuiIO.c: Likewise.
|
||||
* tuiLayout.c: Likewise.
|
||||
* tuiRegs.c: Likewise.
|
||||
* tuiSource.c: Likewise.
|
||||
* tuiSourceWin.c: Likewise.
|
||||
* tuiStack.c: Likewise.
|
||||
* tuiWin.c: Likewise.
|
||||
|
||||
2003-06-12 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* tuiSource.c (tuiVerticalSourceScroll): Use get_frame_pc.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* GDB hooks for TUI.
|
||||
|
||||
Copyright 2001, 2002 Free Software Foundation, Inc.
|
||||
Copyright 2001, 2002, 2003 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
|
||||
@ -19,23 +19,6 @@
|
||||
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 "symtab.h"
|
||||
#include "inferior.h"
|
||||
@ -66,6 +49,14 @@
|
||||
#include "tuiDataWin.h"
|
||||
#include "tuiSourceWin.h"
|
||||
|
||||
#ifdef HAVE_NCURSES_H
|
||||
#include <ncurses.h>
|
||||
#else
|
||||
#ifdef HAVE_CURSES_H
|
||||
#include <curses.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
int tui_target_has_run = 0;
|
||||
|
||||
static void (* tui_target_new_objfile_chain) (struct objfile*);
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* General functions for the WDB TUI.
|
||||
|
||||
Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
|
||||
Copyright 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
Contributed by Hewlett-Packard Company.
|
||||
@ -22,23 +22,6 @@
|
||||
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 <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
@ -70,6 +53,14 @@
|
||||
#include "symtab.h"
|
||||
#include "source.h"
|
||||
|
||||
#ifdef HAVE_NCURSES_H
|
||||
#include <ncurses.h>
|
||||
#else
|
||||
#ifdef HAVE_CURSES_H
|
||||
#include <curses.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Tells whether the TUI is active or not. */
|
||||
int tui_active = 0;
|
||||
static int tui_finish_init = 1;
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* Specific command window processing.
|
||||
|
||||
Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
|
||||
Copyright 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
Contributed by Hewlett-Packard Company.
|
||||
@ -22,15 +22,13 @@
|
||||
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 "defs.h"
|
||||
#include <ctype.h>
|
||||
#include "tui.h"
|
||||
#include "tuiData.h"
|
||||
#include "tuiWin.h"
|
||||
#include "tuiIO.h"
|
||||
|
||||
#include "config.h"
|
||||
#ifdef HAVE_NCURSES_H
|
||||
#include <ncurses.h>
|
||||
#else
|
||||
@ -39,13 +37,6 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "defs.h"
|
||||
#include <ctype.h>
|
||||
#include "tui.h"
|
||||
#include "tuiData.h"
|
||||
#include "tuiWin.h"
|
||||
#include "tuiIO.h"
|
||||
|
||||
|
||||
/*****************************************
|
||||
** STATIC LOCAL FUNCTIONS FORWARD DECLS **
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* TUI data manipulation routines.
|
||||
|
||||
Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
|
||||
Copyright 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
Contributed by Hewlett-Packard Company.
|
||||
@ -22,15 +22,12 @@
|
||||
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 "defs.h"
|
||||
#include "symtab.h"
|
||||
#include "tui.h"
|
||||
#include "tuiData.h"
|
||||
#include "tuiGeneralWin.h"
|
||||
|
||||
#include "config.h"
|
||||
#ifdef HAVE_NCURSES_H
|
||||
#include <ncurses.h>
|
||||
#else
|
||||
@ -39,12 +36,6 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "defs.h"
|
||||
#include "symtab.h"
|
||||
#include "tui.h"
|
||||
#include "tuiData.h"
|
||||
#include "tuiGeneralWin.h"
|
||||
|
||||
/****************************
|
||||
** GLOBAL DECLARATIONS
|
||||
****************************/
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* Data/register window display.
|
||||
|
||||
Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
|
||||
Copyright 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
Contributed by Hewlett-Packard Company.
|
||||
@ -22,15 +22,12 @@
|
||||
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 "defs.h"
|
||||
#include "tui.h"
|
||||
#include "tuiData.h"
|
||||
#include "tuiGeneralWin.h"
|
||||
#include "tuiRegs.h"
|
||||
|
||||
#include "config.h"
|
||||
#ifdef HAVE_NCURSES_H
|
||||
#include <ncurses.h>
|
||||
#else
|
||||
@ -39,12 +36,6 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "defs.h"
|
||||
#include "tui.h"
|
||||
#include "tuiData.h"
|
||||
#include "tuiGeneralWin.h"
|
||||
#include "tuiRegs.h"
|
||||
|
||||
|
||||
/*****************************************
|
||||
** STATIC LOCAL FUNCTIONS FORWARD DECLS **
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* Disassembly display.
|
||||
|
||||
Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
|
||||
Copyright 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
Contributed by Hewlett-Packard Company.
|
||||
@ -22,23 +22,6 @@
|
||||
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 "symtab.h"
|
||||
#include "breakpoint.h"
|
||||
@ -55,6 +38,14 @@
|
||||
#include "tuiStack.h"
|
||||
#include "tui-file.h"
|
||||
|
||||
#ifdef HAVE_NCURSES_H
|
||||
#include <ncurses.h>
|
||||
#else
|
||||
#ifdef HAVE_CURSES_H
|
||||
#include <curses.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
struct tui_asm_line
|
||||
{
|
||||
CORE_ADDR addr;
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* General window behavior.
|
||||
|
||||
Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
|
||||
Copyright 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
Contributed by Hewlett-Packard Company.
|
||||
@ -22,15 +22,12 @@
|
||||
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 "defs.h"
|
||||
#include "tui.h"
|
||||
#include "tuiData.h"
|
||||
#include "tuiGeneralWin.h"
|
||||
#include "tuiWin.h"
|
||||
|
||||
#include "config.h"
|
||||
#ifdef HAVE_NCURSES_H
|
||||
#include <ncurses.h>
|
||||
#else
|
||||
@ -39,12 +36,6 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "defs.h"
|
||||
#include "tui.h"
|
||||
#include "tuiData.h"
|
||||
#include "tuiGeneralWin.h"
|
||||
#include "tuiWin.h"
|
||||
|
||||
/***********************
|
||||
** PUBLIC FUNCTIONS
|
||||
***********************/
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* TUI support I/O functions.
|
||||
|
||||
Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
|
||||
Copyright 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
Contributed by Hewlett-Packard Company.
|
||||
@ -22,24 +22,6 @@
|
||||
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 <stdio.h>
|
||||
#include "defs.h"
|
||||
#include "terminal.h"
|
||||
#include "target.h"
|
||||
@ -59,6 +41,15 @@
|
||||
#include "cli-out.h"
|
||||
#include <fcntl.h>
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef HAVE_NCURSES_H
|
||||
#include <ncurses.h>
|
||||
#else
|
||||
#ifdef HAVE_CURSES_H
|
||||
#include <curses.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Use definition from readline 4.3. */
|
||||
#undef CTRL_CHAR
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* TUI layout window management.
|
||||
|
||||
Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
|
||||
Copyright 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
Contributed by Hewlett-Packard Company.
|
||||
@ -22,23 +22,6 @@
|
||||
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 "command.h"
|
||||
#include "symtab.h"
|
||||
@ -56,6 +39,14 @@
|
||||
#include "tuiSourceWin.h"
|
||||
#include "tuiDisassem.h"
|
||||
|
||||
#ifdef HAVE_NCURSES_H
|
||||
#include <ncurses.h>
|
||||
#else
|
||||
#ifdef HAVE_CURSES_H
|
||||
#include <curses.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*******************************
|
||||
** Static Local Decls
|
||||
********************************/
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* TUI display registers in window.
|
||||
|
||||
Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
|
||||
Copyright 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
Contributed by Hewlett-Packard Company.
|
||||
@ -22,23 +22,6 @@
|
||||
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"
|
||||
@ -55,6 +38,14 @@
|
||||
#include "tuiGeneralWin.h"
|
||||
#include "tui-file.h"
|
||||
|
||||
#ifdef HAVE_NCURSES_H
|
||||
#include <ncurses.h>
|
||||
#else
|
||||
#ifdef HAVE_CURSES_H
|
||||
#include <curses.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*****************************************
|
||||
** LOCAL DEFINITIONS **
|
||||
******************************************/
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* TUI display source window.
|
||||
|
||||
Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
|
||||
Copyright 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
Contributed by Hewlett-Packard Company.
|
||||
@ -22,23 +22,6 @@
|
||||
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 <ctype.h>
|
||||
#include "symtab.h"
|
||||
@ -53,6 +36,13 @@
|
||||
#include "tuiSourceWin.h"
|
||||
#include "tuiSource.h"
|
||||
|
||||
#ifdef HAVE_NCURSES_H
|
||||
#include <ncurses.h>
|
||||
#else
|
||||
#ifdef HAVE_CURSES_H
|
||||
#include <curses.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Function to display source in the source window. */
|
||||
TuiStatus
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* TUI display source/assembly window.
|
||||
|
||||
Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
|
||||
Copyright 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
Contributed by Hewlett-Packard Company.
|
||||
@ -22,23 +22,6 @@
|
||||
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 <ctype.h>
|
||||
#include "symtab.h"
|
||||
@ -56,6 +39,13 @@
|
||||
#include "tuiSource.h"
|
||||
#include "tuiDisassem.h"
|
||||
|
||||
#ifdef HAVE_NCURSES_H
|
||||
#include <ncurses.h>
|
||||
#else
|
||||
#ifdef HAVE_CURSES_H
|
||||
#include <curses.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Function to display the "main" routine. */
|
||||
void
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* TUI display locator.
|
||||
|
||||
Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
|
||||
Copyright 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
Contributed by Hewlett-Packard Company.
|
||||
@ -22,23 +22,6 @@
|
||||
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 "symtab.h"
|
||||
#include "breakpoint.h"
|
||||
@ -56,6 +39,13 @@
|
||||
#include "tuiSourceWin.h"
|
||||
#include "tui-file.h"
|
||||
|
||||
#ifdef HAVE_NCURSES_H
|
||||
#include <ncurses.h>
|
||||
#else
|
||||
#ifdef HAVE_CURSES_H
|
||||
#include <curses.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Get a printable name for the function at the address.
|
||||
The symbol name is demangled if demangling is turned on.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* TUI window generic functions.
|
||||
|
||||
Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
|
||||
Copyright 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
Contributed by Hewlett-Packard Company.
|
||||
@ -27,26 +27,6 @@
|
||||
|
||||
Author: Susan B. Macchia */
|
||||
|
||||
/* 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 <string.h>
|
||||
#include <ctype.h>
|
||||
#include <readline/readline.h>
|
||||
#include "defs.h"
|
||||
#include "command.h"
|
||||
#include "symtab.h"
|
||||
@ -66,6 +46,18 @@
|
||||
#include "tuiSourceWin.h"
|
||||
#include "tuiDataWin.h"
|
||||
|
||||
#ifdef HAVE_NCURSES_H
|
||||
#include <ncurses.h>
|
||||
#else
|
||||
#ifdef HAVE_CURSES_H
|
||||
#include <curses.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <readline/readline.h>
|
||||
|
||||
/*******************************
|
||||
** Static Local Decls
|
||||
********************************/
|
||||
|
Loading…
x
Reference in New Issue
Block a user