* tuiStack.c (tuiSetLocatorInfo): Cleanup.
* tuiStack.h (tuiGetLocatorFilename): Declare. * tuiRegs.h (tuiFirstRegElementNoInLine): Declare. * tuiData.h (addToSourceWindows): Declare.
This commit is contained in:
parent
377c38eacc
commit
c7c228ed4b
|
@ -1,3 +1,10 @@
|
||||||
|
2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
|
||||||
|
|
||||||
|
* tuiStack.c (tuiSetLocatorInfo): Cleanup.
|
||||||
|
* tuiStack.h (tuiGetLocatorFilename): Declare.
|
||||||
|
* tuiRegs.h (tuiFirstRegElementNoInLine): Declare.
|
||||||
|
* tuiData.h (addToSourceWindows): Declare.
|
||||||
|
|
||||||
2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
|
2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
|
||||||
|
|
||||||
* tui.c (tui_change_windows): New function.
|
* tui.c (tui_change_windows): New function.
|
||||||
|
|
|
@ -367,4 +367,6 @@ extern void tuiSetWinResizedTo (int);
|
||||||
extern TuiWinInfoPtr tuiNextWin (TuiWinInfoPtr);
|
extern TuiWinInfoPtr tuiNextWin (TuiWinInfoPtr);
|
||||||
extern TuiWinInfoPtr tuiPrevWin (TuiWinInfoPtr);
|
extern TuiWinInfoPtr tuiPrevWin (TuiWinInfoPtr);
|
||||||
|
|
||||||
|
extern void addToSourceWindows (TuiWinInfoPtr winInfo);
|
||||||
|
|
||||||
#endif /* TUI_DATA_H */
|
#endif /* TUI_DATA_H */
|
||||||
|
|
|
@ -41,7 +41,7 @@ extern int tuiLastRegElementInLine (int);
|
||||||
extern int tuiLineFromRegElementNo (int);
|
extern int tuiLineFromRegElementNo (int);
|
||||||
extern void tuiToggleFloatRegs (void);
|
extern void tuiToggleFloatRegs (void);
|
||||||
extern int tuiCalculateRegsColumnCount (TuiRegisterDisplayType);
|
extern int tuiCalculateRegsColumnCount (TuiRegisterDisplayType);
|
||||||
|
extern int tuiFirstRegElementNoInLine (int lineno);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
/*_TUI_REGS_H*/
|
/*_TUI_REGS_H*/
|
||||||
|
|
|
@ -107,40 +107,18 @@ tuiShowLocatorContent (void)
|
||||||
} /* tuiShowLocatorContent */
|
} /* tuiShowLocatorContent */
|
||||||
|
|
||||||
|
|
||||||
/*
|
/* Update the locator, with the provided arguments. */
|
||||||
** tuiSetLocatorInfo().
|
|
||||||
** Function to update the locator, with the provided arguments.
|
|
||||||
*/
|
|
||||||
void
|
void
|
||||||
tuiSetLocatorInfo (char *fname, char *procname, int lineNo,
|
tuiSetLocatorInfo (char *fname, char *procname, int lineNo,
|
||||||
CORE_ADDR addr, TuiLocatorElementPtr element)
|
CORE_ADDR addr, TuiLocatorElementPtr element)
|
||||||
{
|
{
|
||||||
#ifdef COMMENT
|
|
||||||
/* first free the old info */
|
|
||||||
if (element->fileName)
|
|
||||||
tuiFree (element->fileName);
|
|
||||||
if (element->procName)
|
|
||||||
tuiFree (element->procName);
|
|
||||||
|
|
||||||
if (fname == (char *) NULL)
|
|
||||||
element->fileName = fname;
|
|
||||||
else
|
|
||||||
element->fileName = tuiStrDup (fname);
|
|
||||||
if (procname == (char *) NULL)
|
|
||||||
element->procName = procname;
|
|
||||||
else
|
|
||||||
element->procName = tuiStrDup (procname);
|
|
||||||
#else
|
|
||||||
element->fileName[0] = (char) 0;
|
element->fileName[0] = (char) 0;
|
||||||
element->procName[0] = (char) 0;
|
element->procName[0] = (char) 0;
|
||||||
strcat_to_buf (element->fileName, MAX_LOCATOR_ELEMENT_LEN, fname);
|
strcat_to_buf (element->fileName, MAX_LOCATOR_ELEMENT_LEN, fname);
|
||||||
strcat_to_buf (element->procName, MAX_LOCATOR_ELEMENT_LEN, procname);
|
strcat_to_buf (element->procName, MAX_LOCATOR_ELEMENT_LEN, procname);
|
||||||
#endif
|
|
||||||
element->lineNo = lineNo;
|
element->lineNo = lineNo;
|
||||||
element->addr = addr;
|
element->addr = addr;
|
||||||
|
}
|
||||||
return;
|
|
||||||
} /* tuiSetLocatorInfo */
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -34,6 +34,7 @@ extern void tuiUpdateLocatorDisplay (struct frame_info *);
|
||||||
extern void tuiSetLocatorContent (struct frame_info *);
|
extern void tuiSetLocatorContent (struct frame_info *);
|
||||||
extern void tuiShowLocatorContent (void);
|
extern void tuiShowLocatorContent (void);
|
||||||
extern void tuiClearLocatorContent (void);
|
extern void tuiClearLocatorContent (void);
|
||||||
|
extern void tuiClearLocatorDisplay (void);
|
||||||
extern void tuiSwitchFilename (char *);
|
extern void tuiSwitchFilename (char *);
|
||||||
extern void tuiShowFrameInfo (struct frame_info *);
|
extern void tuiShowFrameInfo (struct frame_info *);
|
||||||
extern void tuiGetLocatorFilename (TuiGenWinInfoPtr, char **);
|
extern void tuiGetLocatorFilename (TuiGenWinInfoPtr, char **);
|
||||||
|
|
Loading…
Reference in New Issue