diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2001-07-20 23:06:48 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2001-07-20 23:06:48 +0000 |
commit | a4b99e53449d48e54a827a7bd4af282caaed0150 (patch) | |
tree | c8a98789c28683a48872862fc923552a27aff423 /gdb/tui/tuiSourceWin.h | |
parent | 19eb139b7243abc4b725c1836ac3810b274e2637 (diff) | |
download | gdb-a4b99e53449d48e54a827a7bd4af282caaed0150.zip gdb-a4b99e53449d48e54a827a7bd4af282caaed0150.tar.gz gdb-a4b99e53449d48e54a827a7bd4af282caaed0150.tar.bz2 |
* tuiWin.c (_parseScrollingArgs): Fix uninitialized variable.
(_makeVisibleWithNewHeight): Use TuiLineOrAddress type.
* tuiStack.c (tuiShowFrameInfo): Use TuiLineOrAddress type.
(tui_vUpdateLocatorFilename): Remove.
* tuiStack.h: Update prototypes.
* tuiSourceWin.c (tuiAddrIsDisplayed): New function.
(tuiLineIsDisplayed): Split for address and line.
(tuiUpdateSourceWindow): Use TuiLineOrAddress type.
(tuiUpdateSourceWindowAsIs): Likewise.
(tuiUpdateSourceWindowsWithAddr): Likewise.
(tuiUpdateSourceWindowsWithLine): Likewise.
(tuiHorizontalSourceScroll): Likewise.
(tuiSetIsExecPointAt): Likewise.
(tuiUpdateOnEnd): Likewise.
* tuiSourceWin.h: Update prototypes.
* tuiSource.c (tuiVerticalSourceScroll): Use TuiLineOrAddress type.
(tuiShowSource): Likewise.
(tuiVerticalSourceScroll): Likewise.
* tuiSource.h (tuiShowSource): Update prototype.
* tuiDisassem.c (tuiSetDisassemContent): Use CORE_ADDR for address.
(tuiShowDisassem): Use TuiLineOrAddress type.
(tuiShowDisassemAndUpdateSource): Likewise.
(tuiVerticalDisassemScroll): Likewise.
(tuiShowDisassemAsIs): Remove.
* tuiDisassem.h (tuiSetDisassemContent): Update prototype.
* tuiData.c (initWinInfo): Use CORE_ADDR for address.
(clearWinDetail): Likewise.
(displayableWinContentOf): Fix address conversion.
(tuiNextWin): Fix crash when the window is not yet created.
(partialWinByName): Likewise.
Diffstat (limited to 'gdb/tui/tuiSourceWin.h')
-rw-r--r-- | gdb/tui/tuiSourceWin.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/tui/tuiSourceWin.h b/gdb/tui/tuiSourceWin.h index ffde656..ced01f7 100644 --- a/gdb/tui/tuiSourceWin.h +++ b/gdb/tui/tuiSourceWin.h @@ -23,9 +23,9 @@ #define _TUI_SOURCEWIN_H extern void tuiDisplayMainFunction (void); -extern void tuiUpdateSourceWindow (TuiWinInfoPtr, struct symtab *, Opaque, +extern void tuiUpdateSourceWindow (TuiWinInfoPtr, struct symtab *, TuiLineOrAddress, int); -extern void tuiUpdateSourceWindowAsIs (TuiWinInfoPtr, struct symtab *, Opaque, +extern void tuiUpdateSourceWindowAsIs (TuiWinInfoPtr, struct symtab *, TuiLineOrAddress, int); extern void tuiUpdateSourceWindowsWithAddr (CORE_ADDR); extern void tuiUpdateSourceWindowsWithLine (struct symtab *, int); @@ -51,11 +51,12 @@ extern void tuiClearAllExecInfosContent (void); extern void tuiUpdateExecInfo (TuiWinInfoPtr); extern void tuiUpdateAllExecInfos (void); -extern void tuiSetIsExecPointAt (Opaque, TuiWinInfoPtr); +extern void tuiSetIsExecPointAt (TuiLineOrAddress, TuiWinInfoPtr); extern void tuiSetHasBreakAt (struct breakpoint *, TuiWinInfoPtr, int); extern void tuiAllSetHasBreakAt (struct breakpoint *, int); extern TuiStatus tuiAllocSourceBuffer (TuiWinInfoPtr); -extern int tuiLineIsDisplayed (Opaque, TuiWinInfoPtr, int); +extern int tuiLineIsDisplayed (int, TuiWinInfoPtr, int); +extern int tuiAddrIsDisplayed (CORE_ADDR, TuiWinInfoPtr, int); /* |