aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-windata.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-19 16:06:04 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-19 16:06:04 +0000
commit55fb0713929955357385810a187987d919cb9608 (patch)
treeebc87a1fe12175aa9791b5011e69a6717b502ab0 /gdb/tui/tui-windata.c
parentbcdf15685fdb5cd64dc3026cb0f1ed7fa2e66cbe (diff)
downloadgdb-55fb0713929955357385810a187987d919cb9608.zip
gdb-55fb0713929955357385810a187987d919cb9608.tar.gz
gdb-55fb0713929955357385810a187987d919cb9608.tar.bz2
2004-01-19 Andrew Cagney <cagney@redhat.com>
* tui/tui-regs.h: Include "tui-data.h". (tuiFirstRegElementNoInLine): Delete declaration. (tui_display_registers_from): Rename tuiDisplayRegistersFrom. (tui_last_regs_line_no): Rename tuiLastRegsLineNo. (tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo. (tui_calculate_regs_column_count): Rename tuiCalculateRegsColumnCount. (tui_check_register_values): Rename tuiCheckRegisterValues. (tui_show_registers): Rename tuiShowRegisters. (tui_display_registers_from_line): Rename tuiDisplayRegistersFromLine. (tui_first_reg_element_inline): Rename tuiFirstRegElementInLine. (tui_toggle_float_regs): Rename tuiToggleFloatRegs. (tui_first_reg_element_no_inline): Rename tuiFirstRegElementNoInLine. * tui/tui-data.h: Update copyright. (enum tui_register_display_type): Rename _TuiRegisterDisplayType. * tui/tui-windata.c: Update copyright, update references. * tui/tui-regs.c: Update copyright, update references. * tui/tui-win.c: Update copyright, update references. * tui/tui-layout.c: Update copyright, update references.
Diffstat (limited to 'gdb/tui/tui-windata.c')
-rw-r--r--gdb/tui/tui-windata.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/gdb/tui/tui-windata.c b/gdb/tui/tui-windata.c
index b01acce..f504f7f 100644
--- a/gdb/tui/tui-windata.c
+++ b/gdb/tui/tui-windata.c
@@ -1,7 +1,7 @@
/* Data/register window display.
- Copyright 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation,
- Inc.
+ Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
+ Foundation, Inc.
Contributed by Hewlett-Packard Company.
@@ -87,7 +87,7 @@ tuiFirstDataElementNoInLine (int lineNo)
** First see if there is a register on lineNo, and if so, set the
** first element number
*/
- if ((firstElementNo = tuiFirstRegElementNoInLine (lineNo)) == -1)
+ if ((firstElementNo = tui_first_reg_element_no_inline (lineNo)) == -1)
{ /*
** Looking at the general data, the 1st element on lineNo
*/
@@ -161,7 +161,7 @@ tuiDisplayAllData (void)
tuiEraseDataContent ((char *) NULL);
tuiDeleteDataContentWindows ();
checkAndDisplayHighlightIfNeeded (dataWin);
- tuiDisplayRegistersFrom (0);
+ tui_display_registers_from (0);
/*
** Then display the other data
*/
@@ -192,15 +192,15 @@ tuiDisplayDataFromLine (int lineNo)
/* there is no general data, force regs to display (if there are any) */
if (dataWin->detail.dataDisplayInfo.dataContentCount <= 0)
- tuiDisplayRegistersFromLine (_lineNo, TRUE);
+ tui_display_registers_from_line (_lineNo, TRUE);
else
{
int elementNo, startLineNo;
- int regsLastLine = tuiLastRegsLineNo ();
+ int regsLastLine = tui_last_regs_line_no ();
/* display regs if we can */
- if (tuiDisplayRegistersFromLine (_lineNo, FALSE) < 0)
+ if (tui_display_registers_from_line (_lineNo, FALSE) < 0)
{ /*
** _lineNo is past the regs display, so calc where the
** start data element is
@@ -234,7 +234,7 @@ tuiDisplayDataFrom (int elementNo, int reuseWindows)
int firstLine = (-1);
if (elementNo < dataWin->detail.dataDisplayInfo.regsContentCount)
- firstLine = tuiLineFromRegElementNo (elementNo);
+ firstLine = tui_line_from_reg_element_no (elementNo);
else
{ /* calculate the firstLine from the element number */
}
@@ -278,7 +278,7 @@ tuiRefreshDataWin (void)
void
tuiCheckDataValues (struct frame_info *frame)
{
- tuiCheckRegisterValues (frame);
+ tui_check_register_values (frame);
/* Now check any other data values that there are */
if (m_winPtrNotNull (dataWin) && dataWin->generic.isVisible)
@@ -320,7 +320,7 @@ tuiVerticalDataScroll (TuiScrollDirection scrollDirection, int numToScroll)
firstElementNo = tuiFirstDataItemDisplayed ();
if (firstElementNo < dataWin->detail.dataDisplayInfo.regsContentCount)
- firstLine = tuiLineFromRegElementNo (firstElementNo);
+ firstLine = tui_line_from_reg_element_no (firstElementNo);
else
{ /* calculate the first line from the element number which is in
** the general data content