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-disasm.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-disasm.c')
-rw-r--r-- | gdb/tui/tui-disasm.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/gdb/tui/tui-disasm.c b/gdb/tui/tui-disasm.c index 42975b8..8b5e17c 100644 --- a/gdb/tui/tui-disasm.c +++ b/gdb/tui/tui-disasm.c @@ -279,10 +279,9 @@ tui_show_disassem (CORE_ADDR start_addr) val.u.addr = start_addr; tui_add_win_to_layout (DISASSEM_WIN); tui_update_source_window (TUI_DISASM_WIN, s, val, FALSE); - /* - ** If the focus was in the src win, put it in the asm win, if - ** the source view isn't split. - */ + + /* If the focus was in the src win, put it in the asm win, if the + source view isn't split. */ if (tui_current_layout () != SRC_DISASSEM_COMMAND && win_with_focus == TUI_SRC_WIN) tui_set_win_focus_to (TUI_DISASM_WIN); @@ -301,11 +300,9 @@ tui_show_disassem_and_update_source (CORE_ADDR start_addr) { struct tui_line_or_address val; - /* - ** Update what is in the source window if it is displayed too, - ** note that it follows what is in the disassembly window and - ** visa-versa. - */ + /* Update what is in the source window if it is displayed too, + note that it follows what is in the disassembly window and + visa-versa. */ sal = find_pc_line (start_addr, 0); val.loa = LOA_LINE; val.u.line_no = sal.line; |