diff options
Diffstat (limited to 'gdb/gdbtk.tcl')
-rw-r--r-- | gdb/gdbtk.tcl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/gdbtk.tcl b/gdb/gdbtk.tcl index 82610d7..8e88005 100644 --- a/gdb/gdbtk.tcl +++ b/gdb/gdbtk.tcl @@ -1452,6 +1452,7 @@ proc update_assembly {linespec} { -after .asm.scroll .asm.scroll configure -command "$win yview" set line [pc_to_line $pclist($cfunc) $pc] + update $win yview [expr $line - $asm_screen_height / 2] } |