diff options
author | Michael Snyder <msnyder@specifix.com> | 2007-08-14 21:39:22 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2007-08-14 21:39:22 +0000 |
commit | 57eee90d0d17022d960c3654cf10f0e0505dd015 (patch) | |
tree | 087d8b84de15370417028e6fe6f19f6da87b9088 /gdb/tui/tui-regs.c | |
parent | 5be7e8313f1dd81c2ff8b0c5fb1493b940745de9 (diff) | |
download | gdb-57eee90d0d17022d960c3654cf10f0e0505dd015.tar.gz |
2007-08-14 Michael Snyder <msnyder@access-company.com>
* tui-command.c, tui-data.c, tui-disasm.c, tui-layout.c,
tui-regs.c, tui-win.c, tui-windata.c, tui-winsource.c, tui.c:
Reformat block comments to GNU standard.
Diffstat (limited to 'gdb/tui/tui-regs.c')
-rw-r--r-- | gdb/tui/tui-regs.c | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c index e7056c3e71b..00ef3c1ee1d 100644 --- a/gdb/tui/tui-regs.c +++ b/gdb/tui/tui-regs.c @@ -354,10 +354,8 @@ tui_display_registers_from (int start_element_no) item_win_width = (TUI_DATA_WIN->generic.width - 2) / display_info->regs_column_count; - /* - ** Now create each data "sub" window, and write the display - ** into it. - */ + /* Now create each data "sub" window, and write the display into + it. */ cur_y = 1; while (i < display_info->regs_content_count && cur_y <= TUI_DATA_WIN->generic.viewport_height) @@ -426,12 +424,11 @@ tui_display_reg_element_at_line (int start_element_no, int start_line_no) first_line_on_last_page = last_line_no - (TUI_DATA_WIN->generic.height - 2); if (first_line_on_last_page < 0) first_line_on_last_page = 0; - /* - ** If there is no other data displayed except registers, - ** and the element_no causes us to scroll past the end of - ** the registers, adjust what element to really start the - ** display at. - */ + + /* If there is no other data displayed except registers, and + the element_no causes us to scroll past the end of the + registers, adjust what element to really start the + display at. */ if (TUI_DATA_WIN->detail.data_display_info.data_content_count <= 0 && start_line_no > first_line_on_last_page) element_no = tui_first_reg_element_no_inline (first_line_on_last_page); @@ -455,10 +452,9 @@ tui_display_registers_from_line (int line_no, int force_display) if (line_no < 0) line = 0; else if (force_display) - { /* - ** If we must display regs (force_display is true), then make - ** sure that we don't display off the end of the registers. - */ + { /* If we must display regs (force_display is true), then + make sure that we don't display off the end of the + registers. */ if (line_no >= tui_last_regs_line_no ()) { if ((line = tui_line_from_reg_element_no ( |