aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-data.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2007-08-14 21:39:22 +0000
committerMichael Snyder <msnyder@vmware.com>2007-08-14 21:39:22 +0000
commitef5eab5a0fffb60f5e6f5554bcbec4759f684710 (patch)
treeb673885933b2b997788c719375d1a7c486afdc0b /gdb/tui/tui-data.c
parent1cc6d956c14542a182c11d5a5ee91d5a00a9af4a (diff)
downloadgdb-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-data.c')
-rw-r--r--gdb/tui/tui-data.c30
1 files changed, 11 insertions, 19 deletions
diff --git a/gdb/tui/tui-data.c b/gdb/tui/tui-data.c
index 8da696c..9f4344d 100644
--- a/gdb/tui/tui-data.c
+++ b/gdb/tui/tui-data.c
@@ -474,8 +474,7 @@ tui_init_generic_part (struct tui_gen_win_info *win)
}
-/*
- ** init_content_element().
+/* init_content_element().
*/
void
init_content_element (struct tui_win_element *element, enum tui_win_type type)
@@ -814,11 +813,9 @@ tui_del_data_windows (tui_win_content content, int content_size)
{
int i;
- /*
- ** Remember that data window content elements are of type
- ** struct tui_gen_win_info *, each of which whose single
- ** element is a data element.
- */
+ /* Remember that data window content elements are of type struct
+ tui_gen_win_info *, each of which whose single element is a data
+ element. */
for (i = 0; i < content_size; i++)
{
struct tui_gen_win_info *generic_win = &content[i]->which_element.data_window;
@@ -838,11 +835,9 @@ tui_free_data_content (tui_win_content content, int content_size)
{
int i;
- /*
- ** Remember that data window content elements are of type
- ** struct tui_gen_win_info *, each of which whose single
- ** element is a data element.
- */
+ /* Remember that data window content elements are of type struct
+ tui_gen_win_info *, each of which whose single element is a data
+ element. */
for (i = 0; i < content_size; i++)
{
struct tui_gen_win_info *generic_win = &content[i]->which_element.data_window;
@@ -876,8 +871,7 @@ free_content (tui_win_content content, int content_size, enum tui_win_type win_t
}
-/*
- ** free_content_elements().
+/* free_content_elements().
*/
static void
free_content_elements (tui_win_content content, int content_size, enum tui_win_type type)
@@ -906,11 +900,9 @@ free_content_elements (tui_win_content content, int content_size, enum tui_win_t
xfree (element);
break;
case DATA_ITEM_WIN:
- /*
- ** Note that data elements are not allocated
- ** in a single block, but individually, as
- ** needed.
- */
+ /* Note that data elements are not allocated in
+ a single block, but individually, as
+ needed. */
if (element->which_element.data.type != TUI_REGISTER)
xfree ((void *)element->which_element.data.name);
xfree (element->which_element.data.value);