aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tuiData.h
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2002-08-25 11:00:46 +0000
committerStephane Carrez <stcarrez@nerim.fr>2002-08-25 11:00:46 +0000
commitbc6b7f04caef65ba22b9afb4110b2515deb9ba32 (patch)
tree74e35667301c6d5891bc4c96011c54d4c0d01fc2 /gdb/tui/tuiData.h
parentd059f789de8c289a9cded3e825abb3c53c7d239e (diff)
downloadgdb-bc6b7f04caef65ba22b9afb4110b2515deb9ba32.zip
gdb-bc6b7f04caef65ba22b9afb4110b2515deb9ba32.tar.gz
gdb-bc6b7f04caef65ba22b9afb4110b2515deb9ba32.tar.bz2
* tuiSourceWin.c (tuiSetHasBreakAt): Use filename for breakpoint
comparison; cleanup. * tuiSource.c (tuiSetSourceContent): Set window title and filename. * tuiGeneralWin.c (boxWin): Print optional title on top of window. * tuiData.h (TuiSourceInfo): Add filename member. (TuiGenWinInfo): Add title member. * tuiData.c (initGenericPart): Clear title. (freeWindow): Free title and filename; remove unused locals. (initWinInfo): Clear filename. (tuiDelWindow): Free it; remove unused locals.
Diffstat (limited to 'gdb/tui/tuiData.h')
-rw-r--r--gdb/tui/tuiData.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/tui/tuiData.h b/gdb/tui/tuiData.h
index 89779b4..36d7853 100644
--- a/gdb/tui/tuiData.h
+++ b/gdb/tui/tuiData.h
@@ -1,5 +1,5 @@
/* TUI data manipulation routines.
- 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.
@@ -42,6 +42,7 @@
int viewportHeight; /* viewport height */
int lastVisibleLine; /* index of last visible line */
int isVisible; /* whether the window is visible or not */
+ char* title; /* Window title to display. */
}
TuiGenWinInfo, *TuiGenWinInfoPtr;
@@ -244,6 +245,7 @@ typedef struct _TuiSourceInfo
TuiGenWinInfoPtr executionInfo; /* execution information window */
int horizontalOffset; /* used for horizontal scroll */
TuiLineOrAddress startLineOrAddr;
+ char* filename;
}
TuiSourceInfo, *TuiSourceInfoPtr;