aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui-stack.c')
-rw-r--r--gdb/tui/tui-stack.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/tui/tui-stack.c b/gdb/tui/tui-stack.c
index 7183bc2..601e2fd 100644
--- a/gdb/tui/tui-stack.c
+++ b/gdb/tui/tui-stack.c
@@ -244,7 +244,6 @@ tui_get_function_from_frame (struct frame_info *fi)
return name;
}
-/* tuiShowLocatorContent(). */
void
tui_show_locator_content (void)
{
@@ -334,12 +333,12 @@ tui_show_frame_info (struct frame_info *fi)
register int start_line, i;
CORE_ADDR low;
struct tui_gen_win_info * locator = tui_locator_win_info_ptr ();
- int sourceAlreadyDisplayed;
+ int source_already_displayed;
struct symtab_and_line sal;
find_frame_sal (fi, &sal);
- sourceAlreadyDisplayed = sal.symtab != 0
+ source_already_displayed = sal.symtab != 0
&& tui_source_is_displayed (sal.symtab->filename);
tui_set_locator_info (sal.symtab == 0 ? "??" : sal.symtab->filename,
tui_get_function_from_frame (fi),
@@ -373,7 +372,7 @@ tui_show_frame_info (struct frame_info *fi)
{
union tui_line_or_address l;
l.line_no = start_line;
- if (!(sourceAlreadyDisplayed
+ if (!(source_already_displayed
&& tui_line_is_displayed (item->locator.line_no, win_info, TRUE)))
tui_update_source_window (win_info, sal.symtab, l, TRUE);
else
@@ -413,9 +412,10 @@ tui_show_frame_info (struct frame_info *fi)
}
}
-/* Function to initialize gdb commands, for tui window stack manipulation. */
+/* Function to initialize gdb commands, for tui window stack
+ manipulation. */
void
-_initialize_tuiStack (void)
+_initialize_tui_stack (void)
{
add_com ("update", class_tui, tui_update_command,
"Update the source window and locator to display the current "