aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-source.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2007-08-14 23:50:39 +0000
committerMichael Snyder <msnyder@vmware.com>2007-08-14 23:50:39 +0000
commit08ef48c5ac7d25a662e76e421b5bdd6887dfc8ff (patch)
treecde927decf58e6699819eb228b206f57403daaf0 /gdb/tui/tui-source.c
parentef5eab5a0fffb60f5e6f5554bcbec4759f684710 (diff)
downloadgdb-08ef48c5ac7d25a662e76e421b5bdd6887dfc8ff.zip
gdb-08ef48c5ac7d25a662e76e421b5bdd6887dfc8ff.tar.gz
gdb-08ef48c5ac7d25a662e76e421b5bdd6887dfc8ff.tar.bz2
2007-08-14 Michael Snyder <msnyder@access-company.com>
* tui-data.c, tui-data.h, tui-disasm.c, tui-disasm.h, tui-hooks.c, tui-io.c, tui-layout.c, tui-layout.h, tui-out.c, tui-regs.c, tui-source.c, tui-source.h, tui-stack.c, tui-win.c, tui-win.h, tui-windata.c, tui-windata.h, tui-wingeneral.c, tui-winsource.c, tui-winsource.h, tui.c, tui.h: Function declarations and definitions, wrap long lines.
Diffstat (limited to 'gdb/tui/tui-source.c')
-rw-r--r--gdb/tui/tui-source.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/gdb/tui/tui-source.c b/gdb/tui/tui-source.c
index 09886fd..0ea54a1 100644
--- a/gdb/tui/tui-source.c
+++ b/gdb/tui/tui-source.c
@@ -41,7 +41,9 @@
/* Function to display source in the source window. */
enum tui_status
-tui_set_source_content (struct symtab *s, int line_no, int noerror)
+tui_set_source_content (struct symtab *s,
+ int line_no,
+ int noerror)
{
enum tui_status ret = TUI_FAILURE;
@@ -240,7 +242,8 @@ 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;
@@ -309,7 +312,9 @@ tui_set_source_content_nil (struct tui_win_info *win_info, char *warning_string)
/* Function to display source in the source window. This function
initializes the horizontal scroll to 0. */
void
-tui_show_symtab_source (struct symtab *s, struct tui_line_or_address line, int noerror)
+tui_show_symtab_source (struct symtab *s,
+ struct tui_line_or_address line,
+ int noerror)
{
TUI_SRC_WIN->detail.source_info.horizontal_offset = 0;
tui_update_source_window_as_is (TUI_SRC_WIN, s, line, noerror);