summaryrefslogtreecommitdiff
path: root/gdb/tui/tui-stack.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-28 23:16:50 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-28 23:16:50 +0000
commitaedec37d9519c62874f5a729bd1f9418c8818bc9 (patch)
tree49287281f3f7b637eb594867cc8cfa650b8cf2cd /gdb/tui/tui-stack.c
parentde126551a205a3e59cf74ff58d8d132659baaca9 (diff)
downloadgdb-aedec37d9519c62874f5a729bd1f9418c8818bc9.tar.gz
2004-01-28 Andrew Cagney <cagney@redhat.com>
* tui/tui-stack.h: Update copyright. (struct frame_info): Add opaque declaration. (tui_update_locator_filename): Rename tuiUpdateLocatorFilename. (tui_show_locator_content): Rename tuiShowLocatorContent. (tui_show_frame_info): Rename tuiShowFrameInfo. * tui/tui-stack.c: Update copyright. Update references. * tui/tui-winsource.c: Update references. * tui/tui-win.c: Update references. * tui/tui-layout.c: Update references. * tui/tui-hooks.c: Update copyright, update references. * tui/tui.c: Update copyright, update references. * tui/tui-disasm.c: Update references.
Diffstat (limited to 'gdb/tui/tui-stack.c')
-rw-r--r--gdb/tui/tui-stack.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/gdb/tui/tui-stack.c b/gdb/tui/tui-stack.c
index 6bf64bb4b19..c7210a1f566 100644
--- a/gdb/tui/tui-stack.c
+++ b/gdb/tui/tui-stack.c
@@ -1,7 +1,7 @@
/* TUI display locator.
- 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.
@@ -244,11 +244,9 @@ tui_get_function_from_frame (struct frame_info *fi)
return name;
}
-/*
- ** tuiShowLocatorContent()
- */
+/* tuiShowLocatorContent(). */
void
-tuiShowLocatorContent (void)
+tui_show_locator_content (void)
{
char *string;
TuiGenWinInfoPtr locator;
@@ -318,15 +316,15 @@ tui_set_locator_info (const char *filename, const char *procname, int lineno,
/* Update only the filename portion of the locator. */
void
-tuiUpdateLocatorFilename (const char *filename)
+tui_update_locator_filename (const char *filename)
{
tui_set_locator_filename (filename);
- tuiShowLocatorContent ();
+ tui_show_locator_content ();
}
/* Function to print the frame information for the TUI. */
void
-tuiShowFrameInfo (struct frame_info *fi)
+tui_show_frame_info (struct frame_info *fi)
{
TuiWinInfoPtr winInfo;
register int i;
@@ -347,7 +345,7 @@ tuiShowFrameInfo (struct frame_info *fi)
tui_get_function_from_frame (fi),
sal.line,
get_frame_pc (fi));
- tuiShowLocatorContent ();
+ tui_show_locator_content ();
startLine = 0;
for (i = 0; i < (sourceWindows ())->count; i++)
{
@@ -405,7 +403,7 @@ tuiShowFrameInfo (struct frame_info *fi)
else
{
tui_set_locator_info (NULL, NULL, 0, (CORE_ADDR) 0);
- tuiShowLocatorContent ();
+ tui_show_locator_content ();
for (i = 0; i < (sourceWindows ())->count; i++)
{
winInfo = (TuiWinInfoPtr) (sourceWindows ())->list[i];