diff options
author | Michael Snyder <msnyder@vmware.com> | 2007-08-14 20:23:29 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2007-08-14 20:23:29 +0000 |
commit | 5b6fe301a1769b1a5a062d8fbf17c89556c478e8 (patch) | |
tree | 85e8b0b42c7a382137185112e2b55a3a956eaba7 /gdb/tui/tui-source.c | |
parent | 64a1bf195752a461f0e44b853a1e2769d182de3b (diff) | |
download | gdb-5b6fe301a1769b1a5a062d8fbf17c89556c478e8.zip gdb-5b6fe301a1769b1a5a062d8fbf17c89556c478e8.tar.gz gdb-5b6fe301a1769b1a5a062d8fbf17c89556c478e8.tar.bz2 |
2007-08-14 Michael Snyder <msnyder@access-company.com>
* tui-data.c, tui-data.h, tui-disasm.c, tui-hooks.c, tui-layout.c,
tui-regs.c, tui-source.c, tui-stack.c, tui-win.c, tui-windata.c,
tui-wingeneral.c, tui-wingeneral.h, tui-winsource.c, tui.c,
tui-winsource.h: Whitespace changes, fix pointer declarations
to be consistant.
Diffstat (limited to 'gdb/tui/tui-source.c')
-rw-r--r-- | gdb/tui/tui-source.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/tui/tui-source.c b/gdb/tui/tui-source.c index 89f024e..44b4362 100644 --- a/gdb/tui/tui-source.c +++ b/gdb/tui/tui-source.c @@ -88,8 +88,8 @@ tui_set_source_content (struct symtab *s, int line_no, int noerror) else { int offset, cur_line_no, cur_line, cur_len, threshold; - struct tui_gen_win_info * locator = tui_locator_win_info_ptr (); - struct tui_source_info * src = &TUI_SRC_WIN->detail.source_info; + struct tui_gen_win_info *locator = tui_locator_win_info_ptr (); + struct tui_source_info *src = &TUI_SRC_WIN->detail.source_info; if (TUI_SRC_WIN->generic.title) xfree (TUI_SRC_WIN->generic.title); @@ -113,7 +113,7 @@ tui_set_source_content (struct symtab *s, int line_no, int noerror) (threshold + 1) * sizeof (char)); while (cur_line < nlines) { - struct tui_win_element * element = (struct tui_win_element *) + struct tui_win_element *element = (struct tui_win_element *) TUI_SRC_WIN->generic.content[cur_line]; /* get the first character in the line */ @@ -239,7 +239,7 @@ tui_set_source_content (struct symtab *s, int line_no, int noerror) source files cannot be accessed. */ void -tui_set_source_content_nil (struct tui_win_info * win_info, char *warning_string) +tui_set_source_content_nil (struct tui_win_info *win_info, char *warning_string) { int line_width; int n_lines; @@ -256,8 +256,8 @@ tui_set_source_content_nil (struct tui_win_info * win_info, char *warning_string to null: i.e. the line number is 0, there is no bp, it is not where the program is stopped */ - struct tui_win_element * element = - (struct tui_win_element *) win_info->generic.content[curr_line]; + struct tui_win_element *element = + (struct tui_win_element *) win_info->generic.content[curr_line]; element->which_element.source.line_or_addr.loa = LOA_LINE; element->which_element.source.line_or_addr.u.line_no = 0; element->which_element.source.is_exec_point = FALSE; |