diff options
author | Michael Snyder <msnyder@vmware.com> | 2007-08-14 21:39:22 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2007-08-14 21:39:22 +0000 |
commit | ef5eab5a0fffb60f5e6f5554bcbec4759f684710 (patch) | |
tree | b673885933b2b997788c719375d1a7c486afdc0b /gdb/tui/tui-windata.c | |
parent | 1cc6d956c14542a182c11d5a5ee91d5a00a9af4a (diff) | |
download | gdb-ef5eab5a0fffb60f5e6f5554bcbec4759f684710.zip gdb-ef5eab5a0fffb60f5e6f5554bcbec4759f684710.tar.gz gdb-ef5eab5a0fffb60f5e6f5554bcbec4759f684710.tar.bz2 |
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-windata.c')
-rw-r--r-- | gdb/tui/tui-windata.c | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/gdb/tui/tui-windata.c b/gdb/tui/tui-windata.c index f5ffb4b..f51f2ce 100644 --- a/gdb/tui/tui-windata.c +++ b/gdb/tui/tui-windata.c @@ -72,14 +72,10 @@ tui_first_data_element_no_in_line (int line_no) { int first_element_no = (-1); - /* - ** First see if there is a register on line_no, and if so, set the - ** first element number. - */ + /* First see if there is a register on line_no, and if so, set the + first element number. */ if ((first_element_no = tui_first_reg_element_no_inline (line_no)) == -1) - { /* - ** Looking at the general data, the 1st element on line_no. - */ + { /* Looking at the general data, the 1st element on line_no. */ } return first_element_no; @@ -141,9 +137,8 @@ tui_display_all_data (void) tui_delete_data_content_windows (); tui_check_and_display_highlight_if_needed (TUI_DATA_WIN); tui_display_registers_from (0); - /* - ** Then display the other data. - */ + + /* Then display the other data. */ if (TUI_DATA_WIN->detail.data_display_info.data_content != (tui_win_content) NULL && TUI_DATA_WIN->detail.data_display_info.data_content_count > 0) @@ -177,21 +172,17 @@ tui_display_data_from_line (int line_no) /* Display regs if we can. */ if (tui_display_registers_from_line (_line_no, FALSE) < 0) - { /* - ** _line_no is past the regs display, so calc where the - ** start data element is. - */ + { /* _line_no is past the regs display, so calc where the + start data element is. */ if (regs_last_line < _line_no) - { /* Figure out how many lines each element is to obtain - the start element_no. */ + { /* Figure out how many lines each element is to obtain + the start element_no. */ } } else - { /* - ** Calculate the starting element of the data display, - ** given regs_last_line and how many lines each element - ** is, up to _line_no. - */ + { /* Calculate the starting element of the data display, given + regs_last_line and how many lines each element is, up to + _line_no. */ } /* Now display the data , starting at element_no. */ } |