[PATCH]: Add filename title in TUI source window

Stephane Carrez stcarrez@nerim.fr
Sun Aug 25 06:15:00 GMT 2002


Hi!

This patch adds a title to the TUI to display the complete file name on
top of the window (within the border).  The file name was also truncated
when it was saved and this resulted in invalid breakpoint marking on the window.

I've committed this patch on mainline.

	Stephane

2002-08-25  Stephane Carrez  <stcarrez@nerim.fr>

	* 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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tui-title.diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20020825/5b509802/attachment.ksh>


More information about the Gdb-patches mailing list