OSDN Git Service

* library/memwin.itb (incr_addr): Fix typo.
authorkseitz <kseitz>
Tue, 18 Dec 2001 21:35:55 +0000 (21:35 +0000)
committerkseitz <kseitz>
Tue, 18 Dec 2001 21:35:55 +0000 (21:35 +0000)
gdb/gdbtk/ChangeLog
gdb/gdbtk/library/memwin.itb

index 5cf2913..d7d4c8d 100644 (file)
@@ -1,3 +1,7 @@
+2001-12-18  Keith Seitz  <keiths@redhat.com>
+
+       * library/memwin.itb (incr_addr): Fix typo.
+
 2001-12-16  Andrew Cagney  <ac131313@redhat.com>
 
        * generic/gdbtk-cmds.c (hex2bin): Replace LITTLE_ENDIAN with
index e5d58cb..e8e54e6 100644 (file)
@@ -269,7 +269,7 @@ body MemWin::edit { cell } {
 
   if {$col == $Numcols} { 
     # editing the ASCII field
-    set addr [gdb_incr_addr $current_addr [expr {$bytes_per_row * $row}]]
+    set addr [gdb_incr_addr $current_addr [expr {$bytes_per_row * $row}]]
     set start_addr $addr
 
     # calculate number of rows to modify
@@ -543,7 +543,7 @@ body MemWin::incr_addr {num} {
     return
   }
   set old_addr $current_addr
-  set current_addr [gdb_incr_addr $current_addr [expr {$bytes_per_row * $num}]]
+  set current_addr [gdb_incr_addr $current_addr [expr {$bytes_per_row * $num}]]
 
   # A memory address less than zero is probably not a good thing...
   #